14 #include "msdevstudio/MSconfig.h"
43 #ifdef ITERATOR_MEMBER_DEFECT
52 using namespace hippodraw;
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;
177 bool yes = index == -1;
179 (*it)->setSelected ( yes );
191 projector -> checkScaling ();
210 vector < DataRep * > :: iterator first
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;
367 if ( all_empty ==
true )
return;
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 ) {
512 if ( *it != active_datarep ) {
518 active_datarep->drawProjectedValues (
m_transform, view );
525 bool scaled,
bool adjust_width )
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();
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();
hippodraw::ColorBoxPointRep class interface
virtual void checkAxisScaling()
Check if Axis needs to be scaled or not.
virtual void setRepresentation(RepBase *pointrep)
Sets the representation.
virtual void setNumberOfBins(hippodraw::Axes::Type axis, unsigned int number)
virtual void setNumberOfBins(Axes::Type axis, unsigned int number)
Sets the number of bins.
virtual bool isAxisBinned(const std::string &axis) const
Returns true if specified axis is binned.
const std::vector< TupleCut > & getCuts() const
Returns a reference to the cut list.
virtual void setLabel(hippodraw::Axes::Type, const std::string &value)
A PointRep class that draws a colored box to represent the value.
const Color & getRepColor() const
Returns the color used for the representation.
virtual void setBinWidth(hippodraw::Axes::Type axis, double width)
Sets the bin width.
virtual TransformBase * clone() const =0
Creates a new Transform object by copying an existing one.
virtual void setAllAxisModels()
Sets the axis models for all of the components of the contained DataRep objects.
double high() const
Returns the maximum of the range object.
virtual TransformBase * getFitsTransform() const
TransformBase * m_fits_transform
The fits transform object.
virtual void setTransform(TransformBase *)
Sets the transform object.
bool isAutoRanging() const
Returns true if auto-ranging is enabled; otherwise, returns false.
virtual Range calcHigh(int parm, bool dragging=false)=0
Sets the high end of the Range and returns the new Range.
void transformZ(double &z) const
Transforms the z coordinate.
virtual bool hasNTupleBindings() const
Returns true if the selected DataRep object has DataSource bindings, otherwise returns false...
bool checkAutoScale()
Checks if the plotter needs to be auto-scaled and do so if needed.
virtual void removeDataRep(hippodraw::DataRep *rep)
Removes the DataRep from the composite.
virtual ~CompositePlotter()
The destructor.
std::string m_z_label
The label of the z axis is associated with the Z axis model object.
A transform that transforms coordinates from one coordinate system to another.
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.
void setZ(double)
Sets the Z dimension.
virtual RepBase * representation() const
Returns the representation.
virtual double getOffset(hippodraw::Axes::Type axis) const
The base class for the value to the color transformation.
virtual hippodraw::DataRep * getDataRep(int index) const
hippodraw::AxisModelLinear class interface
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.
double moduloAddX(double x1, double x2) const
Modulo Addition along X axis.
virtual void setAutoRanging(bool flag)
Sets the auto-ranging status for all axes to flag.
hippodrw::Rect class interface
virtual int setActivePlot(int index, bool redraw)
Sets the active DataRep object.
double moduloAddY(double y1, double y2) const
Modulo Addition along Y axis.
void drawYLabels(const AxisModelBase &axis_model, ViewBase &view, const std::string &y_label)
Draws the labels of the y axis.
hippodraw::PeriodicBinaryTransform class interface
virtual const Range & limitY() const =0
Returns the Range limits of the second coordinate.
virtual void setPointRep(RepBase *pointrep)
Sets the representation of the data points.
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 setErrorDisplay(Axes::Type axis, bool)
Sets the display of error bar, if applicable, on the specified axis.
void push_back(hippodraw::DataRep *)
Adds the DataRep object to the composite if it is not already there.
double yOffset() const
Returns the yOffset of the (periodic) transform.
virtual void autoScale()
Sets the Range on each axis that has the auto range flag set to include all the data.
Given a range, calculates a model for an axis with a linear scale.
virtual void setMinEntries(int entries)
Set the minimum entries/bin.
virtual void setOffset(const std::string &axis, int parm, bool dragging)
Sets the bin offset.
virtual const Range & getRange(hippodraw::Axes::Type axis, bool scaled) const
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.
double xOffset() const
Returns the xOffset of the (periodic) transform.
virtual bool getShowGrid()
Gets the show-grid status to update the inspector.
hippodraw::DataRep class interface.
Rect calcUserRectangle() const
Calculates the user rectangle given the current axis ranges.
virtual void setRepColor(const Color &)
Sets the representation color of the active plotter.
hippodraw::AxisRepBase class interface
virtual void addValues(const std::vector< double > &v)
Add the data values to the DataRep.
virtual void setSelected(bool yes=true)
Sets the data representation as selected.
virtual void drawColorScale(const BinToColor &, ViewBase &)
Draws the color scale bar.
TransformBase * m_transform
The transform object.
virtual void setAxisModel(AxisModelBase *, hippodraw::Axes::Type)
Sets the axis model on the specified axis.
virtual AxisModelBase * clone() const =0
Returns a copy of the object.
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 int indexOf(const hippodraw::DataRep *rep) const
virtual const std::string & getLabel(hippodraw::Axes::Type) const
virtual Range calcLow(int parm, bool dragging=false)=0
Sets the low end of the Range and returns the new Range.
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 isDirty() const
Return true if any of the contained DataRep objects returns true from its isDirty() function...
bool isImageConvertable() const
Returns true if plotter contents is convertable to image.
virtual double getZValue(double x, double y) const
Get the z value at the specified point (x,y).
virtual void setLowRange(hippodraw::Axes::Type axis, int parm, bool dragging)
Sets the low end of the Range of data displayed.
void setAxisModel(Axes::Type axis, AxisModelBase *)
Sets the AxisModel for axis axis.
bool isErrorDisplayed(Axes::Type) const
Returns true if the error bars are being displayed.
virtual void drawGridLines(const AxisModelBase &axisModelX, const AxisModelBase &axisModelY, TransformBase &transform, ViewBase &view)
Draws the grid lines after transformation.
virtual bool isAxisScaled(hippodraw::Axes::Type axis) const
Returns true if specified axis is scaled.
virtual TransformBase * getTransform() const
virtual double getPosRange(hippodraw::Axes::Type axis) const
Returns the smallest positive number from the data.
virtual bool errorDisplay(hippodraw::Axes::Type axis) const
Returns the state of error bar display on specified axis for the active plotter.
virtual int getMinEntries()
Get the minimum entries/bin.
virtual void setBoxEdge(bool show)
void fillCutList(std::vector< const TupleCut * > &cuts) const
Fills the cuts vector with the TupleCuts contained by the DataRep objects.
TransformBase * createTransform(const std::string &name)
Creates a returns a new TransformBase object with given name.
virtual double getBinWidth(hippodraw::Axes::Type axis) const
Returns the bin width on designated axis.
std::string m_y_label
The label of the y axis is associated with the Y axis model object.
virtual void setTicks(hippodraw::Axes::Type axis, const std::vector< AxisTick > &ticks)
void setAutoScaled(bool flag=true)
Sets the auto scaled flag.
virtual void setParentDataRep(int index, hippodraw::DataRep *parent)
Sets the parent DataRep associated with the DataRep whose index number is index.
void setRange(double low, double high, double pos)
Sets the Range to the low and high values.
bool m_has_autoscaled
A flag that when true indicates the plotter has already auto-scaled the axes.
virtual void drawAxesLines(TransformBase &transform, ViewBase &view, const Range &x_range, const Range &y_range)
Draws the axes lines after transformation.
virtual void matrixTranspose(bool yes)
virtual double getBinWidth(Axes::Type axis) const
Returns the bin width of the axis.
virtual hippodraw::DataRep * getParentDataRep() const
Gets the parent DataRep associated with the current/ active DataRep.
A Color class for creating the color object following the standard RGB color space.
void drawXLabels(const AxisModelBase &axis_model, ViewBase &view, const std::string &x_label)
Draws the labels of the x axis.
virtual void toUserXY(double mx, double my, bool scaled, double &ux, double &uy) const
hippodraw::NTuple class interface.
virtual const Range & limitX() const =0
Returns the Range limits of the first coordinate.
static TransformFactory * instance()
Returns a pointer to the singleton instance.
A Periodic transform that transforms coordinates from one 2D coordinate system to another...
void setAutoRanging(bool flag)
Sets the auto-ranging flag to flag.
virtual NTuple * createNTuple() const
Creates a new NTuple from the selected DataRep object.
virtual void setFitsTransform(const std::string &)
Set the fits transform object.
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 prepareToDraw()
Prepares the axes for drawing.
PyArray_TYPES type(numeric::array arr)
The base class for data representations.
virtual const std::string & getXLabel() const =0
Finds the X axis label of the plot.
void autoScaleZ()
Sets the range on the Z axis.
bool hasAutoScaled() const
Returns true if the axes have already been auto-scaled.
virtual void validate(Range &x, Range &y) const =0
Validates the Ranges.
void setDepth(double)
Sets the depth of the rectangle.
virtual bool isAutoRanging(hippodraw::Axes::Type axis) const
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.
virtual void setShowGrid(bool flag)
Sets the show-grid status to flag.
virtual const std::string & getZLabel() const
Finds the Z axis label of the plot.
intp size(numeric::array arr)
virtual int getMinEntries()
Get the minimum entries/bin.
virtual double getZValue(double x, double y, bool scaled=true) const
Get the z value at the specified point (x,y).
const Range & limitZ() const
Returns the Range limits on the third coordinate.
virtual void drawZLabels(const AxisModelBase &axis_model, ViewBase &view, const std::string &z_label)=0
The AxisModelBase class maintains the Range and scaling of an axis.
virtual bool isReverse() const
virtual void setScaleFactor(hippodraw::Axes::Type axis, double factor)
virtual const Range & setBinWidth(Axes::Type axis, double width)
Sets the bin width.
bool needsYTicks() const
Returns whether this transform needs y ticks.
virtual bool hasNTupleBindings() const
Returns true if the DataRep's projector can bind to DataSource.
virtual DataRep * clone()=0
The clone function returns an object of its own kind which is a copy of this object.
Class representing a rectangle.
bool m_show_grid
A flag when set true indicates the plotter shows grid.
hippodraw::ProjectorBase class interface.
double getScaleFactor() const
Returns the scale factor.
hippodraw::CompositePlotter class interface
bool needsXTicks() const
Returns whether this transform needs x ticks.
virtual void setMinEntries(int entries)
Set the minimum entries/bin.
AxisModelBase * m_x_axis
The x dimension axis model.
virtual void setRangePrivate(hippodraw::Axes::Type axis, const Range &range, bool scaled=false, bool adjust_width=true)
virtual bool isLog() const =0
Returns a boolean describing the type of the scale of the axis.
virtual void setFontSize(const AxisModelBase *x_axis, const AxisModelBase *y_axis, const AxisModelBase *z_axis, ViewBase &view)
Adjusts the font sizes.
The base class for the axis representation hierarchy.
virtual hippodraw::DataRep * getTarget() const
PlotterException class interface.
virtual void reset()
Resets the bins.
A DataSource class implemented with std::vector<double> to store the column data. ...
virtual void setOffset(hippodraw::Axes::Type axis, double offset)
virtual void setErrorDisplay(hippodraw::Axes::Type axis, bool)
Sets the display of the error bars on or off for the active plotter.
The base class for the Projector hierarchy.
int m_datarep_index
The index of the active DataRep or a negative value if more than one is active.
AxisModelBase * m_y_axis
The y dimension axis model.
CompositePlotter()
The default constructor.
The abstract base class for views.
hippodraw::TupleCut class interface
void setScaleFactor(double)
Sets the value of the scale factor.
void toggleBoxEdge(DataRep *datarep)
Set box edge status according to m_box_edge flag for the datarep.
virtual int getNumberOfEntries() const
Returns the number of entries in the contained DataRep.
virtual bool wantsScaleFactor(const std::string &axis) const
Returns whether the projector wants scale factor.
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 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.
Range preferredRange(Axes::Type axis) const
Returns the preferred range to display the data.
void drawAxisRep(AxisRepBase *rep, ViewBase *view, bool do_y, bool do_z)
Draws the data related to the axis representation.
virtual void setRange(hippodraw::Axes::Type, const Range &, bool scaled, bool adjust_width)
bool m_has_z
A flag which when set true indicates the plotter maintains a Z axis.
virtual bool isTargetable() const
virtual void setValueRep(BinToColor *rep)
Sets the object that will do the value to color transform, if any.
A transform that transforms coordinates from one 2D coordinate system to another. ...
virtual int getNumDataReps() const
Returns the number of DataRep objects in this plot.
CompositePlotter * clone()
Makes a copy of the receiving object.
void setRepColor(const Color &)
Sets the color of the data representation.
An exception class that is thrown when attempting an illegal operation on a PlotterBase object...
const Range & getRange(bool scaled) const
Returns the range represented by this AxisModel.
virtual bool hasAxis(hippodraw::Axes::Type axis) const
void setScaling(bool on=true)
Sets axis scaling on if on is true.
virtual double getOffset(Axes::Type axis) const
Returns the offset of the axis.
Rect calcRawRectangle() const
Calculates the raw rectangle before transform.
void setUnionRange(const Range &range)
Sets the range to be the union of the existing range and range.
double low() const
Returns the minimum of the range object.
virtual AxisModelBase * getAxisModel(Axes::Type axis) const
Get the AxisModel for axis axis.
virtual bool hasZeroRows()
Returns true if this DataRep has zero rows in its DataSource.
virtual const BinToColor * getValueRep() const
virtual bool getBoxEdge()
Gets the box edge status to update the inspector.
Expresses a range of values.
virtual const std::string & getYLabel(bool flag=false) const =0
Finds the Y axis label of the plot.
virtual hippodraw::DataRep * mouseSelectedDataRep() const
Returns the data rep under the mouse.
void setEnableZ(bool yes)
Enables the Z axis.
virtual double aspectRatio() const
Get the aspect ratio.
AxisModelBase * m_z_axis
The z dimension axis model.
bool m_box_edge
A flag when set true indicates the box edge is show for color boxes.
virtual void drawProjValues(ViewBase *view)
Draws the projected values.
void setEmpty()
Sets the range to empty.
virtual ProjectorBase * getProjector(int i) const
Returns the projector at index i.
bool isPeriodic() const
Sets whether this transform is periodic.
The singleton Factory class for creating objects whose class is derived from TransformBase.
void setIntersectRange(const Range &, const Range &)
Sets the Range to overlap of the two ranges.
virtual ProjectorBase * getProjector() const
Returns the Projector object controlling the data.
virtual void matrixTranspose(bool yes)
Transposes the X and Y axis.
virtual void setReverse(bool flag)
Sets the reverse status for the X axis to flag.
virtual double getAspectRatio() const
Returns the aspect ratio.
double processReturnValue(double retval, hippodraw::Axes::Type axis, bool scaled) const
Process the return value for margin-to-user functions.
list< QAction * >::iterator it
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 ProjectorBase * activeProjector() const
Returns the active projector.
virtual void reset()
Resets bins.
The base class for the point representation hierarchy.
RepBase * getRepresentation() const
Returns the representation used to draw the data points.
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
A class for containing one or more DataRep objects in a single composite plot.
virtual const Color & repColor() const
Returns the color used for the data points from the active plotter.
void setRange(Axes::Type axis, bool const_width=true)
Sets the range of the axis.