Controlling linewidth in a bunch of curves using 'semilogx'
22 ビュー (過去 30 日間)
古いコメントを表示
Hi all
I am trying to draw a set of curves on the same plot using semilogx command, which looks like
semilogx ( n,Ex,'k', n,Ey,'k', n,Ez,'k', n,Ev,'k')
I need to put different line widths for the four sets of data. can anybody please tell me the commands to assign different widths in this case.
Thanks
0 件のコメント
採用された回答
Wayne King
2012 年 5 月 12 日
h = semilogx(n,Ex,'k',n,Ey,'k',n,Ez,'k',n,Ev,'k');
set(h(1),'linewidth',2);
set(h(2),'linewidth',1.5);
And so on
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!