Method stransform
| Improve this Doc View Sourcestransform(TransformFunc)
plstransform: Set a global coordinate transform function
Declaration
public void stransform(TransformFunc coordinate_transform)
Parameters
Type | Name | Description |
---|---|---|
TransformFunc | coordinate_transform | 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. |
Remarks
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 and plmeridians functions. The coordinate_transform_data parameter may be used to pass extra data to coordinate_transform.