Having a legend without the box

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 日

2 投票

set(leg1,'Box','off')

カテゴリ

タグ

質問済み:

2013 年 6 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by