The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 18. The Specialized C API for PLplot | Next

### `pltr2`: Linear interpolation for grid to world mapping using doubly dimensioned coord arrays (column dominant, as per normal C 2d arrays)

`pltr2` (x, y, tx, ty, pltr_data);

Linear interpolation for grid to world mapping using doubly dimensioned coord arrays (column dominant, as per normal C 2d arrays). This routine can be used both for `plcont` and `plshade`. See also the Section called Contour Plots from C in Chapter 3 and the Section called Shade Plots from C in Chapter 3.

`x` (`PLFLT`, input) X-position in grid coordinates. `y` (`PLFLT`, input) Y-position in grid coordinates. `tx` (`PLFLT *`, output) X-position in world coordinates. `ty` (`PLFLT *`, output) Y-position in world coordinates. `pltr_data` (`PLPointer`, input) Pointer to additional input data that is passed as an argument to `plcont` or `plshade` and then on to the grid to world transformation routine.

Prev | Home | Next
`pltr1`: Linear interpolation for grid to world mapping using singly dimensioned coord arrays | Up | The Specialized Fortran 95 API for PLplot