GRASS logo

Note: A new GRASS GIS stable version has been released: GRASS GIS 7.4, available here.
Updated manual page: here

NAME

r3.colors - Creates/modifies the color table associated with a 3D raster map.

KEYWORDS

raster3d, color table

SYNOPSIS

r3.colors
r3.colors --help
r3.colors [-rwlngae] [map=name[,name,...]] [file=name] [color=style] [raster=name] [raster_3d=name] [rules=name] [--help] [--verbose] [--quiet] [--ui]

Flags:

-r
Remove existing color table
-w
Only write new color table if it does not already exist
-l
List available rules then exit
-n
Invert colors
-g
Logarithmic scaling
-a
Logarithmic-absolute scaling
-e
Histogram equalization
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

map=name[,name,...]
Name of 3D raster map(s)
file=name
Input file with one map name per line
Input map names can be defined in an input file in case a large amount of maps must be specified. This option is mutual exclusive to the map option.
color=style
Name of color table
Options: aspect, aspectcolr, bcyr, bgyr, blues, byg, byr, celsius, corine, curvature, differences, elevation, etopo2, evi, fahrenheit, gdd, greens, grey, grey.eq, grey.log, grey1.0, grey255, gyr, haxby, kelvin, ndvi, ndwi, oranges, population, population_dens, precipitation, precipitation_daily, precipitation_monthly, rainbow, ramp, random, reds, rstcurv, ryb, ryg, sepia, slope, srtm, srtm_plus, terrain, wave
aspectaspect: aspect oriented grey colors
aspectcolraspectcolr: aspect oriented rainbow colors
bcyrbcyr: blue through cyan through yellow to red
bgyrbgyr: blue through green through yellow to red
bluesblues: white to blue
bygbyg: blue through yellow to green
byrbyr: blue through yellow to red
celsiuscelsius: blue to red for degree Celsius temperature
corinecorine: EU Corine land cover colors
curvaturecurvature: for terrain curvatures (from v.surf.rst and r.slope.aspect)
differencesdifferences: differences oriented colors
elevationelevation: maps relative ranges of raster values to elevation color ramp
etopo2etopo2: colors for ETOPO2 worldwide bathymetry/topography
evievi: enhanced vegetative index colors
fahrenheitfahrenheit: blue to red for Fahrenheit temperature
gddgdd: accumulated growing degree days
greensgreens: white to green
greygrey: grey scale
grey.eqgrey.eq: histogram-equalized grey scale
grey.loggrey.log: histogram logarithmic transformed grey scale
grey1.0grey1.0: grey scale for raster values between 0.0-1.0
grey255grey255: grey scale for raster values between 0-255
gyrgyr: green through yellow to red
haxbyhaxby: relative colors for bathymetry or topography
kelvinkelvin: blue to red for temperature in Kelvin scale
ndvindvi: Normalized Difference Vegetation Index colors
ndwindwi: Normalized Difference Water Index colors
orangesoranges: white to orange
populationpopulation: color table covering human population classification breaks
population_denspopulation_dens: color table covering human population density classification breaks
precipitationprecipitation: precipitation color table (0..2000mm)
precipitation_dailyprecipitation_daily: precipitation color table (0..1000mm)
precipitation_monthlyprecipitation_monthly: precipitation color table (0..1000mm)
rainbowrainbow: rainbow color table
rampramp: color ramp
randomrandom: random color table
redsreds: white to red
rstcurvrstcurv: terrain curvature (from r.resamp.rst)
rybryb: red through yellow to blue
rygryg: red through yellow to green
sepiasepia: yellowish-brown through to white
slopeslope: r.slope.aspect-type slope colors for raster values 0-90
srtmsrtm: color palette for Shuttle Radar Topography Mission elevation
srtm_plussrtm_plus: color palette for Shuttle Radar Topography Mission elevation (with seafloor colors)
terrainterrain: global elevation color table covering -11000 to +8850m
wavewave: color wave
raster=name
Raster map from which to copy color table
raster_3d=name
3D raster map from which to copy color table
rules=name
Path to rules file
"-" to read rules from stdin

Table of contents

DESCRIPTION

r3.colors has exactly the same functionality as r.colors but for 3D raster maps. Please refer to r.colors.

EXAMPLES

r3.colors map=volume_1 color=gyr

SEE ALSO

r.colors, r.colors.out, r3.colors.out, v.colors, v.colors.out

See also wiki page Color tables (from GRASS User Wiki)

ColorBrewer is an online tool designed to help people select good color schemes for maps and other graphics.

AUTHORS

Michael Shapiro and David Johnson
Support for 3D rasters by Soeren Gebbert

Last changed: $Date: 2014-12-09 10:46:50 -0800 (Tue, 09 Dec 2014) $

SOURCE CODE

Available at: r3.colors source code (history)


Note: A new GRASS GIS stable version has been released: GRASS GIS 7.4, available here.
Updated manual page: here

Main index | 3D raster index | Topics index | Keywords index | Full index

© 2003-2018 GRASS Development Team, GRASS GIS 7.0.7svn Reference Manual