Thread Subject: graph window size

Subject: graph window size

From: recep mansiz

Date: 2 Jul, 2009 08:07:01

Message: 1 of 4

Hi all!!

I want to plot a x-y graph that has a smaller size than matlab default output graph size.

How can I achieve this.

thanks in advance...

Subject: graph window size

From: recep mansiz

Date: 2 Jul, 2009 08:47:01

Message: 2 of 4

doesn't anybody have any idea ?? is there a function that matlab default plot window size can be changed inside??

Subject: graph window size

From: Sadik

Date: 2 Jul, 2009 09:40:03

Message: 3 of 4

Hi Recep,

After you make your plot, you say:

set(gcf,'Position',[a b c d])

where a b c and d are numbers which show respectively the (x,y) location of the upper left corner [by a and b] and the width and height of the window [by c and d]. In order to have an idea about what these four values should be, you could say:

get(gcf,'Position')

You can then play with these numbers until you get the desired plot.

Best.

"recep mansiz" <aalmoraa@hotmail.com> wrote in message <h2hs65$qct$1@fred.mathworks.com>...
> doesn't anybody have any idea ?? is there a function that matlab default plot window size can be changed inside??

Subject: graph window size

From: recep mansiz

Date: 2 Jul, 2009 10:01:02

Message: 4 of 4

thanks for your reply sadik
it works of course

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
gcf Sprinceana 2 Jul, 2009 13:27:20
reference Sprinceana 2 Jul, 2009 13:27:20
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com