具体用法:
h=figure;
plot(…);
saveas(h, ‘figure.png’, ‘png’);
如果是已经保存了的.fig文件
h = openfig(‘figure.fig’);
saveas(h, ‘figure.png’, ‘png’);
转自http://zhidao.baidu.com/question/73420898.html
具体用法:
h=figure;
plot(…);
saveas(h, ‘figure.png’, ‘png’);
如果是已经保存了的.fig文件
h = openfig(‘figure.fig’);
saveas(h, ‘figure.png’, ‘png’);
转自http://zhidao.baidu.com/question/73420898.html