/GRAPHICS_ATTRIBUTES

Change HIGZ attributes.

/GRAPHICS/ATTRIBUTES/COLOR_TABLE icol [ red green blue ]

ICOL I Color Index D=1
RED R Weight of red D=0. R=0.:1.
GREEN R Weight of green D=0. R=0.:1.
BLUE R Weight of blue D=0. R=0.:1.

Define the color ICOL.

/GRAPHICS/ATTRIBUTES/PALETTE palnb [ nel list ]

PALNB I Palette number D=0 R=0:9
NEL I Number of elements in the palette D=0 R=0:50
LIST I List of the palette elements D=0

Define a palette of attributes. The palette number is used in the command SET. The command SET HCOL 0.1 defines the palette number 1 as colour indices used by the command LEGO in case of stacked lego plots and plotting of SURFACE with options 1 or 2, LEGO with option 2 and CONTOUR with option 3.

By default the palettes are initialized with 6 elements: 2,3,4,5,6,7.

If the number of elements (NEL) is equal to 0 (default), the palette is filled automatically according to the number of colours defined with the command SET NCOL:

a) If NCOL is smaller or equal to 8, the palette is filled with a subset of the 8 basic colours. Example:

PAW > SET NCOL 8 | Define the number of colours PAW > PALETTE 1 | The palette 1 is filled with | 8 elements: 0,5,7,3,6,2,4,1 PAW > SET NCOL 4 | Define the number of colours PAW > PALETTE 1 | The palette 1 is filled with | 4 elements: 0,5,7,3

b) If NCOL is greater than 8, the palette is filled with colours varying continuously from blue to red. This is called a 'geographical palette'. Example:

PAW > SET NCOL 16 | Define the number of colours PAW > PALETTE 1 | Fill palette 1 with 8 elements | (8,9,10,11,12,13,14,15) varying | continuously from blue to red

Note that after the command SET NCOL, the color indices from 8 to NCOL are set with gray levels. The command PALETTE 1 reset the same indices with a 'geographical palette' varying continuously from blue to red.