Histograms

Histograms can be plotted quite easily. At present the histogram plotting function, plhist, will plot histograms of the columns of a matrix. For example:

> // Create data
> rand("normal", 0, pi);
> r = rand(2000,1);
>
> // Create plot
> ptitle("Histogram, 30 Bins");
> plhist (r, 30);

Figure: Example Histogram Plot
\begin{figure}\begin{picture}(350,300)(0,50) % (x-size, y-size) (x-shift, y-shif...
...angle=90 hscale=60 vscale=60 voffset=40 hoffset=460}
\end{picture}
\end{figure}

Figure [*] contains the Postscript output from the previous example.