d.correlate.1grass man page

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


display, statistics, raster, diagram, correlation


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


Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


map=name[,name,...] [required]
Name of raster map(s)


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.


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


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

See Also

d.text, d.graph, r.coin, r.regression.line, r.stats


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

Last changed: $Date: 2015-10-27 18:41:34 +0100 (Tue, 27 Oct 2015) $

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

© 2003-2016 GRASS Development Team, GRASS GIS 7.0.4 Reference Manual


GRASS 7.0.4 Grass User's Manual