How to change the length of the lines inside the legend?
94 views (last 30 days)
Show older comments
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.

0 Comments
Answers (1)
Ankit
on 27 Sep 2019
Edited: Ankit
on 27 Sep 2019
Hello Sandeep,
check this interesting file in FEX: https://de.mathworks.com/matlabcentral/fileexchange/58914-resizelegend-varargin
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!