Rotates the view on the current geometry display window. The parameters xrot, yrot, and zrot are rotations (specified in degrees) about the viewing coordinate axes.
If the display is in rotate-about-center mode, then the rotation will occur about the center of the viewing volume. In rotate-about-eye mode, the view on the display will be rotated about the eye. The vars command (or a menu button) allows the user to toggle between the two modes.
The two examples show the use of the vrot command to rotate the view on the current geometry display window about the x axis and y axis, respectively.
Example 1. Rotate the view on the geometry display window about the x axis.
vrot 90 0 0
Rotates the view 90° about the x axis.
Example 2. Rotate the view on the geometry display window about the y axis.
vrot 0 180 0
Rotates the view 180° about the y axis.