|
|
Content | Prev | Next | Down |
| Syntax |
scontour(matrix) |
scontour(matrix, filled, labels) | |
scontour(matrix, filled, labels, levels) | |
scontour(matrix, filled, labels, levels, x, y) | |
| See Also | ssurface , splot |
If present, filled must be a logical scalar which indicates
if the contour is to be filled, (The default value equals true).
The argument labels must be a logical scalar which indicates
if the contour should include labels, (The default value equals false).
If present, levels contains the values for each contour line
and is an integer, real, or double-precision column vector. The row dimension
of levels defines the number of colors that SigmaPlot will
use for the contour.
The integer, real, or double-precision column vector x has the same
number of rows as matrix and the i-th element of x specifies the 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.
clear
x = {[1,2,3], [2,4,7], [3,7,14]}
scontour(x)
SigmaPlot will create the following contour plot
Examples Using Three Arguments
scontour(x, true, true)
SigmaPlot will create a new section with a new worksheet and graph page that looks like:
If you continue the example by entering
scontour(x, false, true)
SigmaPlot will create the following plot
Examples Using Four Arguments
levels = = {2, 6, 18}
scontour(x, true, false, levels)
SigmaPlot will create a new section with a new worksheet and graph page and
your notebook will look like:
Examples Using Six Arguments
X = {2, 2.5, 3}
Y = {4, 5, 6, 7, 8}
scontour(x, true, false, levels, X, Y)
SigmaPlot will create the following contour plot