How to change the length of the lines inside the legend?

25 ビュー (過去 30 日間)
SandeepKumar R
SandeepKumar R 2019 年 9 月 27 日
コメント済み: Christina Lebonville 2024 年 4 月 16 日 13:10
The green one is a solid line and the blue one is a dashed line. Clearly this is not indicative from the legend. How can this issue be circumvented as I couldn't find any options that could modify this from property editor ? I use the property editor to modify plots. Please give a solution that does not use additional lines of code.
Screenshot from 2019-09-27 19-52-14.png

回答 (1 件)

Ankit
Ankit 2019 年 9 月 27 日
編集済み: Ankit 2019 年 9 月 27 日
Hello Sandeep,
please have a look here how you can modify the length of lines in a legend:
However, it is always good to check in FEX or google it before asking :)
Regards
Ankit
  1 件のコメント
Christina Lebonville
Christina Lebonville 2024 年 4 月 16 日 13:10
Sandeep's question is not answered by any of those links as they need to edit the lines from the property editor. I am in the same boat and want to edit it from the property editor as I'm using an already saved figure. So far googling has found no solutions that do not involve either a whole function or additional code.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by