| Calling Sequence
| DrawPointDistribution(data,Bars)
|
| Parameters
| | Name | Type | Description |
|
| data
| array(numeric) | data values, not necessarily ordered |
| Bars
| posint | (optional) number of ranges, histogram bars |
| anything | (optional) see ?PlotArguments |
|
| Return Type
| NULL |
| Synopsis
| DrawPointDistribution produces a plot of a histogram
of the distribution of the given data points.
The data values are sorted and classified in a number of equally
spaced ranges. For each range a histogram (vertical bar) with the
number of points in that range is drawn.
This produces a discrete approximation of the density distribution
of the points in data.
The data values do not need to be in order.
The number of vertical bars is automatically computed or it can be
set with an optional second argument.
The results of DrawPointDistribution are placed in a file, following
the same conventions as DrawPlot.
The plot can be seen with ViewPlot(). |
| Examples
| > DrawPointDistribution( [seq(Rand(Normal),i=1..500)] ); ViewPlot();
|
| See also
| BrightenColor, ColorPalette, DrawDistribution, DrawDotplot, DrawGraph, DrawHistogram, DrawPlot, DrawStackedBar, DrawTree, GetColorMap, Plot2Gif, PlotArguments, Set, SmoothData, StartOverlayPlot, StopOverlayPlot, ViewPlot |