Plot contours
fcontour(
plots
the contour lines of the function f
)z = f(x,y)
for
constant levels of z
over the default interval [-5
5]
for x
and y
.
fcontour(
plots
over the specified interval. To use the same interval for both f
,xyinterval
)x
and y
,
specify xyinterval
as a two-element vector of
the form [min max]
. To use different intervals,
specify a four-element vector of the form [xmin xmax ymin
ymax]
.
fcontour(___,
sets
the line style and color for the contour lines. For example, LineSpec
)'-r'
specifies
red lines. Use this option after any of the previous input argument
combinations.
fcontour(___,
specifies
line properties using one or more name-value pair arguments.Name,Value
)
fcontour(
plots
into the axes specified by ax
,___)ax
instead of the
current axes.
returns
a fc
= fcontour(___)FunctionContour
object. Use fc
to
query and modify properties of a specific FunctionContour
object.
For a list of properties, see FunctionContour Properties.