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:
figure position and saveas

Subject: figure position and saveas

From: Tomas

Date: 6 Apr, 2011 17:54:05

Message: 1 of 1

Hi!

When I use the saveas function it seems that the figure is not saved with the position i specify.

For example:
figure1 = figure;
...
set(figure1, 'Position', [100 100 650 100]);
saveas(gcf,'file.ext')

When I use the "Save as" option from the figure menu the figure is saved with the correct size.

Am I doing something wrong here?


Thanks.

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