Title | Previous | Next

ct

Set the pseudocolor and surface plot color tables for the active window.

Synopsis:

ct ct_name

Arguments:

ct_name

Either the name of a built-in color table, or the name of a palette file on disk. See the table below for built-in color tables.

Built-In Color Table Names

Description

caleblack

A reversed rainbow that starts with black.

calewhite

A reversed rainbow that starts with white.

contoured

A simple striped color palette containing four bands.

gray

A white to black palette.

hot

A hot to cold color palette, with blue representing low values and red high values. (Default)

rainbow

A rainbow palette.

xray

The inverse of the gray palette mentioned above.

Description:

The ct command changes the color table which is used by the pseudocolor ( pc ) command for the active window. The built-in color tables listed above are always available. In addition, MeshTV can read raw binary palette files produced by programs such as the National Center for Supercomputing Applications (NCSA) tools. The format for these binary files is 256 sets of 3 bytes where each respective byte in the trio represents red, green, and blue for each of the 256 colors.

Each window has its own color table, although on most systems you will only see one table in use at any one time. By changing the active window, issuing the ct command, and then the reset command, the palette will change.

Examples:

ct gray

ct /usr/local/pals/tim.pal

See Also:

defct , pc , redraw , winset


Title | Previous | Next

MeshTV@viper.llnl.gov
Copyright © 1998, U.S. Department of Energy. All rights reserved.