pltr2
( | x, |
y, | |
tx, | |
ty, | |
pltr_data) ; |
Linear interpolation for grid to world mapping using
two-dimensional x
and y
coordinate arrays. 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 pltr2
callback (i.e., plcont
, plimagefr
, plshade
,
plshades
, and plvect
); which then internally pass that argument on
to this callback.
This function is used in C examples 9, 16, 20, and 22.