Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I call the properties of figure with more than 1 graph in it?
1 次查看(过去 30 天)
显示 更早的评论
I have a figure that has more than 1 graphs in it. How can I change the lineStyle of each one?
0 个评论
回答(1 个)
Azzi Abdelmalek
2014-1-31
t=0:0.1:10;
y1=sin(t)
y2=cos(t)
h=plot(t,y1,t,y2)
set(h(1),'linewidth',12)
% h(1) and h(2) are handles of plot 1 and plot 2
2 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!