MATLAB Answers

How do I change plot line widths?

조회 수: 796(최근 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
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.

Community Treasure Hunt

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

Start Hunting!

Translated by