GRASS logo

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, grass, 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, roygbiv, rstcurv, ryb, ryg, sepia, slope, soilmoisture, srtm, srtm_plus, terrain, viridis, water, wave
aspect aspect: aspect oriented grey colors
aspectcolr aspectcolr: aspect oriented rainbow colors
bcyr bcyr: blue through cyan through yellow to red
bgyr bgyr: blue through green through yellow to red
blues blues: white to blue
byg byg: blue through yellow to green
byr byr: blue through yellow to red
celsius celsius: blue to red for degree Celsius temperature
corine corine: EU Corine land cover colors
curvature curvature: for terrain curvatures (from v.surf.rst and r.slope.aspect)
differences differences: differences oriented colors
elevation elevation: maps relative ranges of raster values to elevation color ramp
etopo2 etopo2: colors for ETOPO2 worldwide bathymetry/topography
evi evi: enhanced vegetative index colors
fahrenheit fahrenheit: blue to red for Fahrenheit temperature
gdd gdd: accumulated growing degree days
grass grass: GRASS GIS green (perceptually uniform)
greens greens: white to green
grey grey: grey scale
grey.eq grey.eq: histogram-equalized grey scale
grey.log grey.log: histogram logarithmic transformed grey scale
grey1.0 grey1.0: grey scale for raster values between 0.0-1.0
grey255 grey255: grey scale for raster values between 0-255
gyr gyr: green through yellow to red
haxby haxby: relative colors for bathymetry or topography
kelvin kelvin: blue to red for temperature in Kelvin scale
ndvi ndvi: Normalized Difference Vegetation Index colors
ndwi ndwi: Normalized Difference Water Index colors
oranges oranges: white to orange
population population: color table covering human population classification breaks
population_dens population_dens: color table covering human population density classification breaks
precipitation precipitation: precipitation color table (0..2000mm)
precipitation_daily precipitation_daily: precipitation color table (0..1000mm)
precipitation_monthly precipitation_monthly: precipitation color table (0..1000mm)
rainbow rainbow: rainbow color table
ramp ramp: color ramp
random random: random color table
reds reds: white to red
roygbiv roygbiv: no description
rstcurv rstcurv: terrain curvature (from r.resamp.rst)
ryb ryb: red through yellow to blue
ryg ryg: red through yellow to green
sepia sepia: yellowish-brown through to white
slope slope: r.slope.aspect-type slope colors for raster values 0-90
soilmoisture soilmoisture: soilmoisture color table (0.0-1.0)
srtm srtm: color palette for Shuttle Radar Topography Mission elevation
srtm_plus srtm_plus: color palette for Shuttle Radar Topography Mission elevation (with seafloor colors)
terrain terrain: global elevation color table covering -11000 to +8850m
viridis viridis: perceptually uniform sequential color table viridis
water water: water depth
wave wave: 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:39:37 -0800 (Tue, 09 Dec 2014) $

SOURCE CODE

Available at: r3.colors source code (history)


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

© 2003-2017 GRASS Development Team, GRASS GIS 7.2.3svn Reference Manual