Plot

Abstract base class for all types of plot objects.

Members

Functions

bottomMost
double bottomMost()

The bottommost point on the plot.

drawLegendSymbol
void drawLegendSymbol(FigureBase fig, PlotRect where)
Undocumented in source.
drawPlot
void drawPlot(Figure , double , double , double , double )
Undocumented in source.
hasLegend
bool hasLegend()

Returns true if this plot type supports legends, otherwise false.

leftMost
double leftMost()

The leftmost point on the plot.

legendText
string legendText()
legendText
This legendText(string newText)
measureLegend
PlotSize measureLegend(Font legendFont, FigureBase fig)
Undocumented in source. Be warned that the author may not have intended to support it.
resetLimits
void resetLimits(Figure figure)
Undocumented in source. Be warned that the author may not have intended to support it.
rightMost
double rightMost()

The rightmost point on the plot.

toFigure
Figure toFigure()

Convenience method that instantiates a Figure object with this plot. Useful for creating single-plot figures w/o a lot of boilerplate.

toLabeledFigure
Figure toLabeledFigure()

Instantiates a Figure object with this plot and also places the default axes and tick labeling and title for the plot type, if any, on the Figure. If a plot type has no default labeling, simply forwards to toFigure().

topMost
double topMost()

The topmost point on the plot.

Variables

_legendText
string _legendText;
Undocumented in source.
leftLim
double leftLim;
Undocumented in source.
lowerLim
double lowerLim;
Undocumented in source.
rightLim
double rightLim;
Undocumented in source.
upperLim
double upperLim;
Undocumented in source.

Meta