d.rast.leg(1) - Linux man page
Name
d.rast.leg - Displays a raster map and its legend on a graphics windowKeywords
displaySynopsis
d.rast.leg help
d.rast.leg [-n] map=string [num_of_lines=integer] [--verbose] [--quiet]
Flags:
- -n
omit entries with missing label- --verbose
Verbose module output- --quiet
Quiet module output
Parameters:
- map=string
raster input map- num_of_lines=integer
Number of lines to appear in the legend
Description
d.rast.leg is a GRASS script which clears the entire screen, divides it into a main (left) and a minor (right) frames, and then displays a raster map in the main frame and the map legend in the minor frame. The main frame remains active when the program finishs.Notes
If the num_of_lines 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 num_of_lines minus 1 categories with the rest being truncated.The user may adjust the num_of_lines parameter or the size of graphics window to get an appropriate result.
To remove all frames when clearing the display, use dqd.erase -f".
See Also
d.legendd.erase
d.rast
Authors
Jianping Xu, Scott Madry, Rutgers UniversityMarkus Neteler
Last changed: $Date: 2005-07-14 07:51:29 +0200 (Thu, 14 Jul 2005) $
Full index
© 2003-2008 GRASS Development Team
