contour()
Generates contour levels on surface data
Syntax
y = contour(data, contour_levels, interpolation_type)
Arguments
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| data | data to be contoured, which must be at least two-dimensional real, integer or implicit | (-∞, ∞) | integer, real | yes | |
| contour_levels | one-dimensional quantity specifying the levels of the contours † | (-∞, ∞) | integer, real | six levels equally spaced between the maximum and the minimum of the data | no |
| interpolation_type | specifies the type of interpolation to perform | [0, 1, 2]† † | integer | 0 | no |
| † Normally specified by the sweep generator "[ ]", but can also be specified as a vector † † Interpolation types are: 0 - No Interpolation,1 - Cubic Spline,2 - B-Spline | |||||
Examples
a = contour(dB(S11), [1::3::10])
or
a = contour(dB(S11), {1, 4, 7, 10})
produces a set of four equally spaced contours on a surface generated as a function of, say, frequency and strip width.
a = contour(dB(S11), {1, 4, 7, 10}, 1)
produces the same set of contours as the above example, but with cubic spline interpolation.
Defined in
Built in
See Also
Notes/Equations
This function introduces three extra inner independents into the data. The first two are "level", the contour level, and "number", the contour number. For each contour level there may be n contours. The contour is an integer running from 1 to n. The contour is represented as an (x, y) pair with x as the inner independent.
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()