On Tue, Jul 22, 2008 at 4:06 PM, Jonathan Hayward
http://JonathansCorner.com <[EMAIL PROTECTED]> wrote:
> Thank you; I've shrunk the graphic part.

Please respond to the mailing list ("reply to all")


> When I save it as an image, it's painting an 800x600 image, so I've shrunk
> the portion of the 800x600 image I'm using. Is there a way to crop or do
> something comparable?

Not sure I understand the question.  You can control the figure size
in pixels by setting the figure size in inches and the dpi -- the
pixel size is the prodict of the two

  fig = figure((8,6), dpi=100)  # 800x600

you can control the *relative* proportion of the axes by using the
axes command as before

  ax = axes([left, bottom, width, height])

with these two, you should be able to get whatever size and
proportions you want.

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to