XppWindow
|
+---- XppCanvas
|
+---- XppBarGraph
|
+----XppHistogram
XppHistogram(int width, int height,int x=0, int y=0, char *name="histogram");
(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.
XppHistogram(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 PlotHistogram(double *x, int dim, double min, double max, int NrOfBins);
x[i] within the range
[min,max], ... 0 <= i < dim. Points outside the interval are
ignored.
The range is divided into numberOfBins histogram intervals.
The percentage of points within each interval is plotted as a bar in the histogram.
void PlotHistogram(double *x, int dim, int numberOfBins);
x[i], ... 0 <= i < dim.
The range of the data points is determined and divided into
numberOfBins histogram intervals.
The percentage of points within each interval is plotted as a bar in the histogram.