Debian Codegraph @

scripts/d.rast.leg/d.rast.leg.html

raw symbols SCIP
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 <code>d.erase -f</code>.
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 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