How to remove edge color of legend box

14 views (last 30 days)
the edge of legend box covers part of my graph. so i will make it white or colorless.

Accepted Answer

Jan
Jan on 24 Apr 2012
You can create the legend with a disabled box, see doc legend:
legend(axes_handle,'boxoff')
But I'm afraid, that the background of the legend is still opaque. Then the background color of the legend has to be set to 'none'.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!