r.colors.stddev(1grass)

r.colors.stddev1grass

Sets color rules based on stddev from a raster map’s mean value.

Usage

r.colors.stddev

r.colors.stddev --help

r.colors.stddev [-bz] map=name [--help] [--verbose] [--quiet] [--ui]

Keywords

raster, color table

Overview

r.colors.stddev set raster map color rules based on standard deviations from a map’s mean value, either as a continuous color gradient or in color bands per standard deviation (S.D.) from the mean.

With the color band option values less that 1 S.D. from the mean are colored green, within 1-2 S.D. are colored yellow, within 2-3 S.D. are colored red, and beyond 3 S.D. are colored black.

For a differences map there is an option to lock the center of the color table at zero. Values more than two S.D. below the mean will be colored blue; values below the mean but less than 2 S.D. away will transition to white, and above the mean the colors will simularly transition to full red at +2 S.D.

Examples

North Carolina sample dataset:

g.region raster=elevation -p
r.colors.stddev elevation

Figure: Standard deviations from mean elevation

Source code

Available at: r.colors.stddev source code (history)

Accessed: Monday Feb 24 17:51:44 2025

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

Hamish Bowman, Dunedin, New Zealand

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.