|
Contents | Previous | Next | Subchapters |
| Syntax |
contour(matrix, levels, x, y) |
| See Also | mesh, surface , and contour(matrix, levels, x, y, z) |
x-axis value corresponding to the i-th row of matrix.
The integer, real, or double-precision row vector
y has the same number of columns as matrix and
the j-th element of y specifies the
y-axis value corresponding to the j-th column of matrix.
ginit
x = seq(11) - 6
y = x'
matrix = x * y
levels = {-20, -10, -5, 0, 5, 10, 20}
contour(matrix, levels, x, y)
O-Matrix will generate the following plot: