Simple way to "shrink" the dashes on a line
조회 수: 36 (최근 30일)
이전 댓글 표시
I want to make the dashes on my lines a lot smaller than they are.
Here is a sample for line of code I used for each line:
plot([2.5 5],[4.71 4.71],'--k')
Here is my current graph:

I want my dashes to be small like this graph has it

댓글 수: 3
Walter Roberson
2021년 12월 10일
No, line width does not control the ratio of line to gap for dashes, just how thick the line is.
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!