3
<!-- This file has been generated by unroff 1.0, 02/26/02 11:56:14. -->
5
<STYLE TYPE="text/css">
7
A:link{text-decoration:none}
8
A:visited{text-decoration:none}
9
A:active{text-decoration:none}
12
<title>ploticus: dist prefab</title>
13
<body bgcolor=D0D0EE vlink=0000FF>
17
<table cellpadding=2 bgcolor=FFFFFF width=550 ><tr>
19
<table cellpadding=2 width=550><tr>
20
<td><br><h2>dist prefab</h2></td>
23
<a href="../doc/Welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
24
<a href="../doc/Welcome.html">Welcome</a>
25
<a href="../gallery/index.html">Gallery</a>
26
<a href="../doc/Contents.html">Handbook</a>
33
<title>Manual page for dist_prefab(PL)</title>
39
<center><table cellpadding=2><tr>
40
<td><img src="../gallery/prefab_img/dist1.gif"></td></tr>
44
pl -prefab dist fld=1 data=data6 curve=yes binsize=0.05 \
45
barwidth=0.08 ygrid=yes
57
<center><table cellpadding=2><tr>
58
<td><img src="../gallery/prefab_img/dist2.gif"></td></tr>
62
pl -prefab dist fld=1 data=data8 cats=yes yrange=0 \
63
stubvert=yes barwidth=0.05 ylbl="# Hits" order=rev
75
<a href="prefabs.html#examples">
76
How to run these examples
84
<a href="prefabs.html">
87
that computes and displays a frequency distribution (histogram)
88
on a data field.<tt> </tt>
89
The data file does not need to be ordered in any particular way.<tt> </tt>
90
The field may contain continuous numeric data, or alphanumeric values.<tt> </tt>
91
Continuous numeric data is the default, but
92
the <b>cats</b> option may be used to produce category distributions
93
(each unique value having a bar).<tt> </tt>
94
With continuous numeric data, "bins" will be set up and values will
95
be placed into these bins (any alpha values will be lumped into one
98
This prefab is based on
99
<a href="tabulate.html">
110
If no bars are appearing, try specifying bar size, eg.<tt> </tt>
111
<tt>barsize=0.1</tt>. This glitch is due to the fact that
112
default bar widths are related to data space.<tt> </tt>
120
<a href="prefab_stdparms.html">
121
Standard prefab parameters
123
are all supported except <b>x</b>, <b>y</b>, and <b>err</b>.<tt> </tt>
124
<b>data</b> is required.<tt> </tt>
129
<b>fld</b> (required) is the
130
<a href="attributetypes.html#dfield">
133
that the frequency distribution will be computed on
138
<b>binsize</b> is the size of one "bin" in numeric distributions.<tt> </tt>
143
<b>cats</b> may be given as <tt>yes</tt> if <b>fld</b> is not
144
continuous numeric data.<tt> </tt>
149
<b>curve</b> may be given as <tt>yes</tt> or as a
150
<a href="linedetails.html">
151
linedetails attribute
153
to cause a bspline curve to be rendered along with the histogram.<tt> </tt>
159
<a href="color.html">
162
of the bars (default = pink)
167
<b>barwidth</b> is the width of the bars in absolute units.<tt> </tt>
172
<b>savetable</b> may be given in order to save a text representation of
173
the computed frequency distribution. It may be a file name, <tt>stderr</tt>, or
174
<tt>stdout</tt>.<tt> </tt>
179
<b>order</b> controls the order in which bars are drawn from left to right.
180
By default this is <tt>natural</tt> (alphabetical order).
181
Allowable values are <tt>mag</tt> (from low to high), and <tt>rev</tt> (high to low).<tt> </tt>
188
<a href="Welcome.html">
189
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine <br>
190
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
194
<img src="../gallery/all.gif">
200
Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>February 26, 2002.