contourc
Low-level contour matrix computation
Description
M = contourc(Z)M for a surface. Specify
          Z as a matrix containing the height values of the surface with
        respect to the x-y plane. MATLAB® determines the number of contour lines and the corresponding values. The
        column and row indices of Z are the x- and
          y-coordinates in the plane, respectively.
Note
The matrix returned by contourc might be inconsistent with the
            results from the contour, contourf, and contour3 functions. To get the matrix
            used by one of those functions, call that function with an output argument.
M = contourc(___,levels)levels as a scalar value n to
        calculate the contour lines at n automatically chosen levels (heights).
        To calculate the contour lines at specific heights, specify levels as a
        vector of monotonically increasing values. To calculate the contours at one height
          k, specify levels as a two-element row vector
          [k k].
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced before R2006a