How do I change plot line widths?

조회 수: 172 (최근 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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by