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

 Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 8 Nov 2011

1 vote

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

Plus de réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by