man d.frame () - Manages display frames on the user's graphics monitor.


d.frame - Manages display frames on the user's graphics monitor.



d.frame help

d.frame [-cepslD] [frame=string] [at=bottom,top,left,right]


Create a new frame
Remove all frames and erase the screen
Print name of current frame
Select a frame
List map names displayed in GRASS monitor
Debugging output


Frame to be created/selected
Where to place the frame (implies -c), values in percent


This program manages display frames on the user's graphics monitor. GRASS display programs at run-time connect with graphics rendering programs. While the display programs are identical on every hardware platform, the graphics rendering programs are (essentially the only GRASS programs) designed for individual hardware devices. These rendering programs are managed with the GRASS program d.mon. Graphics are displayed in rectangular frames on whatever graphics monitor the user is currently directing GRASS display output to. These frames are created and managed with this program, Note that GRASS frame contents are not retained when one frame covers another. You cannot shuffle frames from top to bottom and then back again. They simply define rectangular areas on the screen where subsequent drawing will occur.


The coordinates for the at= option are stated in the form: bottom,top,left,right. The lower-left corner of the graphics monitor always is at location 0,0 while the monitor's upper-right corner is always at 100,100 (the values are in percent).

If the user has created multiple display frames that overlap one another, whatever the user displays in the active frame will overwrite those portions of the underlying frame where these frames overlap.

A frame by the name of full_screen is always present and may be selected at any time. This may be useful if you would like to de-select all user defined frames as you might do just before taking a screenshot.





James Westervelt, U.S. Army Construction Engineering Research Laboratory

Michael Shapiro, U.S. Army Construction Engineering Research Laboratory

Last changed: $Date: 2004/03/25 03:51:51 $

Help Index