Thread Subject: How to save figure with large resolution with command

Subject: How to save figure with large resolution with command

From: timedcy Asayaku

Date: 17 Jul, 2009 09:02:02

Message: 1 of 2

I use this:

%%%%%%%%%%%%%%%%
frame = getframe(gca);
fig = frame2im(frame);
imwrite(fig,a.png);
%%%%%%%%%%%%%%%%

But the image "a.png" have a fixed size, the visualised data in figure has been shrinked(Warning: Image is too big to fit on screen; displaying at 30%). I want to save the full size image in figure(in which has some annotation ie. ' text') in a file, any one know how to make it?

Thanks ~~

Subject: How to save figure with large resolution with command

From: Image Analyst

Date: 17 Jul, 2009 13:30:20

Message: 2 of 2

"timedcy Asayaku" <timedcy@163.com> wrote in message <h3pema$9h$1@fred.mathworks.com>...
> I use this:
>
> %%%%%%%%%%%%%%%%
> frame = getframe(gca);
> fig = frame2im(frame);
> imwrite(fig,a.png);
> %%%%%%%%%%%%%%%%
>
> But the image "a.png" have a fixed size, the visualised data in figure has been shrinked(Warning: Image is too big to fit on screen; displaying at 30%). I want to save the full size image in figure(in which has some annotation ie. ' text') in a file, any one know how to make it?
>
------------------------------------------------------------------------------------------------
For some bizarre reason, this most common question is not in the FAQ.
However, one of the latest threads with possible solutions is here
http://groups.google.com/group/comp.soft-sys.matlab/browse_thread/thread/761e2de818577adb/61fdbbf0521e557e?hl=en#61fdbbf0521e557e

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
getframe timedcy timedcy 17 Jul, 2009 05:04:03
frame2im timedcy timedcy 17 Jul, 2009 05:04:03
figure timedcy timedcy 17 Jul, 2009 05:04:03
save timedcy timedcy 17 Jul, 2009 05:04:03
image timedcy timedcy 17 Jul, 2009 05:04:03
rssFeed for this Thread

Contact us at files@mathworks.com