Simple way to "shrink" the dashes on a line

37 Ansichten (letzte 30 Tage)
Christopher Arreola
Christopher Arreola am 10 Dez. 2021
Beantwortet: Chunru am 10 Dez. 2021
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 Kommentare
Christopher Arreola
Christopher Arreola am 10 Dez. 2021
Can using linewidth make it happen?
Walter Roberson
Walter Roberson am 10 Dez. 2021
No, line width does not control the ratio of line to gap for dashes, just how thick the line is.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Chunru
Chunru am 10 Dez. 2021

Kategorien

Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by