Description:The loadgp function provides the capablity of modifying the SeaDAS graphics color values.
[Interactive Mode][Command Mode]
Usage: loadgp, color=color, red=red, green=green, blue=blue, reinit=reinit, err=err
Arguments/Keywords:
| color | A single color number or array of color numbers (1 to 7), specifying the SeaDAS graphics colors to modify. (Required) |
| red | A single value or array of values (0 to 255), specifying the new red values to be used for the colors specified in the color keyword. The number of items in red must equal the number of items in color. (Required) |
| green | A single value or array of values (0 to 255), specifying the new green values to be used for the colors specified in the color keyword. The number of items in green must equal the number of items in color. (Required) |
| blue | A single value or array of values (0 to 255), specifying the new blue values to be used for the colors specified in the color keyword. The number of items in blue must equal the number of items in color. (Required) |
| reinit | Load the original graphics colors. (Optional) |
| err | Returns 0 for no error, 1 for error. (Optional) |
Examples:
Change graphics color 2 to medium gray: loadgp,color=2, red=128, green=128, blue=128Change graphics color 2 and 3 to light gray and dark gray respectively: loadgp, color=[2,3], red=[200,150], green=[200,150], blue=[200,150]
Description: The Modify Graphics Palette Widget allows the modification of the seven SeaDAS graphics color values.
Note:Any changes to the graphics palette will affect all currently displayed images.
Action items:
| Current Graphics Color | The graphics color to be modified. This color can be selected by either moving this slider, or by clicking the desired graphics color box listed in the Numbered Colored Box List. | ||||||||
| Current Color | A box containing the new working color as it is being mixed. This color will not be overwritten in the graphics palette until the Update button is pushed. | ||||||||
| Update | Update the current color palette index with the color shown in the Current Color box. | ||||||||
| Numbered Colored Box List | Select the graphics color to be modified by clicking in the box of the color to be modified. The corresponding graphics color index value is listed next to each colored box. | ||||||||
| Select Color System | Select
the color system to work in to define a new color. Your new color
will appear in the Current Color box as you mix it. (Default is RGB).
|
||||||||
| Refresh Display Windows | Reresh all open display windows with updated graphics colors. | ||||||||
| Quit | Destroy the Current Graphics Index Widget. | ||||||||
| Help | Bring up hypertext help in an HTML viewer. |