1r3.colors(1) Grass User's Manual r3.colors(1)
2
3
4
6 r3.colors - Creates/modifies the color table associated with a 3D
7 raster map.
8
10 raster3d, color table
11
13 r3.colors
14 r3.colors --help
15 r3.colors [-rwldngae] [map=name[,name,...]] [file=name]
16 [color=style] [raster=name] [raster_3d=name] [rules=name]
17 [--help] [--verbose] [--quiet] [--ui]
18
19 Flags:
20 -r
21 Remove existing color table
22
23 -w
24 Only write new color table if it does not already exist
25
26 -l
27 List available rules then exit
28
29 -d
30 List available rules with description then exit
31 If a color rule is given, only this rule is listed
32
33 -n
34 Invert colors
35
36 -g
37 Logarithmic scaling
38
39 -a
40 Logarithmic-absolute scaling
41
42 -e
43 Histogram equalization
44
45 --help
46 Print usage summary
47
48 --verbose
49 Verbose module output
50
51 --quiet
52 Quiet module output
53
54 --ui
55 Force launching GUI dialog
56
57 Parameters:
58 map=name[,name,...]
59 Name of 3D raster map(s)
60
61 file=name
62 Input file with one map name per line
63 Input map names can be defined in an input file in case a large
64 amount of maps must be specified. This option is mutual exclusive
65 to the map option.
66
67 color=style
68 Name of color table
69 Options: aspect, aspectcolr, bcyr, bgyr, blues, byg, byr, celsius,
70 corine, curvature, differences, elevation, etopo2, evi, fahrenheit,
71 gdd, grass, greens, grey, grey.eq, grey.log, grey1.0, grey255, gyr,
72 haxby, inferno, kelvin, magma, ndvi, ndwi, oranges, plasma, popula‐
73 tion, population_dens, precipitation, precipitation_daily, precipi‐
74 tation_monthly, rainbow, ramp, random, reds, roygbiv, rstcurv, ryb,
75 ryg, sepia, slope, soilmoisture, srtm, srtm_plus, terrain, viridis,
76 water, wave
77 aspect: aspect oriented grey colors [range: map values]
78 aspectcolr: aspect oriented rainbow colors [range: 0 to 360]
79 bcyr: blue through cyan through yellow to red [range: map values]
80 bgyr: blue through green through yellow to red [range: map values]
81 blues: white to blue [range: map values]
82 byg: blue through yellow to green [range: map values]
83 byr: blue through yellow to red [range: map values]
84 celsius: blue to red for degree Celsius temperature [range: -80 to
85 80]
86 corine: EU Corine land cover colors [range: 111 to 995]
87 curvature: for terrain curvatures (from v.surf.rst and
88 r.slope.aspect) [range: map values]
89 differences: differences oriented colors [range: map values]
90 elevation: maps relative ranges of raster values to elevation
91 color ramp [range: map values]
92 etopo2: colors for ETOPO2 worldwide bathymetry/topography [range:
93 -11000 to 8850]
94 evi: enhanced vegetative index colors [range: -1 to 1]
95 fahrenheit: blue to red for Fahrenheit temperature [range: -112 to
96 176]
97 gdd: accumulated growing degree days [range: 0 to 6000]
98 grass: GRASS GIS green (perceptually uniform) [range: map values]
99 greens: white to green [range: map values]
100 grey: grey scale [range: map values]
101 grey.eq: histogram-equalized grey scale [range: map values]
102 grey.log: histogram logarithmic transformed grey scale [range: map
103 values]
104 grey1.0: grey scale for raster values between 0.0-1.0 [range: 0 to
105 1]
106 grey255: grey scale for raster values between 0-255 [range: 0 to
107 255]
108 gyr: green through yellow to red [range: map values]
109 haxby: relative colors for bathymetry or topography [range: map
110 values]
111 inferno: perceptually uniform sequential color table inferno
112 [range: map values]
113 kelvin: blue to red for temperature in Kelvin scale [range: 193.15
114 to 353.15]
115 magma: perceptually uniform sequential color table magma [range:
116 map values]
117 ndvi: Normalized Difference Vegetation Index colors [range: -1 to
118 1]
119 ndwi: Normalized Difference Water Index colors [range: -200 to
120 200]
121 oranges: white to orange [range: map values]
122 plasma: perceptually uniform sequential color table plasma [range:
123 map values]
124 population: color table covering human population classification
125 breaks [range: 0 to 2e+09]
126 population_dens: color table covering human population density
127 classification breaks [range: 0 to 1e+09]
128 precipitation: precipitation color table (0..2000mm) [range: 0 to
129 7000]
130 precipitation_daily: precipitation color table (0..1000mm) [range:
131 0 to 10000]
132 precipitation_monthly: precipitation color table (0..1000mm)
133 [range: 0 to 1000]
134 rainbow: rainbow color table [range: map values]
135 ramp: color ramp [range: map values]
136 random: random color table [range: map values]
137 reds: white to red [range: map values]
138 roygbiv: [range: map values]
139 rstcurv: terrain curvature (from r.resamp.rst) [range: map values]
140 ryb: red through yellow to blue [range: map values]
141 ryg: red through yellow to green [range: map values]
142 sepia: yellowish-brown through to white [range: map values]
143 slope: r.slope.aspect-type slope colors for raster values 0-90
144 [range: 0 to 90]
145 soilmoisture: soilmoisture color table (0.0-1.0) [range: 0 to 1]
146 srtm: color palette for Shuttle Radar Topography Mission elevation
147 [range: -11000 to 8850]
148 srtm_plus: color palette for Shuttle Radar Topography Mission ele‐
149 vation (with seafloor colors) [range: -11000 to 8850]
150 terrain: global elevation color table covering -11000 to +8850m
151 [range: -11000 to 8850]
152 viridis: perceptually uniform sequential color table viridis
153 [range: map values]
154 water: water depth [range: map values]
155 wave: color wave [range: map values]
156
157 raster=name
158 Raster map from which to copy color table
159
160 raster_3d=name
161 3D raster map from which to copy color table
162
163 rules=name
164 Path to rules file
165 "-" to read rules from stdin
166
168 r3.colors has exactly the same functionality as r.colors but for 3D
169 raster maps. Please refer to r.colors.
170
172 r3.colors map=volume_1 color=gyr
173
175 r.colors, r.colors.out, r3.colors.out, v.colors, v.colors.out
176
177 See also wiki page Color tables (from GRASS User Wiki)
178
179 ColorBrewer is an online tool designed to help people select good color
180 schemes for maps and other graphics.
181
183 Michael Shapiro and David Johnson
184 Support for 3D rasters by Soeren Gebbert
185
186 Last changed: $Date: 2014-12-09 19:39:37 +0100 (Tue, 09 Dec 2014) $
187
189 Available at: r3.colors source code (history)
190
191 Main index | 3D raster index | Topics index | Keywords index | Graphi‐
192 cal index | Full index
193
194 © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
195
196
197
198GRASS 7.6.0 r3.colors(1)