Converts coordinates from one coordinate system to another.
result = CONVERT_COORD(x, y [, z])
x A scalar or vector parameter providing the x-coordinates to be converted.
y A scalar or vector parameter providing the y-coordinates to be converted.
z (optional) If present, a scalar or vector parameter providing the z-coordinates of the points to be converted.
One of the following keywords may be used to specify the input coordinate system. If no input keyword is used, the function defaults to the data coordinate system.
Data Specifies that the input coordinates are based on the data coordinate system.
Device Specifies that the input coordinates are based on the device coordinate system.
Normal Specifies that the input coordinates are based on the normal coordinate system.
One of the following keywords may be used to specify the output coordinate system. If no output keyword is used, the coordinates are converted to the data coordinate system.
To_Data Converts to the data coordinate system.
To_Device Converts to the device coordinate system.
To_Normal Converts to the normal coordinate system.
A valid data coordinate system must be established before you can convert to or from data coordinates; you may use the PLOT procedure to establish this coordinate system.
For more information, see Coordinate Conversion and Three Graphics Coordinate Systems in the PV-WAVE User's Guide.