/HISTOGRAM_2D_PLOT |
---|
Plotting of 2-Dim histograms in various formats.
/HISTOGRAM/2D_PLOT/LEGO [ id theta phi chopt ] |
---|
ID | C | Histogram Identifier Loop |
THETA | R | Angle THETA in degrees D=30. |
PHI | R | Angle PHI in degrees D=30. |
CHOPT | C | Options D=' ' |
CHOPT:
'' '' | Hidden line algorithm is used. |
'1' | Hidden surface algorithm is used. The colour of the lego is given by SET HCOL CI where CI is a colour index. For the top and the sides of the lego the same hue is used but with a different light. |
'2' | Hidden surface algorithm is used. The colour of each bar changes according to the value of Z. It is possible to change the set of colours used with SET HCOL c.L where L define a palette of colours given by the command ATT/PALETTE. |
Draw a lego plot from 2-Dim or 1-Dim histograms. It is also possible to
produce stacked lego plots. A stacked lego plot consists of a
superimposition of several histograms, whose identifiers are given in the
command LEGO separated by the character '+'.
Examples:
The commands OPTION BAR, SET BARW and SET BARO act on lego plots
The options 1 and 2 must be used only on selective erase devices.
/HISTOGRAM/2D_PLOT/SURFACE [ id theta phi chopt ] |
---|
ID | C | Histogram Identifier Loop |
THETA | R | Angle THETA in degrees D=30. |
PHI | R | Angle PHI in degrees D=30. |
CHOPT | C | Options D=' ' |
CHOPT:
'' '' | Hidden line algorithm is used. |
'1' | Hidden surface algorithm is used and each cell is filled with a colour corresponding to the Z value (or grey scale with PostScript). It is possible to change the set of colours used with SET HCOL ic.L where L define a palette of colours given by the command ATT/PALETTE. |
'2' | Similar to option '1' except that the cell lines are not drawn. This is very useful to draw contour plots with colours if THETA=90 and PHI=0. |
'3' | Surface is drawn with a contour plot in color on top. The contour plot is drawn with the colors defined with the command PALETTE. |
'4' | Surface is drawn with Gouraud shading. |
Draw a surface plot from 2-Dim or 1-Dim histograms. With this command it
is possible to draw color contour plots:
The options 1 to 4 must be used only on selective erase devices.
/HISTOGRAM/2D_PLOT/CONTOUR [ id nlevel chopt param ] |
---|
ID | C | Histogram Identifier Loop |
NLEVEL | I | Number of contour lines D=10 |
CHOPT | C | Options D='1' |
PARAM | C | Vector of contour levels |
CHOPT:
'0' | Use colour to distinguish contours. |
'1' | Use line style to distinguish contours. |
'2' | Line style and colour are the same for all contours. |
'3' | The contour is drawn with filled colour levels. The levels are equidistant. The color indices are taken in the current palette (defined with the command PALETTE). If the number of levels (NLEVEL) is greater than the number of entries in the current palette, the palette is explore again from the beginning in order to reach NLEVEL. |
'S' | Superimpose plot on top of existing picture. |
Draw a contour plot from a 2-Dim histogram. If PARAM is not given, contour levels are equidistant. If given, the vector PARAM may contain up to 50 values.
Example:
Note: The non equidistant contours are not implemented with the option '3'.