## DESCRIPTION

d.correlate is a shell (sh(1)) script that graphically displays the results of an r.stats run on two raster map layers. This shell script is useful for highlighting 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.

## OPTIONS

### Parameters:

layer1 layer2 [layer3 [layer4]]
  The names of from two to four existing raster map layers to be included in the correlation.

## NOTES

This is a shell script that uses r.stats and the UNIX awk command to calculate the correlation among data layers, and uses d.text and d.graph to display the results.

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

## FILES

This program is simply a shell script. Users are encouraged to make their own shell script programs using similar techniques. See `$GISBASE/scripts/d.correlate`.

## SEE ALSO

The UNIX awk command.

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

## AUTHOR

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

Rewritten to GRASS 6 (from csh to sh) by Markus Neteler

Last changed: $Date: 2011-11-08 03:29:50 -0800 (Tue, 08 Nov 2011) $