SET_VIEW3D Procedure
Generates a 3D
view, given a view position and a view direction.
Usage
SET_VIEW3D, viewpoint, viewvector, perspective, izoom, viewup, viewcenter, winx, winy, xr, yr, zr
Input Parameters
TIP: To prevent a perspective projection, set perspective to 0 (or less than zero).
izoom
The magnification factor for the projection.
viewup
A two-element vector containing the final 2D view up vector. For a "right-side-up" view, set this parameter to [0.0, 1.0].
viewcenter
A two-element vector containing the window location on which to place the viewpoint. It is in normal coordinates and is usually set to [0.5, 0.5].
winx, winy
The x and y dimensions, respectively, of the plot window in device coordinates. Typically, winx and winy are set to the X and Y size of the current graphics window.
xr, yr, zr
Two-element vectors containing the minimum and maximum x, y, and z values, respectively, found in the data to be plotted. The minimum value is in xr(0), yr(0), and zr(0); the maximum value in xr(1), yr(1), and zr(1).
Keywords
Discussion
Examples
See Also


doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights
reserved.