set(leg1,'Box','off')
Having a legend without the box
98 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!