Simple way to "shrink" the dashes on a line
23 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 10 Dec 2021
No, line width does not control the ratio of line to gap for dashes, just how thick the line is.
Answers (1)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!