|
EXAMPLE 1
ploticus -prefab dist fld=1 data=data6 curve=yes binsize=0.05 \ barwidth=0.08 ygrid=yes data6 file: 0.017 0.269 0.178 ..etc. EXAMPLE 2
ploticus -prefab dist fld=1 data=data8 cats=yes yrange=0 \ stubvert=yes barwidth=0.05 ylbl="# Hits" order=rev data8 file: home kwindex details browseform ..etc.
DESCRIPTIONdist is a prefab that computes and displays a frequency distribution (histogram) on a data field. The data file does not need to be ordered in any particular way. The field may contain continuous numeric data, or alphanumeric values. Continuous numeric data is the default, but the cats option may be used to produce category distributions (each unique value having a bar). With continuous numeric data, "bins" will be set up and values will be placed into these bins (any alpha values will be lumped into one "alpha" category).
This prefab is based on
proc tabulate
and
proc bars.
A user-contributed prefab called
multidist
is also available; it can do multiple, overlaid frequency distributions.
HINTIf no bars are appearing, try specifying bar size, eg. barsize=0.1. This glitch is due to the fact that default bar widths are related to data space.PARAMETERS
|
![]() data display engine Copyright Steve Grubb ![]() |