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