next up previous contents index
Next: Filling Operations Up: Overview of booking Previous: Reserve array in

Axis labels and histograms

A set of routines, HLABEL, HFC1 and HFC2, allows one to associate labels with histogram channels. This association can be made before or after a histogram is filled, but it has the advantage that the label information get stored in the histogram data structure, so that it is available for all future plots in an automatic way in the HPLOT and PAW packages.    Printing histograms with associated alphanumeric labels is not implemented in the line-printer oriented routines of HBOOK.

CALL HLABEL (ID,NLAB,*CLAB*,CHOPT)

Action: Associates alphanumeric labels with a histogram. This routine can be called for a histogram after it has been filled, and then the labels specified will be shown on the respective axes. The routine can also be called before a histogram is filled , and in this case, when filling, a certain order can be imposed. By default the entries will be automatically ordered.

Input parameters:
ID
Histogram identifier.
NLAB
Number of labels.
CHOPT
Character variable specifying the option desired.
' '
As 'N' below.
'N'
Add NLAB new labels read in CLAB to histogram ID.
'R'
Read NLAB labels into in CLAB from histogram ID.
'X'
X-axis is being treated (default).
'Y'
Y-axis is being treated.
'Z'
Z-axis is being treated.
'S'
Sorting order of the labels:
'S'
default, as SA;
'SA'
alphabetically;
'SE'
reverse alphabetical order;
'SD'
by increasing channel contents (after filling);
'SV'
by decreasing channel contents (after filling).
'T'
Modify (replace) NLAB existing labels read from CLAB in histogram ID.
Input/Output parameter:
*CLAB*
Character variable array with NLAB elements (input and output).

Notes:


next up previous contents index
Next: Filling Operations Up: Overview of booking Previous: Reserve array in

Last update: Tue May 16 09:09:27 METDST 1995