Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

saving figures

Asked by mohammad

mohammad

on 14 Nov 2011

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?

0 Comments

mohammad

mohammad

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst

Image Analyst

on 14 Nov 2011

1 Comment

mohammad

mohammad

on 14 Nov 2011

by using of saveas(h,name,'png')instead of saveas(h,name,'bmp') it was solved

Image Analyst

Image Analyst

Contact us