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

« back to all changes in this revision

Viewing changes to scripts/d.rast.leg/d.rast.leg.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.rast.leg</em> shows a raster map along with its legend.
 
4
It first clears the entire screen, then divides it 
 
5
into a main (left) and a minor (right) frames, and displays a raster 
 
6
map in the main frame and the map legend in the minor frame. The main
 
7
frame remains active when the program finishes.
 
8
 
 
9
<h2>NOTES</h2>
 
10
 
 
11
The legend may be flipped with the <b>-f</b> flag.
 
12
<p>If the <b>lines</b> parameter is not given then the legend frame will 
 
13
display as many lines as number of categories in the map, otherwise, it 
 
14
will display the first <b>lines</b> minus 1 categories with the
 
15
rest being truncated.
 
16
<p>The user may adjust the <b>lines</b> parameter or
 
17
the size of graphics window to get an appropriate result.
 
18
 
 
19
<p>The user may specify a second raster map with the <b>raster</b> parameter from
 
20
which the legend is generated. This is useful to visualize (time) series of
 
21
raster maps with a common static legend instead of the default dynamic legend.
 
22
<p>To remove all frames when clearing the display, use
 
23
<tt>d.erase -f</tt>.
 
24
 
 
25
<h2>EXAMPLE</h2>
 
26
 
 
27
In this example, the polar diagram of the 'aspect' angle map in the
 
28
North Carolina sample dataset location is generated:
 
29
 
 
30
<div class="code"><pre>
 
31
g.region raster=landclass96 -p
 
32
d.rast.leg landclass96
 
33
</pre></div>
 
34
 
 
35
<h2>SEE ALSO</h2>
 
36
 
 
37
<em>
 
38
<a href="d.legend.html">d.legend</a>,
 
39
<a href="d.erase.html">d.erase</a>,
 
40
<a href="d.rast.html">d.rast</a>
 
41
</em>
 
42
 
 
43
<h2>AUTHORS</h2>
 
44
 
 
45
Jianping Xu, Scott Madry, Rutgers University<br>
 
46
Markus Neteler
 
47
 
 
48
<p>
 
49
<i>Last changed: $Date: 2014-11-28 17:25:40 +0100 (Fri, 28 Nov 2014) $</i>