save figure

2 views (last 30 days)
Baba
Baba on 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)

Accepted Answer

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

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!