XppWindow
|
+---- XppCanvas
|
+----XppBarGraph
XppBarGraph(int width, int height,int x=0, int y=0, char *name="bargraph");
(x,y) with
the specified width and height and name.
If either x or y is negative then
the window must be positioned on the root window using the mouse.
XppBarGraph(XppWindow& win, int width, int height, int x = 0, int y = 0);
win
at the relative position (x,y) with width w
and height h.
void SetStyleOutline(void);
Plot the bars as rectangles.
void SetStyleFilled(void);
Plot the bars as filled rectangles. This is the default style.
void PlotBar(double x1, double x2, double y);
void PlotBarGraph(double *y, int n);
void PlotBarGraph(double *x, double *y, int n);