void conmat  (zmat, x, nx, y, ny, min, step, max, lnstyle, labint)
void conmat2 (zmat, x, nx, y, ny, min, step, max, lnstyle, labint)
CNTPLT.C Level 3
float *zmat A user-supplied matrix of z[y][x]. The x index changes most rapidly. In conmat(), this array must be allocated as a single contiguous piece of memory. In conmat2() the array must be allocated using the GraphiC function dim2() that allows each row of the array to be up to 64 kb long ( DOS or Windows 3.1).
float *x The x vector.
int nx The number of x values.
float *y The y vector.
int ny The number of y values.
float min The minimum contour level.
float step  The interval between contour levels.
float max The maximum contour level.
int *lnstyle An array of coded numbers for changing line styles and/or colors for each contour level. See the explanation at the beginning of this section. This specification will not handle the extended GraphiC colors and is retained for compatibility purposes.
If lnstyle == NULL, the more powerful specification capability of contcolor() will be used.
int labint Labels are placed on every labint contour. If labint = 0, contour labels are uppressed.
conmat() and conmat2() produce level contours for the array z[y][x]. That is, for each level C, the curve z[y][x] = C is plotted. For best results, the size of the x-y grid squares should be small compared to the length in which  z[y][x]  varies significantly. We recommend using conmat2() because it makes more efficient use of memory.