plStatic2dGrid
( | zIliffe, |
zStatic, | |
nx, | |
ny) ; |
Determine the Iliffe column
vector of pointers to PLFLT row
vectors corresponding to a 2D matrix of PLFLT's that is statically allocated.
As a result the Iliffe column vector
can be accessed using C/C++ syntax like *zIliffe[i][j]
. However,
the primary purpose of this routine is to convert 2D plot data stored in statically allocated
arrays to Iliffe column vector form which is suitable to be the 2D matrix arguments of
the C and C++ versions of plcont
, plshade
, plshades
, plimage
, plvect
, etc.
zIliffe
(PLFLT_NC_MATRIX
, output)
The pre-existing column vector of pointers which is filled in by this routine
so that on return, zIliffe
is a Iliffe column
vector of pointers to the row vectors of zStatic
.
zStatic
(PLFLT_VECTOR
, input)
Pointer to the first element of a statically allocated 2D matrix. This pointer is
used to find the locations of the row vectors of this matrix which are used to determine
zIliffe
.
nx, ny
(PLINT
, input)
Dimensions of the statically allocated 2D matrix, zStatic
.
This function is used in our example 15.