How to control lines in the legend?

3 次查看(过去 30 天)
Mr M.
Mr M. 2015-5-29
评论: dpb 2015-6-10
In the legend there is small line element, but it is very ugly sometimes in case of dashed line. How to control its length?

回答(1 个)

dpb
dpb 2015-5-30
AFAIK, all you can do is save the object handles (the optional return values) when you create the legend and then set properties of those objects as desired. You're somewhat limited in what handle graphics lets you do to the builtin characteristics of the line styles.

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by