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

`pltr2`: Linear interpolation for grid to world mapping using doubly dimensioned coordinate arrays (column dominant, as per normal C 2d arrays)
Prev | Chapter 19. The Specialized C API for PLplot | Next

#### `pltr2`: Linear interpolation for grid to world mapping using doubly dimensioned coordinate 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 coordinate 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” and the section called “Shade Plots from C”.

`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.

This function is currently available in C, C++, Ocaml, Perl, Python and Tcl.

This function is used in example 22.

Prev | Up | Next
`pltr1`: Linear interpolation for grid to world mapping using singly dimensioned coordinate arrays | Home | PLGraphicsIn: PLplot Graphics Input structure