save figure

1 Ansicht (letzte 30 Tage)
Baba
Baba am 8 Nov. 2011
How do I save this figure and supress so that the figure isn't actually shown?
data=load('data.txt')
plot(x)

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 8 Nov. 2011
h=figure('visible','off');
plot(h,1:10);
saveas();
close(h);

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by