3
<em>i.spectral</em> displays spectral response at user specified
8
This script needs gnuplot to be installed.
13
Analysis of LANDSAT TM7 channels (North Carolina dataset):
15
<div class="code"><pre>
16
g.region rast=lsat7_2002_10 -p
19
i.spectral -i rast=lsat7_2002_10,lsat7_2002_20,lsat7_2002_30,lsat7_2002_40,lsat7_2002_50,lsat7_2002_70
23
<img src="i_spectral.png" border=1><br>
24
Spectral plot of 3 different land cover types: (1) water, (2) green vegetation, and (3) highway
29
To analyze a time series of maps, use:
31
<div class="code"><pre>
33
LIST=`g.mlist type=rast mapset=timeseries pat="map_*" | sort -t '_' -k 2 -n | tr '\n' ','| sed 's+,$++g'`
34
i.spectral -i rast=$LIST
37
This will search all maps in the mapset 'timeseries' which match have
38
the 'map_' prefix and order by a number following this prefix (day of the
39
year etc). The user is then asked to click into a map position and the
40
resulting pixel values of all matching maps are drawn in the gnuplot
45
<em><a href="d.what.rast.html">d.what.rast</a></em><br>
46
<em><a href="d.where.html">d.where</a></em><br>
47
<em><a href="r.what.html">r.what</a></em><br>
54
<p><i>Last changed: $Date: 2012-08-20 12:35:34 +0200 (Mon, 20 Aug 2012) $</i>