CERN home page CERN home page Consult pages Consult pages Writeups at CERN Writeups at CERN Garfield pages Garfield pages Help Help Call Call BOOK_HISTOGRAM BOOK_HISTOGRAM Search Keyword index

Call: BOOK_HISTOGRAM


reference

Contains, on successful completion of the procedure, a reference to the histogram that has been created. This reference is a Global variable of type Histogram which is from then on be used when filling the histogram with FILL_HISTOGRAM, and also when doing arithmetic with it. One can for instance add two histograms via a simple + operation between the references of the two histograms.

This parameter should have the format of a normal variable name (e.g. A, REF, B_1) not of e.g. a constant number, string or logical. This parameter can either be a new, unused, variable or one that is already in use. In the latter case, the object related to the global variable will be deleted. Hence, when you issue a BOOK_HISTOGRAM call for an histogram which already exists, you effectively reset the histogram.

This argument is mandatory.


bins

Should contain on input the Number of bins in the histogram.

This argument is optional, default value is 100 bins.


minimum

The minimum and maximum are Numbers which respectively set the lower limit of the first bin and the upper limit of the last bin of the histogram.

The AUTOSCALE option is implied if these arguments are omitted. The range is ignored if the autoscaling is explicitely requested as one of the options. If you specify the minimum, you must also specify the maximum.


maximum

See minimum.

options

A character String that can contain the following options:

Option Meaning
AUTOSCALE Requests automatic scaling, ignoring min and max
INTEGER Entries will be integers
MANUAL Manual scaling, minimum and maximum respected
REAL Entries will be reals or integers

Additional information on:
   


Go to the top level, to Call, to BOOK_HISTOGRAM, to the topic index, to the table of contents, or to the full text.

Formatted on 0104-01-16 at 20:36.