`pltr0`: Identity transformation for matrix index to world coordinate mapping
Prev | Chapter 18. The Specialized C/C++ API for PLplot | Next

#### `pltr0`: Identity transformation for matrix index to world coordinate mapping

`pltr0 (` | x,
| y,
| tx,
| ty,
| pltr_data`)`;

Identity transformation for matrix index to world coordinate mapping. This routine can be used for the `PLTRANSFORM_callback` argument of `plcont`, `plshade`, `plshades`, `plimagefr`, or `plvect`.

`x` (``PLFLT``, input)

  X index of matrix.

`y` (``PLFLT``, input)

  Y index of matrix.

`tx` (``PLFLT_NC_SCALAR``, output)

  Transformed x value in world coordinates corresponding to x index of matrix.

`ty` (``PLFLT_NC_SCALAR``, output)

  Transformed y value in world coordinates corresponding to y index of matrix.

`pltr_data` (``PLPointer``, input)

  A pointer to additional data that is passed as an argument to PLplot routines that potentially could use the `pltr0` callback (i.e., `plcont`, `plimagefr`, `plshade`, `plshades`, and `plvect`); which then internally pass that argument on to this callback.

This function is not used in any of our C examples.

Prev | Up | Next
`plStatic2dGrid`: Determine the Iliffe column vector of pointers to PLFLT row vectors corresponding to a 2D matrix of PLFLT's that is statically allocated | Home | `pltr1`: Linear interpolation for matrix index to world coordinate mapping using singly dimensioned coordinate arrays