Default Color Map |
 |
To initialize the current color map to the default values
shown below, set the mode parameter of
gopen to INIT when opening a depth
8 window. This is the Starbase CMAP_NORMAL
mode. (To see the rest of the colors, use the inquire_color_map call to
read the Starbase color table).
Table 2-2 Starbase
Default Color Table
Index | Color | Red | Green | Blue |
|---|
0 | black | 0.0 | 0.0 | 0.0 |
1 | white | 1.0 | 1.0 | 1.0 |
2 | red | 1.0 | 0.0 | 0.0 |
3 | yellow | 1.0 | 1.0 | 0.0 |
4 | green | 0.0 | 1.0 | 0.0 |
5 | cyan | 0.0 | 1.0 | 1.0 |
6 | blue | 0.0 | 0.0 | 1.0 |
7 | magenta | 1.0 | 0.0 | 1.0 |
8 | 10% gray | 0.1 | 0.1 | 0.1 |
9 | 20% gray | 0.2 | 0.2 | 0.2 |
10 | 30% gray | 0.3 | 0.3 | 0.3 |
11 | 40% gray | 0.4 | 0.4 | 0.4 |
12 | 50% gray | 0.5 | 0.5 | 0.5 |
13 | 60% gray | 0.6 | 0.6 | 0.6 |
14 | 70% gray | 0.7 | 0.7 | 0.7 |
15 | 80% gray | 0.8 | 0.8 | 0.8 |
16 | 90% gray | 0.9 | 0.9 | 0.9 |
17 | white | 1.0 | 1.0 | 1.0 |
| | | | |
| | | | |
| | | | |
255 | white | 1.0 | 1.0 | 1.0 |