clabelm
Label map contour plot
Syntax
Description
Rotated Labels
clabelm(
labels the
current map contour plot by inserting rotated text into each contour line. If a contour
line is not long enough to fit the text, then the function does not insert the
text.C
,h
)
The clabelm
function supports only contour plots created using
the contourfm
, contourm
, contour3m
, or geoshow
function. To label other contour plots, use the clabel
function.
returns the
labels as text objects, using any combination of input arguments from the previous
syntaxes in this group. Use t
= clabelm(___)t
to modify properties of the text after
creating it. For a list of properties, see Text Properties.
Upright Labels
clabelm(
labels the current contour plot
by adding upright text next to each contour line. The function randomly selects the
positions of the labels. This syntax displays plus symbols (C
)+
) on the
contour lines next to the labels.
clabelm(
labels the locations you
select with the mouse. Click the mouse or press the space bar to label the contour closest
to the center of the cursor. To finish labeling, while the cursor is within the figure,
press Enter.C
,"manual")
returns the
labels as text objects and the plus symbols (tl
= clabelm(___)+
) as line objects, using
any combination of input arguments from the previous syntaxes in this group.
Additional Options
clabelm(___,"LabelSpacing",
specifies the spacing between labels on the same contour line.spacing
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a