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] [--verbose]
15 [--quiet]
16
17 Flags:
18 -n
19 omit entries with missing label
20
21 --verbose
22 Verbose module output
23
24 --quiet
25 Quiet module output
26
27 Parameters:
28 map=string
29 raster input map
30
31 num_of_lines=integer
32 Number of lines to appear in the legend
33
35 d.rast.leg is a GRASS script which clears the entire screen, divides it
36 into a main (left) and a minor (right) frames, and then displays a
37 raster map in the main frame and the map legend in the minor frame. The
38 main frame remains active when the program finishs.
39
41 If the num_of_lines parameter is not given then the legend frame will
42 display as many lines as number of categories in the map, otherwise, it
43 will display the first num_of_lines minus 1 categories with the rest
44 being truncated.
45
46 The user may adjust the num_of_lines parameter or the size of graphics
47 window to get an appropriate result.
48
49 To remove all frames when clearing the display, use "d.erase -f".
50
52 d.legend
53 d.erase
54 d.rast
55
57 Jianping Xu, Scott Madry, Rutgers University
58 Markus Neteler
59
60 Last changed: $Date: 2005-07-14 07:51:29 +0200 (Thu, 14 Jul 2005) $
61
62 Full index
63
64 © 2003-2008 GRASS Development Team
65
66
67
68GRASS 6.3.0 d.rast.leg(1)