void lconmat (zmat, x, nx, y, ny, level, lnstyle, nlevel, labint,
         format)

void lconmat2 (zmat, x, nx, y, ny, level, lnstyle, nlevel, labint,
         format)

CNTPLT.C Level 3
 
float *zmat  A user-supplied matrix of z[y][x]. The x index changes most rapidly. In lconmat(), this array must be allocated as a single contiguous piece of memory. In lconmat2() the array must be allocated using the GraphiC function dim2(). InDOS or Windows 3.1 thios strategy allows each row of the array to be up to 64kb long. lconmat2() is recommended because it manages memory better.
float *x The x vector.
int nx The number of x values (must be odd).
float *y The y vector.
int ny The number of y values (must be odd).
float *level A vector of level contour values arranged in increasing order.
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 (recommended).
int nlevel The number of level contours.
int labint Labels are placed on every labint contour.
If labint = 0, contour labels are suppressed.
char *format A valid floating-point format string for the contour labels.
 
lconmat() produces 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. The level contours are provided by you, so things such as logarithmic level values may be used.