Title | Previous | Next

Palette editor

Overview

Selecting this menu item opens a window which allows you change the color palette for a visualization window or select colors for plot attributes.

Palette editor window

The Palette editor window should look similar to Palette editor window when it pops up. The colors may be different if you have saved a custom palette.

The Palette editor window allows you change the color palette for a visualization window or select colors for plot attributes. Note that the Palette editor window has hints associated with it. If hints are disabled, they can be enabled in the Preferences window. Hints are displayed by moving the pointer over an area of interest

If you don't see a description for an item in this window, check in the Shared items section near the front of the chapter.

Select mode label

The select mode label indicates what function the Palette editor is performing. If the label says "Selecting palette colors" then the Palette editor is not associated with any plot attribute window and colors can be modified without affecting color attributes in other windows. If the label says something else, the Palette editor is selecting a color for another window. If the selected color is changed and AutoUpdate is on, the change will be applied to the window for which the Palette editor is selecting a color. The select mode can be restored to "Selecting palette colors" by dismissing the Palette editor window with the Dismiss button and bringing the window up again with the Palette editor button in the Controls Menu .

Output window colors

This area of the Palette editor contains the colors that are used for the background and foreground colors of the active visualization window.

Background color

The background color corresponds to the background color of the active visualization window. To change the background color, first select it by clicking on the small color rectangle next to the "Background" label. When it is selected it will have a small white rectangle around it. Next, move the Color value sliders or enter new RGB color values into the Color text fields. After changing the color, click the Apply button to set the color, or press the Reset button to revert to the last applied color palette.

Foreground color

The foreground color corresponds to the foreground color of the active visualization window. To change the foreground color, first select it by clicking on the small color rectangle next to the "Foreground" label. When it is selected it will have a small white rectangle around it. Next, move the Color value sliders or enter new RGB color values into the Color text fields. After changing the color, click the Apply button to set the color, or press the Reset button to revert to the last applied color palette.

Colors

This area contains the color palette for the active visualization window. The colors in this area are numbered 1 to 30. Color 1 is in the upper left corner and color 2 is to its right, and so on. To change a color, first select it by clicking it. When it is selected it will have a small white rectangle around it. Next, move the Color value sliders or enter new RGB color values into the Color text fields. After changing the color, click the Apply button to set the color, or press the Reset button to revert to the last applied color palette.

If AutoUpdate is on and the Palette editor's Select mode is not "Selecting palette colors", selecting a color in this area will update the window for which the Palette editor is selecting a color. If AutoUpdate is not on, then the Apply button must be clicked to update the other window.

Color value

The color value sliders are scroll bars that change the red, green, blue components of the selected color. Changing the positions of the sliders updates the values in the Color text fields and changes the color that is used to display the selected color. The color will not be saved into the applied palette until the Apply button is clicked. The Reset button changes the palette back to the last applied palette and undoes any changes that were done by changing the color value sliders.

Color text

The color text fields are text fields that change the red, green, blue components of the selected color. Changing the values in the text fields updates the positions of the Color value sliders and changes the color that is used to display the selected color. Red, green, blue values must be entered as integers from 0 to 255. Values outside of that range will not update the selected color. The color will not be saved into the applied palette until the Apply button is clicked. The Reset button changes the palette back to the last applied palette and undoes any changes that were done by changing the color text fields.

Lookup color by name

The lookup color text field is a text field that changes the red, green, blue components of the selected color by searching for a named color and retrieving its red, green, blue components. Entering a valid X color name (e.g. PeachPuff) into the text field causes a color lookup. If the lookup is successful, the selected color's red, green, blue components are updated and the text field is blanked. If the color lookup fails, then an error message is displayed and the color name can be edited. A list of X color names is supplied with MeshTV in a file called rgb.txt.

MeshTV default button

The MeshTV defaults button is a button that returns all of the colors in the active palette to the default MeshTV colors. This was added to provide an easy way to return to the default colors if a large number of them have been modified.


Title | Previous | Next

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