other versions
- jessie 6.4.4-1
d.colors(1grass) | Grass User's Manual | d.colors(1grass) |
NAME¶
d.colors - Allows the user to interactively change the color table of a raster map layer displayed on the graphics monitor.KEYWORDS¶
display, rasterSYNOPSIS¶
d.colorsParameters:¶
- map=string
-
DESCRIPTION¶
A color table file associates specific colors with the categories of a raster map layer. The user can change these map category color assignments (i.e., change the map's color table) interactively, by first displaying the raster map to the graphics monitor and then running the program d.colors. Any color changes made using d.colors will not immediately be shown on the graphics display; however, any color changes saved will still alter the map's color table and will appear next time the raster map layer is redisplayed (see d.colortable). The user must first display the relevant raster map layer to the active frame on the graphics monitor (e.g., using d.rast) before running d.colors. The user can then either enter the name of the raster map layer whose color table is to be changed on the command line (e.g., by typing: d.colors map=soils), or type d.colors without program arguments. If the user simply types d.colors without program arguments on the command line, d.colors will ask the user to enter the name of an existing raster map layer using the standard GRASS interface. In either case, the user is then presented with the d.colors command menu, shown below. The d.colors commands are listed beneath the Category Pointer Movement, Color Modification, Replotting Screen, and Quitting sections below. Commands are invoked by typing in the single-key response shown to the left below. (Longer descriptions of these commands appear to the right.) Results from invoking these commands will be reflected in the Category and Category Number sections of the d.colors screen. On the d.colors screen menu, commands appear in the right half of the screen, and the current status of categories appears in the left half of the screen.0 No Data
1 (Category 1 description)
2 (Category 2 description)
. ....
. ....
RED 0 0%
GREEN 0 0%
BLUE 0 0%
D/d down (cats) Move pointer to next category
U/u up (cats) Move pointer to previous category
R/r RED Increase/decrease RED intensity
G/g GREEN Increase/decrease GREEN intensity
B/b BLUE Increase/decrease BLUE intensity
I/i increment Increase/decrease increment
(of intensity shift)
h highlight Highlight current color
+/- shift colors Shift entire color table (up/down)
c save color Save color table
t toggle table Toggle to different color table
* Replot screen Replots the screen
Q quit Quits program
Colors changed
Save the changes? (y/n)
Quit anyway? (y/n)
NOTES¶
The map whose color table is to be altered with d.colors must already be on display in the active display frame on the graphics monitor before d.colors is run. This can be done using the command d.rast map=name (where name is a raster map layer whose color table the user wishes to alter). Some color monitors may not support the full range of colors required to display all of the map's categories listed in the map's color table. However, regardless of whether the user can see the color changes he is effecting to a map's color table, any changes to a map's color table made with d.colors that are saved will appear in the map's color table.SEE ALSO¶
d.colortable, d.rast, r.colorsAUTHOR¶
James Westervelt, U.S. Army Construction Engineering Research Laboratory Last changed: $Date: 2011-11-08 10:42:51 +0100 (Tue, 08 Nov 2011) $ Full index © 2003-2014 GRASS Development TeamGRASS 6.4.4 |