How to control lines in the legend?

4 views (last 30 days)
Mr M.
Mr M. on 29 May 2015
Commented: dpb on 10 Jun 2015
In the legend there is small line element, but it is very ugly sometimes in case of dashed line. How to control its length?

Answers (1)

dpb
dpb on 30 May 2015
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.
  2 Comments
Mr M.
Mr M. on 10 Jun 2015
In gnuplot, this can be editable.
dpb
dpb on 10 Jun 2015
Matlab isn't gnuplot...

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!