<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>GRASS GIS: d.correlate</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" href="grassdocs.css" type="text/css"> </head> <body bgcolor="white"> <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade> <h2>NAME</h2> <em><b>d.correlate</b></em> - prints a graph of the correlation between data layers (in pairs) <h2>KEYWORDS</h2> display, diagram <h2>SYNOPSIS</h2> <b>d.correlate</b><br> <b>d.correlate help</b><br> <b>d.correlate</b> <b>layer1</b>=<em>string</em> <b>layer2</b>=<em>string</em> [<b>layer3</b>=<em>string</em>] [<b>layer4</b>=<em>string</em>] [--<b>verbose</b>] [--<b>quiet</b>] <h3>Parameters:</h3> <DL> <DT><b>layer1</b>=<em>string</em></DT> <DD>raster input map</DD> <DT><b>layer2</b>=<em>string</em></DT> <DD>raster input map</DD> <DT><b>layer3</b>=<em>string</em></DT> <DD>raster input map</DD> <DT><b>layer4</b>=<em>string</em></DT> <DD>raster input map</DD> </DL> <H2>DESCRIPTION</H2> <EM>d.correlate</EM> is a shell (sh(1)) script that graphically displays the results of an <EM><A HREF="r.stats.html">r.stats</A></EM> run on two raster map layers. This shell script is useful for highlighting the correlation (or lack of it) among data layers (scattergram). <P> The results are displayed in the active display frame on the user's graphics monitor. <EM>d.correlate</EM> erases the active frame before displaying results. <H2>OPTIONS</H2> <H3>Parameters:</H3> <DL> <DT><EM>layer1 layer2 </EM>[<EM>layer3</EM> [<EM>layer4</EM>]] <DD>The names of from two to four existing raster map layers to be included in the correlation. </DL> <H2>NOTES</H2> This is a shell script that uses <EM><A HREF="r.stats.html">r.stats</A></EM> and the UNIX <EM>awk</EM> command to calculate the correlation among data layers, and uses <EM><A HREF="d.text.html">d.text</A></EM> and <EM><A HREF="d.graph.html">d.graph</A></EM> to display the results. <P> If three or four map layers are specified, the correlation among each combination of two data layers is displayed. <H2>FILES</H2> This program is simply a shell script. Users are encouraged to make their own shell script programs using similar techniques. See <KBD>$GISBASE/scripts/d.correlate</KBD>. <H2>SEE ALSO</H2> The UNIX <EM>awk</EM> command <P> <EM><A HREF="d.text.html">d.text</A></EM>, <EM><A HREF="d.graph.html">d.graph</A></EM>, <EM><A HREF="r.coin.html">r.coin</A></EM>, <EM><A HREF="r.stats.html">r.stats</A></EM> <H2>AUTHOR</H2> Michael Shapiro, <A HREF="http://www.cecer.army.mil/">U.S.Army Construction Engineering Research Laboratory</A> <p> Rewritten to GRASS 6 (from csh to sh) by Markus Neteler <p><i>Last changed: $Date: 2005-05-18 13:19:25 +0200 (Wed, 18 May 2005) $</i> <HR> <P><a href="index.html">Main index</a> - <a href="display.html">display index</a> - <a href="full_index.html">Full index</a></P> <P>© 2003-2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></p> </body> </html>