How do I change plot line widths?

144 ビュー (過去 30 日間)
Benjamin Haag
Benjamin Haag 2019 年 2 月 2 日
回答済み: Aik-Siong Koh 2021 年 7 月 8 日
I'm trying to plot two arrays of values and change the width of the resulting line, however I can't seem to get it to work. I've tried several approaches and nothing seems to be yielding any results.
plot(X_a,Y_a,'LineWidth',10);
  6 件のコメント
Benjamin Haag
Benjamin Haag 2019 年 2 月 3 日
Got it working, for some reason my function wasn't updating when I called it to check my work. All set now. Thanks!
Adam Danz
Adam Danz 2019 年 2 月 3 日
If the m-file containing your function is stored on a remote driver or server, sometimes you need to rehash the path after making changes to the m file before those changes take effect.
rehash path

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

回答 (1 件)

Aik-Siong Koh
Aik-Siong Koh 2021 年 7 月 8 日
See comments for answer.

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by