SPIN

Purpose:

Spins a 3D plot.

Syntax:

SPIN(xdeg, ydeg, zdeg, num)

xdeg

-

Optional. A real, the X rotation increment. Defaults to 3 degrees.

ydeg

-

Optional. A real, the Y rotation increment. Defaults to 3 degrees.

zdeg

-

Optional. A real, the Z rotation increment. Defaults to 3 degrees.

num

-

Optional. A real, the number of time to rotate. Defaults to 300.

Returns:

Nothing.

Example:

W1: xyz(gsin(100,.01,4),gcos(100,.01,4),0..0.01..0.99)

scalesoff

spin

 

spins the spiral 3 degrees in each direction 300 times.

Example:

spin(2, 2, 3, 200)

 

spins the spiral 2 degrees in the X and Y directions, 3 degrees in the Z direction, 200 times.

Remarks:

The default spin angle is 3 degrees and the default total number of times to spin is 300.

 

See RTSPIN to spin the plot in background mode.

See Also:

RTSPIN

ROTATE3D

XYZ