saving figures

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 개 추천

댓글 수: 1

mohammad
mohammad 2011년 11월 14일
by using of saveas(h,name,'png')instead of saveas(h,name,'bmp') it was solved

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

질문:

2011년 11월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by