Simple way to "shrink" the dashes on a line

37 ビュー (過去 30 日間)
Christopher Arreola
Christopher Arreola 2021 年 12 月 10 日
回答済み: Chunru 2021 年 12 月 10 日
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 件のコメント
Christopher Arreola
Christopher Arreola 2021 年 12 月 10 日
Can using linewidth make it happen?
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 Center および File ExchangeSpecifying Target for Graphics Output についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by