<!–Converted with LaTeX2HTML 2022 (Released January 1, 2022) –> <HTML lang="en"> <HEAD> <TITLE>Contents of Histograms</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> <META NAME="Generator" CONTENT="LaTeX2HTML v2022">
<LINK REL="STYLESHEET" HREF="rlabp_tex.css">
<LINK REL="next" HREF="node50_mn.html"> <LINK REL="previous" HREF="node48_mn.html"> <LINK REL="up" HREF="node47_mn.html"> <LINK REL="next" HREF="node50_mn.html"> </HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#9944EE" vlink="#0000ff" alink="#00ff00">
<H2><A ID="SECTION000122000000000000000"> Histograms</A> </H2>
<P> Histograms can be plotted quite easily. At present the histogram plotting function, <code>plhist</code>, will plot histograms of the columns of a matrix. For example:
<P> <PRE> > // Create data > rand("normal", 0, pi); > r = rand(2000,1); > > // Create plot > ptitle("Histogram, 30 Bins"); > plhist (r, 30); </PRE>
<P>
<DIV class="CENTER"><A ID="p5"></A><A ID="508"></A> <TABLE> <CAPTION class="BOTTOM"><STRONG>Figure:</STRONG> Example Histogram Plot</CAPTION> <TR><TD><IMG STYLE="height: 286.76ex; " SRC="img8.png" ALT="
<P> Figure <A HREF="node49_ct.html#p5"><IMG ALT="[*]" SRC="crossref.png"></A> contains the Postscript output from the previous example.
<P>
<HR>
</BODY> </HTML>