#include <plotxy.h>
List of all members.
Public Member Functions |
| PlotXY (int xmin, int ymin, int width, int height, char const *Title=NULL, char const *Xlbl=NULL, char const *Ylbl=NULL) |
virtual | ~PlotXY () |
void | AddCurve (char const *Name) |
| Add curve (x-y values)
|
void | AddCurve (Array< double > const *X, Array< double > const *Y, char const *Name) |
| Add curve (x-y values)
|
void | SetXY (size_t i, Array< double > const *X, Array< double > const *Y) |
| Set X and Y pointers.
|
void | DelCurve (size_t i) |
| Remove curve (x-y values)
|
CurveProps & | SetCurve (size_t i) |
void | CalcSF () |
| Calculate scale factors.
|
void | DrawRulers () |
| Draw rulers.
|
void | DrawLegend () |
| Draw legend.
|
PlotXY & | EqScales (bool EQScales=true) |
| Set equal scale factors.
|
PlotXY & | RecalcSF (bool REcalcSF=true) |
| Recalculate scale factors during draw ?
|
PlotXY & | WithFrame (bool WFrame=true) |
| Draw an all-around frame ?
|
PlotXY & | BRuler (bool Visible=true, int nTicks=10) |
| Set bottom ruler.
|
PlotXY & | LRuler (bool Visible=true, int nTicks=10) |
| Set left ruler.
|
PlotXY & | SetBTicksFmt (char const *Fmt="%4.1f", int Size=5) |
| Set bottom ruler ticks format, ex.: "%4.1f" => Size==5.
|
PlotXY & | SetLTicksFmt (char const *Fmt="%3.1f", int Size=5) |
| Set left ruler ticks format, ex.: "%3.1f" => Size==5.
|
void | draw () |
Static Public Attributes |
static double | MINZERO = sqrt(DBL_EPSILON) |
| Minimum value to be replaced to 0.0 in _pretty method.
|
Constructor & Destructor Documentation
MPM::PlotXY::PlotXY |
( |
int |
xmin, |
|
|
int |
ymin, |
|
|
int |
width, |
|
|
int |
height, |
|
|
char const * |
Title = NULL , |
|
|
char const * |
Xlbl = NULL , |
|
|
char const * |
Ylbl = NULL |
|
) |
| [inline] |
Member Function Documentation
Remove curve (x-y values)
Recalculate scale factors during draw ?
Set bottom ruler ticks format, ex.: "%4.1f" => Size==5.
Set left ruler ticks format, ex.: "%3.1f" => Size==5.
Draw an all-around frame ?
Member Data Documentation
Minimum value to be replaced to 0.0 in _pretty method.
The documentation for this class was generated from the following files: