Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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 , i.e \[gvar xwin] \[gvar xwax] ... etc. 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 graphical window. If the value 999 is used for any of the arguments, that window value will not be changed.
{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}

Name

win — Window specification

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

win xwin xwax ywin ywax zwin zwax

win cen | out | cur | dat | sto | rea | z

Description

Set the graphical window in various ways. The extent of the window will always be in @xwin @xwax @ywin @ywax @zwin @zwax , i.e [gvar xwin] [gvar xwax] ... etc. See Shell commands and Concepts.

The graphical window plays an important part in Geocap. Many algorithms and display features work inside the window like gridding for instance.

Arguments

xwin xwax ywin ywax zwin zwax

rea winfile

sto winfile

cur

dat

cen

out

z

z val

See also

sav - Save window , ret - Return window , ssc - Self scale of data , vie - Viewport handling , xwi - Window on screen , zoom - Zoom on screen