Image invisible

4 views (last 30 days)
Manu MJ
Manu MJ on 18 Jun 2011
How to make the image invisible and visible in GUI.

Accepted Answer

Paulo Silva
Paulo Silva on 18 Jun 2011
Hide:
set(gca,'visible','off') %hide the current axes
set(get(gca,'children'),'visible','off') %hide the current axes contents
Show:
set(gca,'visible','on') %show the current axes
set(get(gca,'children'),'visible','on') %show the current axes contents
If needed replace gca by the handle of the axes you wish to work with

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!