saving figures

1 次查看(过去 30 天)
mohammad
mohammad 2011-11-14
After plotting it's needed saving figure of that. I wrote this:When I write under code, there is no problem with saving but the saved figure is small and i need saving in full screen size
h=figure;
plot
saveas(h,name,'bmp'); %name is a string
So I use this one:
h=figure;
set(h,'Position',[1 1 1680 1050]);
plot
saveas(h,name,'bmp'); %name is a string
but in this one, instead of saving figure, it prints screen all of desktop!
now, how could I save a figure in full screen?

回答(1 个)

Image Analyst
Image Analyst 2011-11-14
  1 个评论
mohammad
mohammad 2011-11-14
by using of saveas(h,name,'png')instead of saveas(h,name,'bmp') it was solved

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by