14 #include "msdevstudio/MSconfig.h"
43 #ifdef ITERATOR_MEMBER_DEFECT
63 m_fits_transform ( 0 ),
64 m_datarep_index ( -1 ),
65 m_has_autoscaled ( false ),
66 m_show_grid ( false ),
81 : m_x_label( plotter.m_x_label ),
82 m_y_label( plotter.m_y_label ),
83 m_z_label( plotter.m_z_label ),
84 m_datarep_index ( plotter.m_datarep_index ),
85 m_has_autoscaled ( plotter.m_has_autoscaled ),
86 m_show_grid ( plotter.m_show_grid ),
87 m_box_edge ( plotter.m_box_edge),
88 m_has_z ( plotter.m_has_z ),
89 m_reverse ( plotter.m_reverse )
108 const vector < DataRep * > & datareps = plotter.
m_datareps;
109 vector< DataRep * >::const_iterator first = datareps.begin ();
111 for ( ; first != datareps.end (); ++first ) {
127 vector < DataRep * > :: iterator first =
m_datareps.begin();
150 if ( rep == 0 )
return false;
159 for (
unsigned int i = 0; i <
m_datareps.size () ; i++ )
174 vector< DataRep * >::iterator it =
m_datareps.begin();
177 bool yes = index == -1;
179 (*it)->setSelected ( yes );
186 for (
int i = 0; it !=
m_datareps.end(); ++it, ++i ) {
191 projector -> checkScaling ();
210 vector < DataRep * > :: iterator first
266 int i =
static_cast< int >(
m_datareps.size() );
274 if ( index < 0 )
return 0;
324 vector < DataRep * >::iterator it
340 vector < DataRep * >::iterator first =
m_datareps.begin ();
341 for ( ; first !=
m_datareps.end (); ++first ) {
357 bool all_empty =
true;
358 vector< DataRep * >::iterator it =
m_datareps.begin();
367 if ( all_empty ==
true )
return;
430 vector< DataRep * >::iterator it =
m_datareps.begin();
445 double pos = cur_range.
pos();
446 range.setPos ( pos );
447 m_z_axis -> setIntersectRange ( cur_range, range );
459 double step=pow(cur_range.
high()/cur_range.
pos(), 0.05);
460 double low = cur_range.
pos()/step;
468 vector < DataRep * >:: const_iterator first =
m_datareps.begin();
469 for ( ; first !=
m_datareps.end(); ++ first ) {
470 yes |= (*first)->isDirty();
482 for (
unsigned int i = 0; i <
size; i++ ) {
484 if ( rep -> hasCut () ) {
491 for (
unsigned int i = 0; i <
size; i++ ) {
493 if ( rep -> hasCut () ==
false ) {
509 vector< DataRep * >::iterator it =
m_datareps.begin();
512 if ( *it != active_datarep ) {
518 active_datarep->drawProjectedValues (
m_transform, view );
525 bool scaled,
bool adjust_width )
528 vector< DataRep * >::iterator it =
m_datareps.begin();
529 bool yes = adjust_width ==
false;
531 (*it)->setRange ( axis, yes );
539 double min_pos = DBL_MAX;
540 vector< DataRep * >::const_iterator it =
m_datareps.begin();
543 if ( rep ->
hasAxis ( axis ) ) {
545 if ( pos > 0.0 ) min_pos = std::min ( min_pos, pos );
556 vector < DataRep * >:: iterator it =
m_datareps.begin();
567 vector < DataRep * >:: iterator it =
m_datareps.begin();
579 vector < DataRep * >:: iterator it =
m_datareps.begin();
582 projector->
reset ( );
598 vector < DataRep * >:: iterator it =
m_datareps.begin();
651 return rep -> getValueTransform ();
661 rep -> setValueTransform ( btc );
671 if ( ! ( index < 0 ) ) {
685 if ( !( index < 0 ) ) {
690 vector< DataRep * >::const_iterator it =
m_datareps.begin();
695 }
else if ( axis ==
Axes::Y ) {
721 if ( std::abs ( first - next ) > DBL_EPSILON ) {
735 if ( !( index < 0 ) ) {
740 vector< DataRep * >::const_iterator it =
m_datareps.begin();
745 }
else if ( axis ==
Axes::Y ) {
765 double next = projector->
getOffset ( axis );
766 if ( first != next )
return -1.0;
806 vector< DataRep * >:: iterator first =
m_datareps.begin ();
807 for ( ; first !=
m_datareps.end (); ++first ) {
808 (*first)->setAxisModel ( axis, model );
849 std::string what(
"CompositePlotter::setTransform: ");
850 what +=
"Require a BinaryTransform in this context.";
860 double & ux,
double & uy )
const
864 assert ( transform );
866 transform -> inverseTransform ( x, y );
876 unsigned int size = 3;
877 vector < string > labels;
878 labels.reserve ( 5 );
880 labels.push_back (
"Item number" );
889 labels.push_back (
"Density" );
895 labels.push_back (
"Density" );
917 double retval = proj->
getZValue ( x, y );
930 bool yes = tf -> inverseTransform ( x, y );
942 bool yes = tf_fits -> inverseTransform ( x, y );
961 double xoffset = tp->
xOffset();
962 double yoffset = tp->
yOffset();
968 picked.push_back ( 0.0 );
969 picked.push_back ( ux );
970 picked.push_back ( uy );
973 picked.push_back (
getZValue ( ux, uy,
true ) );
974 picked.push_back (
getZValue ( ux, uy,
false ) );
978 picked.push_back (
getZValue ( ux, uy,
false ) );
1012 double scaledRetval = retval * sf;
1015 retval = retval * sf;
1022 if ( axis==
Axes::Z && scaledRetval == 0.0 )
return 0.0;
1024 if ( scaledRetval > r.
high() ) {
1029 return r.
high() / sf;
1033 if ( scaledRetval < r.
low() ) {
1038 return r.
low() / sf;
1075 vector < DataRep * > :: iterator first =
m_datareps.begin ();
1094 const std::vector < AxisTick > & ticks )
1108 if ( number == 1 ) {
1114 for ( std::size_t i = 0; i < number; i++ ) {
1117 datarep -> isSelected () ) {
1121 if ( targets == 1 ) yes =
true;
1134 for ( std::size_t i = 0; i <
size; i++ ) {
1136 if ( dr -> isSelected () ) {
1151 for ( std::size_t i = 0; i <
size; i++ ) {
1210 if ( flag ==
false )
return;
1226 }
else if ( axis ==
Axes::Y ) {
1270 int parm,
bool dragging )
1282 setRange ( type, new_range,
false,
false );
1288 int parm,
bool dragging )
1300 setRange ( type, new_range,
false,
false );
1310 string what (
"PlotterBase::getRange: " );
1311 what +=
"This plotter does not have such axis";
1341 double factor = 1.0;
1458 if ( number < 2 )
return;
1460 bool wants_scaling =
false;
1461 for (
int i = 0; i < number; i++ ) {
1466 if ( wants_scaling ==
true ) {
1470 if ( width <= 0.0 ) {
1501 bool yes = ( has_scaled == false ) || is_dirty ==
true;
1517 transform->
validate ( x_range, y_range );
1522 if (
m_x_axis -> isAutoTicks () ) {
1523 const vector < AxisTick > & x_ticks
1528 if (
m_y_axis -> isAutoTicks () ) {
1529 const vector < AxisTick > & y_ticks
1536 if (
m_z_axis -> isAutoTicks () ) {
1537 const vector < AxisTick > & z_ticks
1541 z_lo = z_range.
low ();
1542 z_hi = z_range.
high ();
1561 Rect rect = transform -> calcRectangle ( x_range, y_range );
1564 double z_lo = range.
low ();
1565 double z_hi = range.
high ();
1566 transform -> transformZ ( z_lo );
1567 transform -> transformZ ( z_hi );
1582 double x_lo = x_range.
low();
1583 double x_hi = x_range.
high();
1585 double y_lo = y_range.
low();
1586 double y_hi = y_range.
high();
1588 Rect rect =
Rect (x_lo, y_lo, x_hi-x_lo, y_hi-y_lo);
1597 bool do_y,
bool do_z )
1662 DataRepList_t::const_iterator first =
m_datareps.begin();
1664 const DataRep * rep = *first++;
1665 bool yes = rep -> hasCut ();
1667 const vector < TupleCut > & tcuts = rep ->
getCuts ();
1668 unsigned int size = tcuts.size ();
1669 for (
unsigned int i = 0; i <
size; i++ ) {
1670 cuts.push_back ( &tcuts[i] );
1732 vector < DataRep * >:: iterator it =
m_datareps.begin();
virtual TransformBase * getTransform() const
AxisModelBase * m_x_axis
The x dimension axis model.
virtual void setOffset(const std::string &axis, int parm, bool dragging)
Sets the bin offset.
virtual hippodraw::DataRep * getTarget() const
virtual void adjustValues(AxisModelBase &model, hippodraw::Axes::Type axes, const Range &limit)=0
Sets the range of given axis to be a new "nice" within the limits given.
virtual double getBinWidth(hippodraw::Axes::Type axis) const
Returns the bin width on designated axis.
virtual void setTicks(hippodraw::Axes::Type axis, const std::vector< AxisTick > &ticks)
A Periodic transform that transforms coordinates from one 2D coordinate system to another...
virtual DataRep * clone()=0
The clone function returns an object of its own kind which is a copy of this object.
virtual void setOffset(hippodraw::Axes::Type axis, double offset)
int m_datarep_index
The index of the active DataRep or a negative value if more than one is active.
bool m_has_autoscaled
A flag that when true indicates the plotter has already auto-scaled the axes.
AxisModelBase * m_y_axis
The y dimension axis model.
virtual hippodraw::DataRep * getParentDataRep() const
Gets the parent DataRep associated with the current/ active DataRep.
void setErrorDisplay(Axes::Type axis, bool)
Sets the display of error bar, if applicable, on the specified axis.
void drawXLabels(const AxisModelBase &axis_model, ViewBase &view, const std::string &x_label)
Draws the labels of the x axis.
virtual int getMinEntries()
Get the minimum entries/bin.
virtual int getNumberOfEntries() const
Returns the number of entries in the contained DataRep.
virtual hippodraw::DataRep * selectedDataRep() const
Returns the selected DataRep if one is selected, otherwise returns the first one. ...
virtual void fillPickedPoint(double mx, double my, std::vector< double > &picked) const
Fills the picked data point.
virtual void setCutRangeAt(const Range &range, unsigned int index)
Sets the TupleCut range.
virtual NTuple * createNTuple() const
Creates a new NTuple from the selected DataRep object.
The base class for the point representation hierarchy.
virtual void setFitsTransform(const std::string &)
Set the fits transform object.
virtual void prepareToDraw()
Prepares the axes for drawing.
const std::vector< TupleCut > & getCuts() const
Returns a reference to the cut list.
A class for containing one or more DataRep objects in a single composite plot.
bool m_has_z
A flag which when set true indicates the plotter maintains a Z axis.
virtual bool isTargetable() const
void drawYLabels(const AxisModelBase &axis_model, ViewBase &view, const std::string &y_label)
Draws the labels of the y axis.
virtual void setValueRep(BinToColor *rep)
Sets the object that will do the value to color transform, if any.
virtual int getNumDataReps() const
Returns the number of DataRep objects in this plot.
CompositePlotter * clone()
Makes a copy of the receiving object.
hippodraw::CompositePlotter class interface
Rect calcRawRectangle() const
Calculates the raw rectangle before transform.
virtual bool isAutoRanging(hippodraw::Axes::Type axis) const
static TransformFactory * instance()
Returns a pointer to the singleton instance.
const Range & limitZ() const
Returns the Range limits on the third coordinate.
virtual const BinToColor * getValueRep() const
virtual bool getBoxEdge()
Gets the box edge status to update the inspector.
PlotterException class interface.
virtual int getMinEntries()
Get the minimum entries/bin.
virtual hippodraw::DataRep * mouseSelectedDataRep() const
Returns the data rep under the mouse.
virtual double getZValue(double x, double y, bool scaled=true) const
Get the z value at the specified point (x,y).
void setEnableZ(bool yes)
Enables the Z axis.
double moduloAddY(double y1, double y2) const
Modulo Addition along Y axis.
bool needsXTicks() const
Returns whether this transform needs x ticks.
virtual void drawZLabels(const AxisModelBase &axis_model, ViewBase &view, const std::string &z_label)=0
The base class for the axis representation hierarchy.
bool m_box_edge
A flag when set true indicates the box edge is show for color boxes.
virtual void setScaleFactor(hippodraw::Axes::Type axis, double factor)
bool isErrorDisplayed(Axes::Type) const
Returns true if the error bars are being displayed.
void setScaleFactor(double)
Sets the value of the scale factor.
virtual void setRangePrivate(hippodraw::Axes::Type axis, const Range &range, bool scaled=false, bool adjust_width=true)
virtual void setBoxEdge(bool show)
virtual void setFontSize(const AxisModelBase *x_axis, const AxisModelBase *y_axis, const AxisModelBase *z_axis, ViewBase &view)
Adjusts the font sizes.
virtual void setReverse(bool flag)
Sets the reverse status for the X axis to flag.
bool isAutoRanging() const
Returns true if auto-ranging is enabled; otherwise, returns false.
The base class for the value to the color transformation.
double processReturnValue(double retval, hippodraw::Axes::Type axis, bool scaled) const
Process the return value for margin-to-user functions.
std::string m_x_label
The label of the x axis is associated with the X axis model object.
virtual bool hasZoomY() const
Returns true if the plotter has zoom feature on the Y Axis otherwise it returns false.
virtual Range calcLow(int parm, bool dragging=false)=0
Sets the low end of the Range and returns the new Range.
virtual double aspectRatio() const
Get the aspect ratio.
virtual void setErrorDisplay(hippodraw::Axes::Type axis, bool)
Sets the display of the error bars on or off for the active plotter.
virtual void drawAxesLines(TransformBase &transform, ViewBase &view, const Range &x_range, const Range &y_range)
Draws the axes lines after transformation.
CompositePlotter()
The default constructor.
void setUnionRange(const Range &range)
Sets the range to be the union of the existing range and range.
virtual const Color & repColor() const
Returns the color used for the data points from the active plotter.
void setEmpty()
Sets the range to empty.
A PointRep class that draws a colored box to represent the value.
double xOffset() const
Returns the xOffset of the (periodic) transform.
void toggleBoxEdge(DataRep *datarep)
Set box edge status according to m_box_edge flag for the datarep.
A transform that transforms coordinates from one coordinate system to another.
virtual void setRepresentation(RepBase *pointrep)
Sets the representation.
void setRange(Axes::Type axis, bool const_width=true)
Sets the range of the axis.
virtual bool wantsScaleFactor(const std::string &axis) const
Returns whether the projector wants scale factor.
virtual bool hasZeroRows()
Returns true if this DataRep has zero rows in its DataSource.
virtual void setNumberOfBins(hippodraw::Axes::Type axis, unsigned int number)
void drawAxisRep(AxisRepBase *rep, ViewBase *view, bool do_y, bool do_z)
Draws the data related to the axis representation.
virtual void drawColorScale(const BinToColor &, ViewBase &)
Draws the color scale bar.
virtual void setRange(hippodraw::Axes::Type, const Range &, bool scaled, bool adjust_width)
virtual void setLabel(hippodraw::Axes::Type, const std::string &value)
virtual bool hasNTupleBindings() const
Returns true if the DataRep's projector can bind to DataSource.
const Color & getRepColor() const
Returns the color used for the representation.
void setRange(double low, double high, double pos)
Sets the Range to the low and high values.
RepBase * getRepresentation() const
Returns the representation used to draw the data points.
virtual bool hasAxis(hippodraw::Axes::Type axis) const
void transformZ(double &z) const
Transforms the z coordinate.
A DataSource class implemented with std::vector to store the column data. ...
double low() const
Returns the minimum of the range object.
virtual bool isAxisBinned(const std::string &axis) const
Returns true if specified axis is binned.
virtual TransformBase * getFitsTransform() const
intp size(numeric::array arr)
double moduloAddX(double x1, double x2) const
Modulo Addition along X axis.
TransformBase * m_fits_transform
The fits transform object.
bool checkAutoScale()
Checks if the plotter needs to be auto-scaled and do so if needed.
void setIntersectRange(const Range &, const Range &)
Sets the Range to overlap of the two ranges.
virtual double getOffset(Axes::Type axis) const
Returns the offset of the axis.
The singleton Factory class for creating objects whose class is derived from TransformBase.
virtual RepBase * representation() const
Returns the representation.
virtual double getOffset(hippodraw::Axes::Type axis) const
AxisModelBase * m_z_axis
The z dimension axis model.
A transform that transforms coordinates from one 2D coordinate system to another. ...
double yOffset() const
Returns the yOffset of the (periodic) transform.
virtual double getBinWidth(Axes::Type axis) const
Returns the bin width of the axis.
hippodraw::NTuple class interface.
An exception class that is thrown when attempting an illegal operation on a PlotterBase object...
virtual void drawProjValues(ViewBase *view)
Draws the projected values.
hippodraw::ColorBoxPointRep class interface
Given a range, calculates a model for an axis with a linear scale.
PyArray_TYPES type(numeric::array arr)
virtual ProjectorBase * getProjector(int i) const
Returns the projector at index i.
void setAutoRanging(bool flag)
Sets the auto-ranging flag to flag.
virtual void validate(Range &x, Range &y) const =0
Validates the Ranges.
virtual AxisModelBase * clone() const =0
Returns a copy of the object.
A Color class for creating the color object following the standard RGB color space.
virtual double getAspectRatio() const
Returns the aspect ratio.
virtual TransformBase * clone() const =0
Creates a new Transform object by copying an existing one.
Range preferredRange(Axes::Type axis) const
Returns the preferred range to display the data.
virtual void setSelected(bool yes=true)
Sets the data representation as selected.
void push_back(hippodraw::DataRep *)
Adds the DataRep object to the composite if it is not already there.
virtual ProjectorBase * activeProjector() const
Returns the active projector.
virtual void reset()
Resets bins.
virtual void autoScale()
Sets the Range on each axis that has the auto range flag set to include all the data.
double pos() const
Returns the first positive element in range.
virtual void addValues(const std::vector< double > &v)
Adds the values to the plot.
virtual AxisModelBase * getAxisModel(hippodraw::Axes::Type axis) const
virtual void reset()
Resets the bins.
virtual const Range & getRange(hippodraw::Axes::Type axis, bool scaled) const
double getScaleFactor() const
Returns the scale factor.
virtual bool getShowGrid()
Gets the show-grid status to update the inspector.
virtual void setRepColor(const Color &)
Sets the representation color of the active plotter.
virtual void checkAxisScaling()
Check if Axis needs to be scaled or not.
virtual double getZValue(double x, double y) const
Get the z value at the specified point (x,y).
TransformBase * m_transform
The transform object.
virtual void addValues(const std::vector< double > &v)
Add the data values to the DataRep.
virtual void drawAllXTicks(const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view)
This function is the principal function of the ticks drawing family because it draws the ticks on the...
virtual const Range & limitX() const =0
Returns the Range limits of the first coordinate.
TransformBase * createTransform(const std::string &name)
Creates a returns a new TransformBase object with given name.
hippodraw::AxisModelLinear class interface
virtual const std::string & getXLabel() const =0
Finds the X axis label of the plot.
const Range & getRange(bool scaled) const
Returns the range represented by this AxisModel.
bool m_reverse
A flag which when set ture indicates the x axis is reversed.
virtual NTuple * createPickTuple()
Creates a NTuple for a PickTable.
bool isImageConvertable() const
Returns true if plotter contents is convertable to image.
virtual void setBinWidth(hippodraw::Axes::Type axis, double width)
Sets the bin width.
virtual void setLowRange(hippodraw::Axes::Type axis, int parm, bool dragging)
Sets the low end of the Range of data displayed.
virtual void setAllAxisModels()
Sets the axis models for all of the components of the contained DataRep objects.
hippodrw::Rect class interface
double high() const
Returns the maximum of the range object.
bool isPeriodic() const
Sets whether this transform is periodic.
virtual double getPosRange(hippodraw::Axes::Type axis) const
Returns the smallest positive number from the data.
virtual void setTransform(TransformBase *)
Sets the transform object.
virtual bool errorDisplay(hippodraw::Axes::Type axis) const
Returns the state of error bar display on specified axis for the active plotter.
virtual bool hasNTupleBindings() const
Returns true if the selected DataRep object has DataSource bindings, otherwise returns false...
virtual void removeDataRep(hippodraw::DataRep *rep)
Removes the DataRep from the composite.
virtual const Range & limitY() const =0
Returns the Range limits of the second coordinate.
void fillCutList(std::vector< const TupleCut * > &cuts) const
Fills the cuts vector with the TupleCuts contained by the DataRep objects.
Class representing a rectangle.
virtual ~CompositePlotter()
The destructor.
std::string m_z_label
The label of the z axis is associated with the Z axis model object.
void setDepth(double)
Sets the depth of the rectangle.
std::string m_y_label
The label of the y axis is associated with the Y axis model object.
void setZ(double)
Sets the Z dimension.
virtual AxisModelBase * getAxisModel(Axes::Type axis) const
Get the AxisModel for axis axis.
void setAutoScaled(bool flag=true)
Sets the auto scaled flag.
virtual const Range & setBinWidth(Axes::Type axis, double width)
Sets the bin width.
virtual void setParentDataRep(int index, hippodraw::DataRep *parent)
Sets the parent DataRep associated with the DataRep whose index number is index.
void setAxisModel(Axes::Type axis, AxisModelBase *)
Sets the AxisModel for axis axis.
virtual const std::string & getInternalLabel(hippodraw::Axes::Type axis) const
virtual void setScaling(hippodraw::Axes::Type axis, bool on=true)
Sets the scaling attribute of the AxisModelBase object.
The base class for data representations.
hippodraw::DataRep class interface.
virtual void matrixTranspose(bool yes)
virtual void setNumberOfBins(Axes::Type axis, unsigned int number)
Sets the number of bins.
hippodraw::AxisRepBase class interface
hippodraw::TupleCut class interface
virtual void toUserXY(double mx, double my, bool scaled, double &ux, double &uy) const
virtual hippodraw::DataRep * getDataRep(int index) const
virtual void drawAllZTicks(const AxisModelBase &axis_model, const TransformBase &transform, ViewBase &view)=0
This function is the principal function of the ticks drawing family because it draws the ticks on the...
virtual void setAutoTicks(hippodraw::Axes::Type axis, bool yes)
Sets automatic generation of ticks on specified axis.
DataRepList_t m_datareps
The list of the DataRep objects in the composite.
virtual void setAutoRanging(bool flag)
Sets the auto-ranging status for all axes to flag.
virtual bool isLog() const =0
Returns a boolean describing the type of the scale of the axis.
virtual void matrixTranspose(bool yes)
Transposes the X and Y axis.
virtual int setActivePlot(int index, bool redraw)
Sets the active DataRep object.
virtual const std::string & getYLabel(bool flag=false) const =0
Finds the Y axis label of the plot.
virtual Range calcHigh(int parm, bool dragging=false)=0
Sets the high end of the Range and returns the new Range.
virtual void setMinEntries(int entries)
Set the minimum entries/bin.
virtual void drawAllYTicks(const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, const TransformBase &transform, ViewBase &view)
This function is the principal function of the ticks drawing family because it draws the ticks on the...
void autoScaleZ()
Sets the range on the Z axis.
bool hasAutoScaled() const
Returns true if the axes have already been auto-scaled.
hippodraw::PeriodicBinaryTransform class interface
void setScaling(bool on=true)
Sets axis scaling on if on is true.
The AxisModelBase class maintains the Range and scaling of an axis.
virtual void setBoxEdge(bool flag)
Sets the box edge status to flag.
virtual int activePlotIndex() const
Returns the index of the active DataRep object.
virtual void setHighRange(hippodraw::Axes::Type axis, int parm, bool dragging)
Sets the high end of the Range of data displayed.
double getScaleFactor(Axes::Type axis) const
Returns the scale factor used on specified axis.
virtual void addDataRep(hippodraw::DataRep *rep)
Adds the DataRep object to the composite.
virtual ProjectorBase * getProjector() const
Returns the Projector object controlling the data.
Rect calcUserRectangle() const
Calculates the user rectangle given the current axis ranges.
virtual void setShowGrid(bool flag)
Sets the show-grid status to flag.
bool needsYTicks() const
Returns whether this transform needs y ticks.
virtual void setAxisModel(AxisModelBase *, hippodraw::Axes::Type)
Sets the axis model on the specified axis.
virtual int indexOf(const hippodraw::DataRep *rep) const
virtual const std::string & getLabel(hippodraw::Axes::Type) const
virtual void setPointRep(RepBase *pointrep)
Sets the representation of the data points.
virtual const std::string & getZLabel() const
Finds the Z axis label of the plot.
virtual bool isReverse() const
Expresses a range of values.
bool isDirty() const
Return true if any of the contained DataRep objects returns true from its isDirty() function...
void setRepColor(const Color &)
Sets the color of the data representation.
bool m_show_grid
A flag when set true indicates the plotter shows grid.
The base class for the Projector hierarchy.
virtual void drawGridLines(const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, TransformBase &transform, ViewBase &view)
Draws the grid lines after transformation.
hippodraw::ProjectorBase class interface.
The abstract base class for views.
virtual bool isAxisScaled(hippodraw::Axes::Type axis) const
Returns true if specified axis is scaled.
virtual void setMinEntries(int entries)
Set the minimum entries/bin.