save figure

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

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 8 de Nov. de 2011

1 voto

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

Más respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by