next up previous contents index
Next: Graphic Choices (1-dimensional Up: Editing operations Previous: Index and General

What to Print (1-dimensional histogram)

 

Each 1-dimensional histogram output consists of several parts, some compulsory and some optional:
general title compulsory (if defined)
identifier, date and title compulsory
the histogram itself default = yes
channel numbers default = yes
channel contents default = yes
error values default = no
value of the superimposed function (if any)default = no
integrated contents default = no
low edge of channels default = yes
statistical information default = yes

Routine HIDOPT can be used to change the above defaults.

CALL HIDOPT (ID,CHOPT)

Action: Select an option for a given histogram.

Input parameters:
ID
Histogram identifier. If ID=0 the option is set for all histograms.
CHOPT
Character variable specifying the option chosen (see table gif.)

OptionAction
SETD*Set all options to the default values
SHOW Print all the options currently set
BLAC 1 Dim histogram printed with X characters (see HPCHAR)
CONT*1 Dim histogram is printed with the contour option
STAR 1 Dim histogram is printed with a * at the Y value (see HPCHAR)
SCAT*Print a 2 Dim histogram as a scatter-plot
TABL Print a 2 Dim histogram as a table
PROS*Plot errors as the Spread of each bin in Y for profile histograms
PROE Plot errors as the mean of each bin in Y for profile histograms
STAT Mean value and RMS computed at filling time (double precision)
NSTA*Mean value and RMS computed from bin contents only
ERRO Errors bars printed as SQRT(contents)
NERR*Do not print print error bars
INTE Print the values of integrated contents bin by bin
NINT*Do not print integrated contents
LOGY 1 Dim histogram is printed in Log scale in Y
LINY*1 Dim histogram is printed in linear scale in Y
PCHA*Print channel numbers
NPCH Do not print channel numbers
PCON*Print bin contents
NPCO Do not print bin contents
PLOW*Print values of low edge of the bins
NPLO Do not print the low edge
PERR Print the values of the errors for each bin
NPER*Do not print the values of the errors
PFUN Print the values of the associated function bin by bin
NPFU*Do not print the values of the associated function
PHIS*Print the histogram profile
NPHI Do not print the histogram profile
PSTA*Print the values of statistics (entries,mean,RMS,etc.)
NPST Do not print values of statistics
ROTA Print histogram rotated by 90 degrees
NROT*Print histogram vertically
1EVL Force an integer value for the steps in the Y axis
AEVL*Steps for the Y axis are automatically computed
2PAG Histogram is printed over two pages
1PAG*Histogram is printed in one single page
2lA star |'*'| indicates that the option is the default setting.

List of available HBOOK options, which can be set by HIDOPT  

CALL HSTAF (CHOPT)

If CHOPT='YES' statistics are computed at filling time. All the histograms created (via HBOOK1 or HBOOK2) after a CALL HSTAF('YES'), will have the IDOPT option 'STAT'STAT automatically activated. This is very useful when histograms are created in an indirect way like in the command NT/PLOT. The way to activate this option in PAW is:

PAW > OPTION HSTA      
PAW > NT/PLOT 10.x IDH=100


next up previous contents index
Next: Graphic Choices (1-dimensional Up: Editing operations Previous: Index and General

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