plstransform3plplot
Set a global coordinate transform function
Usage
plstransform(coordinate_transform, coordinate_transform_data)
Overview
This function can be used to define a coordinate transformation which affects all elements drawn within the current plot window. The coordinate_transform callback function is similar to that provided for the plmap(3plplot) and plmeridians(3plplot) functions. The coordinate_transform_data parameter may be used to pass extra data to coordinate_transform.
Redacted form: General: plstransform(coordinate_transform, coordinate_transform_data)
This function is used in examples 19 and 22.
Arguments
- coordinate_transform (PLTRANSFORM_callback(3plplot), input)
-
A callback function that defines the transformation from the input (x, y) world coordinates to new PLplot world coordinates. If coordinate_transform is not supplied (e.g., is set to NULL in the C case), then no transform is applied.
- coordinate_transform_data (PLPointer(3plplot), input)
-
Optional extra data for coordinate_transform.
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.