Re: [Matplotlib-users] Saved PDFs default to 4/3 aspect ratio even if do subplots_adjust?
The size of the figure can be adjusted using figure(figsize=(width, height)) subplots_adjust merely adjusts the margins between multiple subplots within the same figure. Hope that helps. Mike [EMAIL PROTECTED] wrote: I measured the displayed Matplotlib PDF on the screen and noticed it has a 4/3 (1.333...) aspect ratio by default. Is it EXACTLY 4/3? Even if I do: pylab.figure().subplots_adjust(left = EXTRA_ROOM, bottom = EXTRA_ROOM) ??? (Why doesn't the subplots_adjust command seem to mess up the default aspect ratio?? ) Chris - 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=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA - 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=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Saved PDFs default to 4/3 aspect ratio even if do subplots_adjust?
On Mon, Oct 27, 2008 at 10:59:40AM -0400, Michael Droettboom wrote: The size of the figure can be adjusted using figure(figsize=(width, height)) subplots_adjust merely adjusts the margins between multiple subplots within the same figure. Thanks. subplots_adjust(left=.., bottom=...) seems to have an effect on a single plot too. It lets you add extra room for axis labels. It *must* mess up the aspect ratio of the plot since the axis labels are now stealing extra space right? Chris - 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=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users