ROTATE Function

Returns a rotated and/or transposed copy of the input array.

Usage

Input Parameters

Direction Transpose Rotation Clockwise
0 No None
1 No 90º
2 No 180º
3 No 270º
4 Yes None
5 Yes 90º
6 Yes 180º
7 Yes 270º

Returned Value

Keywords

Discussion


TIP: To rotate by amounts other than multiples of 90 degrees, use the functions ROT and ROT_INT. However, note that ROTATE is more efficient than either of those functions.

Example 1

Example 2





Figure 2-99 Original image and rotations.
Figure 2-100 Original image and rotations.

See Also





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