save figure

5 次查看(过去 30 天)
Baba
Baba 2011-11-8
How do I save this figure and supress so that the figure isn't actually shown?
data=load('data.txt')
plot(x)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by