linewidth for specific line
古いコメントを表示
how to specify linewidth for one line in a multi line plot?
1 件のコメント
Ahmer Ashraf
2020 年 2 月 23 日
I'm bound on linewidth property..I'm completing my assignment but this property is not going me forward.
採用された回答
その他の回答 (1 件)
Star Strider
2017 年 1 月 6 日
Use the hold function and plot them individually:
x = 1:10;
y1 = rand(1, 10);
y2 = 1+rand(1,10);
figure(1)
plot(x, y1)
hold on
plot(x, y2, 'LineWidth',2)
hold off
grid
2 件のコメント
Noam
2017 年 1 月 6 日
Star Strider
2017 年 1 月 6 日
My pleasure.
If my Answer solved your problem, please Accept it!
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
