Saving contour levels and coordinates

The contour levels are automatically stored in a vector named CCONT. If the \COORDINATES qualifier is used, the x and y coordinates of each contour level are stored in matrices named XCNT and YCNT. The number of points stored for each level is the first element of each column. For example, XCNT[1,nc] (=n1) is the number of points making up contour number nc, while XCNT[2:n1+1,nc] and YCNT[2:n1+1,nc] would contain the x and y coordinates of the ncth contour level. These vectors are then available to the user for plotting and/or manipulation. Each time the CONTOUR command is entered, these vectors are emptied and replaced, so if you wish to keep them, they should be renamed or copied into other vectors.

  Labels
  Legend