save figure

How do I save this figure and supress so that the figure isn't actually shown?
data=load('data.txt')
plot(x)

 Risposta accettata

Fangjun Jiang
Fangjun Jiang il 8 Nov 2011

1 voto

h=figure('visible','off');
plot(h,1:10);
saveas();
close(h);

Più risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by