plot函数如何控制绘制符号的大小。
23 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
华纳公司开户联系【微8785092】
am 19 Mai 2023
Beantwortet: 华纳_全真人实景娱乐【微8785092】
am 19 Mai 2023
想让我的绘制的图中的圆圈,点以及五角星的尺寸和线粗变大,plot中要如何控制附上代码
plot(YL(1,:),YL(2,:),'ro');hold on
plot(YM(1,:),YM(2,:),'k.','Linewidth',5);hold on
plot(xvs(1),xvs(2),'bp')

0 Kommentare
Akzeptierte Antwort
华纳_全真人实景娱乐【微8785092】
am 19 Mai 2023
x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
figure
plot(x,y,'--gs',...
'LineWidth',2,...%控制画出来的虚线宽度
'MarkerSize',10,...%方形点大小
'MarkerEdgeColor','b',...%方形点边界颜色
'MarkerFaceColor',[0.5,0.5,0.5])%方形点填充颜色
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!