~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to scripts/d.correlate/description.html

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<h2>DESCRIPTION</h2>
2
 
 
3
 
<em>d.correlate</em> is a shell (sh(1)) script that
4
 
graphically displays the results of an
5
 
  <em><a href="r.stats.html">r.stats</a></em> 
6
 
run on two raster map layers.  This shell script is useful
7
 
for highlighting the correlation (or lack of it) among data
8
 
layers (scattergram).
9
 
<p>
10
 
The results are displayed in the active display frame on
11
 
the user's graphics monitor.  <em>d.correlate</em> erases
12
 
the active frame before displaying results.
13
 
<p>
14
 
The <b>layer</b><i>n</i> parameters supply the names of two to
15
 
four existing raster map layers to be included in the correlation.
16
 
 
17
 
 
18
 
<h2>NOTES</h2>
19
 
 
20
 
This is a shell script that uses <em><a href="r.stats.html">r.stats</a></em> 
21
 
and the UNIX <em>awk</em> command to calculate the correlation among data
22
 
layers, and uses <em><a href="d.text.html">d.text</a></em> and 
23
 
<em><a href="d.graph.html">d.graph</a></em> to display the results.
24
 
<p>
25
 
If three or four map layers are specified, the correlation
26
 
among each combination of two data layers is displayed.
27
 
 
28
 
 
29
 
<h2>EXAMPLE</h2>
30
 
 
31
 
<center>
32
 
<img src="d_correlate.png" border=1 width="70%"><br>
33
 
</center>
34
 
 
35
 
Compare LANDSAT-7 bands 2 and 3 in the North Carolina sample dataset,
36
 
and over-plot a trend line:
37
 
<div class="code"><pre>
38
 
  g.region rast=lsat7_2002_20
39
 
  d.correlate -t layer1=lsat7_2002_20 layer2=lsat7_2002_30 --verbose
40
 
</pre></div>
41
 
 
42
 
 
43
 
<h2>SEE ALSO</h2>
44
 
 
45
 
<em>
46
 
<a href="d.text.html">d.text</a>,
47
 
<a href="d.graph.html">d.graph</a>,
48
 
<a href="r.coin.html">r.coin</a>,
49
 
<a href="r.regression.line.html">r.regression.line</a>,
50
 
<a href="r.stats.html">r.stats</a>
51
 
</em>
52
 
 
53
 
 
54
 
<h2>AUTHORS</h2>
55
 
 
56
 
Michael Shapiro,
57
 
<a href="http://www.cecer.army.mil/">U.S.Army Construction Engineering 
58
 
Research Laboratory</a>
59
 
<p>
60
 
Rewritten to GRASS 6 (from csh to sh) by Markus Neteler<br>
61
 
Linear regression model and trend line plotting by Hamish Bowman
62
 
 
63
 
<p>
64
 
<i>Last changed: $Date: 2013-09-22 09:51:30 +0200 (Sun, 22 Sep 2013) $</i>