d.correlate(1grass)

d.correlate1grass

Prints a graph of the correlation between raster maps (in pairs).

Usage

d.correlate

d.correlate --help

d.correlate map=name [,name, ...] [--help] [--verbose] [--quiet] [--ui]

Keywords

display, statistics, raster, diagram, correlation

Overview

d.correlate displays graphically the results of a r.stats analysis run on two raster map layers. This module highlights the correlation (or lack of it) among data layers (scattergram).

The results are displayed in the active display frame on the user’s graphics monitor. d.correlate erases the active frame before displaying results. If no graphics monitor is open, a file map.png is generated in the current directory.

Notes

If three or four map layers are specified, the correlation among each combination of two data layers is displayed.

Examples

Scatterplot of two LANDSAT TM7 channels (North Carolina sample dataset):

g.region raster=lsat7_2002_30 -p
d.correlate map=lsat7_2002_30,lsat7_2002_40

Scatterplot of two LANDSAT TM7 channels

Source code

Available at: d.correlate source code (history)

Accessed: Monday Feb 24 17:51:43 2025

Main index | Display index | Topics index | Keywords index | Graphical index | Full index

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

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

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

Authors

Michael Shapiro, U.S.Army Construction Engineering Research Laboratory

Rewritten to GRASS 6 (from csh to sh) by Markus Neteler; from sh to Python by Glynn Clements

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