How do I change plot line widths?

162 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by