Skip to content

contour

plot · scripts/plot/draw/contour.m

: contour (z)
: contour (z, n)
: contour (z, v)
: contour (x, y, z)
: contour (x, y, z, n)
: contour (x, y, z, v)
: contour (…, linespec)
: contour (…, name, value)
: contour (ax, …)
: [c, h] = contour (…)

Draw contour lines of the matrix z.

Levels are chosen as for contourc; use [v v] for a single level. The properties ‘LevelList’, ‘LevelStep’, ‘LineColor’, ‘LineStyle’, ‘LineWidth’, ‘Fill’ and ‘ShowText’ are understood. c is the contour matrix and h a group object whose children are the contour lines.