how can set "off" the visibility of axes in gui

47 views (last 30 days)
I want to set a image as background of my gui and i don't want the axes to appear. I tried with set(axes1,'visible','off') also with set(axes1,'handlevisibility','off','visible','off'),but it does not work.I also try to set it manually in "property inspector",but it does not work. axes1 is the current axes. thanks in advance.

Answers (2)

B.k Sumedha
B.k Sumedha on 19 Jun 2015
Edited: B.k Sumedha on 19 Jun 2015
set(handles.axes1,'visible', 'off');
This may solve
Álvaro Pauner Argudo
Álvaro Pauner Argudo on 24 Nov 2017
How can I hide the whole figure? Not only the axes

Sign in to comment.

Andres Charris
Andres Charris on 18 Mar 2019
ant= get(hObject,'Value');
minFreq = 1;
maxFreq = 10;
t = 0:0.001:1;
% Get parameters from GUI
fs = get(handles.freqSlider,'Value');
freq = minFreq + fs * (maxFreq - minFreq);
amp = str2double(get(handles.amplEdit,'String'));
% Calculate data
x = amp * sin(2*pi*freq*t);
% Create time plot in proper axes
if ant==1;


Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!