openfig visibility when saved figure has a callback
I used the method described here to save figures with a callback that would change their visibility to ‘on’ when opened.
fig = figure(‘Visible’,’off’);
set(fig, ‘CreateFcn’, ‘set(gcbo,”Visible”,”on”)’);
plot([1:10]);
savefig(fig,"C:temptest.fig")
close all
openfig("C:temptest.fig",’invisible’)
Behavior of sample code: figure opens and is visible
Desired Behavior: figure opens and is invisible.
Is this possible? Thank you.I used the method described here to save figures with a callback that would change their visibility to ‘on’ when opened.
fig = figure(‘Visible’,’off’);
set(fig, ‘CreateFcn’, ‘set(gcbo,”Visible”,”on”)’);
plot([1:10]);
savefig(fig,"C:temptest.fig")
close all
openfig("C:temptest.fig",’invisible’)
Behavior of sample code: figure opens and is visible
Desired Behavior: figure opens and is invisible.
Is this possible? Thank you. I used the method described here to save figures with a callback that would change their visibility to ‘on’ when opened.
fig = figure(‘Visible’,’off’);
set(fig, ‘CreateFcn’, ‘set(gcbo,”Visible”,”on”)’);
plot([1:10]);
savefig(fig,"C:temptest.fig")
close all
openfig("C:temptest.fig",’invisible’)
Behavior of sample code: figure opens and is visible
Desired Behavior: figure opens and is invisible.
Is this possible? Thank you. figure visibility MATLAB Answers — New Questions