Simple way to "shrink" the dashes on a line

29 次查看(过去 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
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 个)

Chunru
Chunru 2021-12-10

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by