Matlab make axes invisible

I have created a simple GUI using GUIDE Matlab. My gui have an axes toolbox. I want to hidden this toolbox when the first time program running. I have set the property using command :

set(handles.axes1,'visible','off');

But, the axes toolbox still showed. This code success when applied in other toolbox (panel, edittext, etc). After searching, I get this command to completely remove Matlab axes toolbox to invisible :

set(allchild(handles.axes1),'visible','off');
set(handles.axes1,'visible','off');

Using this script, I can make Matlab axes invisible.

Source :
http://stackoverflow.com/questions/11865541/make-axes-invisible-or-delete-plot-completely

 

2 Comments

Add a Comment

Your email address will not be published. Required fields are marked *