Clear Filters
Clear Filters

Having a legend without the box

98 views (last 30 days)
Sudeep
Sudeep on 18 Jun 2013
I have a GUI with 6 axes in it. I want to use legend function in one of the axes but without the box visible i.e. it should be transparent.
1. leg1=legend(...) set(leg1,'boxoff')
2. legend boxoff
The axes is set correctly. Kindly help. None of the above codes are working.

Answers (1)

Matt J
Matt J on 18 Jun 2013
set(leg1,'Box','off')

Community Treasure Hunt

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

Start Hunting!