November 13, 2013
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
Thank you so much man, it works
thanks!!!
it helps a lot