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