Subranges in histogram identifiers


Usage of subranges in histogram identifiers

histogram/file 1 pawhists.hbook hrin 0 close 1 4 TRACE ON zon 2 2 1 HI/PL 110(56:95) E 4 * Comments are not printed in TRACE mode hi/pl 200(8:8,) box 3 HI/PL 200(3:15,3:15) CONT 4 TRACE OFF 2 hi/pl 200(0.:12,0.1:0.5) LEGO

  1. This example shows how to plot subranges of 1D or 2D histograms. The different possibility to give the range are the following:
    1. id(n1:n2) with n1 =< n2 .
    2. id(n1:) in this case n2 = number of bins .
    3. id(:n2) in this case n1 = 1 .
  2. If n1 or n2 are integer they are consider as bin numbers. But if they are real they are consider axis values. Note that bin values and axis values can be mixed inside the same range definition.
  3. In case of 2D histograms, the two ranges are separate with ``,''.

    Note also:

  4. The TRACE command sets ON or OFF the trace mode. When this mode is on, all the command executed inside macros are displayed on the standard output.

    Ouput of the TRACE mode

    >>>>> zon 2 2 >>>>> HI/PL 110(56:95) E >>>>> hi/pl 200(8:8,) box >>>>> HI/PL 200(3:15,3:15) CONT >>>>> TRACE OFF


PAW TutorialLast update: 1999/04/01 14.58
Olivier.Couet@Cern.Ch