1d.rast.leg(1) Grass User's Manual d.rast.leg(1)
2
3
4
6 d.rast.leg - Displays a raster map and its legend on a graphics window
7
9 display
10
12 d.rast.leg
13 d.rast.leg help
14 d.rast.leg [-n] map=string [num_of_lines=integer]
15
16 Flags:
17 -n omit entries with missing label
18
19 Parameters:
20 map=string
21 raster input map
22
23 num_of_lines=integer
24 Number of lines to appear in the legend
25
27 d.rast.leg is a GRASS script which clears the entire screen, divides it
28 into a main (left) and a minor (right) frames, and then displays a
29 raster map in the main frame and the map legend in the minor frame. The
30 main frame remains active when the program finishs.
31
33 If the num_of_lines parameter is not given then the legend frame will
34 display as many lines as number of categories in the map, otherwise, it
35 will display the first num_of_lines minus 1 categories with the rest
36 being truncated.
37
38 The user may adjust the num_of_lines parameter or the size of graphics
39 window to get an appropriate result.
40
41 To remove all frames when clearing the display, use "d.erase -f".
42
44 d.legend
45 d.erase
46 d.rast
47
49 Jianping Xu, Scott Madry, Rutgers University
50 Markus Neteler
51
52 Last changed: $Date: 2005/07/14 05:51:29 $
53
54 Full index
55
56
57
58GRASS 6.2.2 d.rast.leg(1)