请问在matlab三维图形中,标记出某一特定数值,并画出等值线

 我来答
灬驿站等你5175
2017-05-15
知道答主
回答量:68
采纳率:0%
帮助的人:14.3万
展开全部
没办法,clabel里'labelspacing'属性可以调整标注的疏密,加入参数'manual'可以手动指定标注的位置。

>> help clabel
CLABEL Contour plot elevation labels.
CLABEL(CS,H) adds height labels to the contour plot specified by H.
The labels are rotated and inserted within the contour lines. CS and H
are the contour matrix output and object handle outputs from CONTOUR,
CONTOUR3, or CONTOURF.

CLABEL(CS,H,V) labels just those contour levels given in
vector V. The default action is to label all known contours.
The label positions are selected randomly.

CLABEL(CS,H,'manual') places contour labels at the locations
clicked on with a mouse. Pressing the return key terminates
labeling. Use the space bar to enter contours and the arrow
keys to move the crosshair if no mouse is available.

CLABEL(CS) or CLABEL(CS,V) or CLABEL(CS,'manual') places
contour labels as above, except that the labels are drawn as
plus signs on the contour with a nearby height value.

H = CLABEL(...) returns handles to the TEXT (and possibly LINE)
objects in H. The UserData property of the TEXT objects contain
the height value for each label.

CLABEL(...,'text property',property_value,...) allows arbitrary
TEXT property/value pairs to specified for the label strings.

One special property ('LabelSpacing') is also available to specify
the spacing between labels (in points). This defaults to 144, or
2 inches.

Uses code by R. Pawlowicz to handle inline contour labels.

Example
subplot(1,3,1), [cs,h] = contour(peaks); clabel(cs,h,'labelspacing',72)
subplot(1,3,2), cs = contour(peaks); clabel(cs)
subplot(1,3,3), [cs,h] = contour(peaks);
clabel(cs,h,'fontsize',15,'color','r','rotation',0)

See also contour, contour3, contourf.

Reference page in Help browser
doc clabel
本回答被提问者和网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
景联文科技
2024-06-11 广告
景联文科技是一家专业AI数据标注公司。目前在全国范围拥有四个大型数据处理基地,智能标注平台涵盖标注工作台和产能管理体系,提供完整的语音、图像、文本、视频的全领域数据处理能力,通过ISO9001、ISO27001、ISO27701等国际认证,... 点击进入详情页
本回答由景联文科技提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式