## GSLIB Help Page: ROTCOORD

Description:

- 2-D coordinate rotation (and reverse rotation)

Parameters:

- datafl: the input data file.
- icolx and icoly: The columns for the x coordinate and y coordinate.
- outfl: file for output with rotated (or back transformed) coordinates.
- xorigin and yorigin: the origin of the rotated system in the original coordinate system.
- angle: the rotation angle (in degrees clockwise).
- switch: if switch=0 then rotate to the new coordinate system (the default case). If switch=1, however, then the input x and y coordinates are considered to be already rotated and they are back transformed to the original system.