How do I change plot line widths?

545 views (last 30 days)
Benjamin Haag
Benjamin Haag on 2 Feb 2019
Answered: Aik-Siong Koh on 8 Jul 2021
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 Comments
Adam Danz
Adam Danz on 3 Feb 2019
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

Sign in to comment.

Answers (1)

Community Treasure Hunt

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

Start Hunting!