plot a thicker line for my upper and lower specs

1 回表示 (過去 30 日間)
William
William 2013 年 2 月 1 日
The matlab documentation claims that this will give me a thicker line but it keeps generating a syntax error. Any hints on how to thicken this up?
plot(0:600,Cal_12_usl:Cal_12_usl,'r','linestyle','--', LineWidth = 2.0*unit::mm)

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 1 日
plot(0:600,Cal_12_usl:Cal_12_usl,'r','linestyle','--', 'LineWidth',8)
  2 件のコメント
William
William 2013 年 2 月 1 日
I tried this
plot(reordered_data)
ylim([24 34])
hold on
plot(0:600,Cal_12_usl:Cal_12_usl,'r','linestyle','--', 'LineWidth',7)
plot(0:600,Cal_12_lsl:Cal_12_lsl,'r','linestyle','--', 'LineWidth', 7)
hold off
rotate3d off;
still does not get thicker :(
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 1 日
編集済み: Azzi Abdelmalek 2013 年 2 月 1 日
Check this
t=0:0.1:10;
y1=sin(t);
y2=cos(t);
plot(t,y1,'r','linestyle','--','linewidth',5);
hold on
plot(t,y2,'g','linestyle','--','linewidth',10)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by