contour¶
Library¶
pgraph
Format¶
-
contour
(x, y, z)¶ - Parameters
x (1xK vector) – the X axis data. K must be odd.
y (Nx1 vector) – the Y axis data. N must be odd.
z (NxK matrix) – the matrix of height data to be plotted.
Remarks¶
A vector of evenly spaced contour levels will be generated automatically
from the z matrix data. Each contour level will be labeled. For
unlabeled contours, use ztics()
.
To specify a vector of your own unequal contour levels, set the vector
_plev
before calling contour()
.
To specify your own evenly spaced contour levels, see ztics()
.