Wiki Markup |
---|
{alias:win}
h2. Name
*win* — Window specification
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*win* _xwin xwax ywin ywax zwin zwax_
*win cen | out | cur | dat | sto | rea | z*
{panel}
h2. Description
Set the graphical window in various ways. The extent of the window will always be in @xwin @xwax @ywin @ywax @zwin @zwax. See [Shell commands and Concepts|https://geocap.onconfluence.com/x/6wBN].
The graphical window plays an important part in Geocap. Many algorithms and display features work inside the window like gridding for instance.
h2. Arguments
_xwin xwax ywin ywax zwin zwax_
{indent}Specify the new window.{indent}
*rea* _winfile_
{indent}Read windowfile _winfile_ from disk and activate the new window.{indent}
*sto* _winfile_
{indent}Store windowfile _winfile_ to disk.{indent}
*cur*
{indent}Get a window around the cursor position. If you want to get closer, do the command over again. Internally the previous window is saved with sav 13.{indent}
*dat*
{indent}Will update the window coordinates with the min and max values of the data without any scaling of the graphical window.{indent}
*cen*
{indent}Make a quick zoom towards the center of the screen.{indent}
*out*
{indent}Make a quick zoom out of center of the screen.{indent}
*z*
{indent}Make a rubber band zoom to set the window.{indent}
*z val*
{indent}The *win z val* option followed by a rubber band draw will set the *x y* rubber band coordinates into the @variables *@xgmin @ygmin @xgmax @ygmax*. The Tcl access is *\[gvar xgmin]* as an example. The rubber band box in this case is saved in workspace *^rub*. One can also draw the rubber band box by *dra rub*.
*The graphical window will not be changed*.
{indent}
h2. See also
[sav - Save window] , [ret - Return window] , [ssc - Self scale of data] , [vie - Viewport handling] , [xwi - Window on screen] , [zoom - Zoom on screen]
{pagebreak}
|
Page Comparison
General
Content
Integrations