Rotates a 3D graph in the current Window.
ROTATE3D(xa, ya, za)
Reals, the angles for X, Y and Z rotation in degrees.
creates a 200 point spiral.
rotate3d(60, 45, 15)
rotates the spiral 60 degrees in the X direction, 45 degrees in the Y direction, and 15 degrees in the Z direction.
Spins the spiral. Use rtspin(0) to halt spinning.
The PLOT3D or SETPLOTTYPE function must be performed on the table before ROTATE3D is used.
ROTATE3D sets the rotation matrix of a 3d surface by performing rotations first around the x-axis, then the y-axis, and finally the z-axis from a reference view of 0, 0, 0 which is perpendicular to the x-z plane (x is horizontal, z is vertical, and y is depth (invisible)).
The default orientation for 3D plots is 20, -15, 35 degrees.
SETRADIAN and SETDEGREE determine whether rotation is in radians or degrees. Defaults to degrees.