Having a legend without the box

98 次查看(过去 30 天)
Sudeep
Sudeep 2013-6-18
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.

回答(1 个)

Matt J
Matt J 2013-6-18
set(leg1,'Box','off')

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by