[Back] [Up] [Next]

## Using view commands

The View Window contains a Commands text field that allows you to enter one or more semi-colon delimited legacy MeshTV commands to change the view. The following table has a description of the supported view commands:

Command | Description
--- | ---
pan x y | Pans the 3D view to the left/right or up/down. The x, y arguments, which are floating point fractions of the screen in the range [0,1], determine how much the view is panned in the X and Y dimensions.
pan3 x y | Same as pan.
panx x | Pans the 3D view left or right. The x argument is a floating point fraction of the screen in the range [0,1].
pany y | Pans the 3D view up or down. The yargument is a floating point fraction of the screen in the range [0,1].
ytrans y | Same as pany.
rotx x | Rotates the 3D view about the X-axis x degrees.
rx x | Same as rotx.
roty y | Rotates the 3D view about the Y-axis y degrees.
rotz z | Rotates the 3D view about the Z-axis z degrees.
rz z | Same as rotz.
zoom val | Scales the 3D zoom factor. If you provide a value of 2.0 for the val argument, the object being viewed will appear twice as large. A value of 0.5 for the val argument will make the object appear only half as large.
zf | Same as zoom.
zoom3 | Same as zoom.
vp x0 x1 y0 y1 | Sets the window, which is how much space relative to the plot will be visible inside of the viewport, for the 2D view. All arguments are floating point numbers that are in the same range as the plot extents. The x0 and x1 arguments are the minimum and maximum values for the edges of the window in the X dimension. The y0 and y1 arguments are the minimum and maximum values for the edges of the window in the Y dimension.
wp x0 x1 y0 y1 | Sets the window, which is how much space relative to the plot will be visible inside of the viewport, for the 2D view. All arguments are floating point numbers that are in the same range as the plot extents. The x0 and x1 arguments are the minimum and maximum values for the edges of the window in the X dimension. The y0 and y1 arguments are the minimum and maximum values for the edges of the window in the Y dimension.
reset | Resets the 2D and 3D views
recenter | Recenters the 3D view
undo | Changes back to the previous view