Routines (alphabetical) > Routines: S > SURFR Procedure

# SURFR Procedure

The SURFR procedure sets up 3-D transformations. This procedure duplicates the rotation, translation, and scaling features of the SURFACE routine, but does not display any data. The resulting transformations are stored in the !P.T system variable.

This routine is written in the IDL language. Its source code can be found in the file `surfr.pro` in the `lib` subdirectory of the IDL distribution.

## Syntax

SURFR [, AX=degrees] [, AZ=degrees]

## Arguments

None.

## Keywords

### AX

This keyword specifies the angle of rotation about the X axis in degrees towards the viewer. The default is 30 degrees.

First rotated, AZ (see below) degrees about the Z axis, then by AX degrees about the X axis, tilting the surface towards the viewer (AX > 0), or away from the viewer.

### AZ

This keyword specifies the counterclockwise angle of rotation about the Z axis. The default is 30 degrees.

## Version History

Original | Introduced

## See Also

SCALE3 Procedure, SCALE3D Procedure, T3D Procedure