Controlling linewidth in a bunch of curves using 'semilogx'
조회 수: 15 (최근 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!