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

Thread Subject:
image

Subject: image

From: Jessica

Date: 11 May, 2010 02:38:07

Message: 1 of 3

I am using the code below to display a picture:

A=imread('picture.jpg')
image(A)

Is there a way to resize this so that it fills the computer screen?

Subject: image

From: ImageAnalyst

Date: 11 May, 2010 10:18:55

Message: 2 of 3

On May 10, 10:38 pm, "Jessica" <jyorzin...@ucdavis.edu> wrote:
> I am using the code below to display a picture:
>
> A=imread('picture.jpg')
> image(A)
>
> Is there a way to resize this so that it fills the computer screen?

---------------------------------------------------------------------

set(gcf, 'Position', get(0,'Screensize')); % Enlarge figure to full
screen.

Subject: image

From: Jessica

Date: 11 May, 2010 11:59:04

Message: 3 of 3

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <2457ff08-03df-493c-9316-0f707fb43689@37g2000yqm.googlegroups.com>...
> On May 10, 10:38 pm, "Jessica" <jyorzin...@ucdavis.edu> wrote:
> > I am using the code below to display a picture:
> >
> > A=imread('picture.jpg')
> > image(A)
> >
> > Is there a way to resize this so that it fills the computer screen?
>
> ---------------------------------------------------------------------
>
> set(gcf, 'Position', get(0,'Screensize')); % Enlarge figure to full
> screen.


Thanks, this was a big help!

Tags for this Thread

No tags are associated with this thread.

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.

Contact us