38 vector < unsigned int >
shape ( 3 );
61 double x = x_range.
low () + 0.5 * dx;
64 double y_low = y_range.
low () + 0.5 * dy;
66 vector < double > coord ( 2 );
72 for (
unsigned int i = 0; i <
m_steps; i++, x += dx ) {
75 for (
unsigned int j = 0; j <
m_steps; j++, y += dy ) {
77 double value =
function -> operator() ( coord );
NTuple * m_ntuple
The table of function values from which to build the contours.
ContourFunctionRep class interface.
The class derived from the BinToColor class.
double length() const
Returns the length of the range object.
error on X or half bin width
A PointRep class that draws a contour lines.
virtual void setValueTransform(BinToColor *)
Sets the value transform.
hippodraw::FunctionBase class interface
hippodraw::DataPointTuple namespace interface
ContourFunctionRep()
The default constructor.
A transform that transforms coordinates from one coordinate system to another.
A DataSource class implemented with std::vector to store the column data. ...
double low() const
Returns the minimum of the range object.
hippodraw::NTuple class interface.
BinToBlack class interface.
~ContourFunctionRep()
The destructor.
void drawProjectedValues(const Range &x_range, const Range &y_range, const FunctionBase *function, TransformBase *transform, ViewBase *view)
Draws a two dimension; function as contour lines.
A namespace to set the standard for indexing into 3 dimension data point tuple.
unsigned int m_steps
The number of steps taken to calculate function values.
A function that can be added to a DataRep and used in a fitter.
std::vector< intptr_t > shape(numeric::array arr)
virtual void drawProjectedValues(const DataSource *ntuple, TransformBase *transform, ViewBase *view)
Draws the projected values.
Expresses a range of values.
A namespace to set the standard for indexing into 2 dimension data point tuple.
The abstract base class for views.