 # How make plot TALLER keeping same y-min and y-max??

Upon first creation you can set the figure size:
figure(figsize=(3,6)) for example gives you a tall figure.
But you cannot resize the figure with a command afterwards yet (if I am not mistaken).
In interactive mode you can stretch the figure on the screen by dragging the window.
M.

Thanks for help.

I want to change the *aspect ratio* of matplotlib output (on screen and
PNG)

It appears that figure(figsize=(a,b)) method mentioned below
alters plot but final window still has same final size on the screen.

Maybe this is 100% clear-===> **What commands are EXACTLY equivalent
to making plot bigger by dragging window with the MOUSE???***

···

On Sat, 2005-12-31 at 12:43 +0100, Mark Bakker wrote:

Upon first creation you can set the figure size:
figure(figsize=(3,6)) for example gives you a tall figure.
But you cannot resize the figure with a command afterwards yet (if I
am not mistaken).
In interactive mode you can stretch the figure on the screen by
dragging the window.
M.

--
chris

Christian -
There is no command line to change the size of the figure window after you have created it.
I think a prototype window has been implemented for the GTK backend, but I haven’t used it.
In pylab, the command axis(‘equal’) set the aspect ratio equal on both
axis (so that circles look like circles), but I don’t think that is
what you want.
You can also define the relative size of axes, for example
figure(figsize=(8,8))
axes((.1,.1,.8,.4))
makes an x axis that is twice as long as the y axis.
Mark

···

On 1/1/06, Christian Seberino <seberino@…391…> wrote:

Thanks for help.

I want to change the aspect ratio of matplotlib output (on screen and
PNG)

It appears that figure(figsize=(a,b)) method mentioned below
alters plot but final window still has same final size on the screen.

Maybe this is 100% clear-===> What commands are EXACTLY equivalent
to making plot bigger by dragging window with the MOUSE???
*

On Sat, 2005-12-31 at 12:43 +0100, Mark Bakker wrote:

Upon first creation you can set the figure size:
figure(figsize=(3,6)) for example gives you a tall figure.
But you cannot resize the figure with a command afterwards yet (if I
am not mistaken).

In interactive mode you can stretch the figure on the screen by
dragging the window.
M.

chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)