Standard Library procedure that displays the current color table colors and their associated color table indices.
The total number of colors that can appear in the COLOR_PALETTE window is 236, which reflects the current value of !D.N_Colors. The black cells in the upper-right corner of the window represent colors that are not available to PV-WAVE because they have been reserved by Windows.
Windows Users:
Figure 2-11 The COLOR_PALETTE window (Motif version). This window displays every other color in the current color table, along with the corresponding numerical value or color table index. The black cells in the upper-right corner of the window represent colors that are not available to PV-WAVE because they have been reserved by some other application, such as the window manager.
Figure 2-12 The COLOR_PALETTE window (Motif version). This window displays every other color in the current color table, along with the corresponding numerical value or color table index. The black cells in the upper-right corner of the window represent colors that are not available to PV-WAVE because they have been reserved by another application, such as the window manager.
b = FINDGEN(37) x = b * 10 y = SIN(x * !Dtor)
PLOT, x, y, XRange=[0,360], XStyle=1, YStyle=1
COLOR_PALETTE
TEK_COLOR
POLYFILL, x, y, Color=6 POLYFILL, x, y/2, Color=3 POLYFILL, x, y/6, Color=4
z = COS(x * !Dtor)
OPLOT, x, z/8, Linestyle=2, Color=5
OPENR, lun, !Data_dir + 'head.img', /Get_lun image = BYTARR(512, 512) READU, lun, image LOADCT, 0 TVSCL, image COLOR_PALETTE LOADCT, 5 LOADCT, 3
For more information about the number of colors that are displayed in the palette, see the PV-WAVE User's Guide.