Name
xwi — Window on screen
Syntax
xwi [stereo | del | sel] [pixels] | [xpixels ypixels] [con] [tk] [exist] [toplevel] [fullscreen] [xyscale]
Description
Handling of display window and its parameters in the graphical screen. The graphical display window is called an xwindow or just window.
Arguments
stereo
The graphic window will be stereo-enabled.
del [1 | 2 | 3 ...]
Delete (remove) the last graphic window [or xwindow number 1/2/3/...].
pixel
Create an quadratic window display with sides pixel pixels.
xpixels ypixels
Create a window display sized xpixels times ypixels pixels.
sel number
Select xwindow number.
con number
Camera is connected to xwindow number.
exist number
Check if an xwindow exists. The result is placed in the return code [gvar rc].
Example of checking if a window exists
xwi exist 3
set doesexist [gvar rc]
#will set the variable $doesexist to 1 if the xwindow does exist, and -1 if not existing.
subframes no_of_subframes
Set the number of sub frames for doing motion blur. The default is zero. Once this is set greater than one, you will no longer see a new frame for every Render(). If you set this to five, you will need to do five Render() invocations before seeing the result. This is not very impressive unless something is changing between the Renders.
toplevel
To get a toplevel stand alone window.
fullscreen
To get a toplevel fullscreen stand alone window.
xyscale scale | off
scale : To get a specific plot scale in the current graphical window; like 1:scale. The window will be set into 2D mode and the zoom button will be disabled. To enable the zoom button go into 3D mode.
off : Turn off the scale. Will enable the zoom button.
See also
vie - Viewport handling, win - Window specification