labelledcontourplot - contour plot with labelled contours
labelledcontourplot(expr, x=a..b, y=c..d, opts)
labelledcontourplot(f, a..b, c..d, opts)
- expression in variables
- real constants
- real constants, or (in the first calling sequence) expressions that may depend on
- real-valued function of two variables
This function is similar to
package, except that it puts a text label near each contour, giving the value of the expression or function on that contour.
For each contour value, the label appears near the farthest-right portion of the contour with that value. The label is in fixed-point format with two decimal places (as produced by
with the "%3.2f" format string). It may not be the exact contour value, but usually is fairly close to it.
No attempt is made to prevent labels from overlapping. This may be remedied to some extent by increasing the size of the plot (as this does not affect the size of the text) or decreasing the number of contours.
In contrast to
, this command does not have a parametric version, nor can you plot a set of expressions. To combine several of these plots (or combine them with other types of plot), use
Besides the usual options of
, you may use a
option to set the font for the labels, and a
option to set the colour for the labels. Any
option affects the contours, but not the labels.
This function is part of the
Maple Advisor Database
F:= (s,t) -> s-t: