David Goldsmith wrote:
> I feel like I must be missing something
yup -- though it's an understandable miss...
> Attached are the results on my computer (see usage details below).
> Granted, I'm increasing the resolution each iteration,
you are increasing the resolution of the figure, and of your
calculations, but NOT of the output image. The hint was that every image
was the same size: 1200X900 , which is 12"x9" at 100 dpi.
It turns out that print_figure() doesn't respect the figures (native
DPI), it defaults to 100 dpi, but you can override it:
> canvas.print_figure("test"+str(DPI)+"dpi.png", dpi=DPI)
Then you'll get what I think you want.
Maybe this will help:
http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize
though it there, I talked about Figure.savefig(). I don't know if there
is a difference between that and Figure.print_figure()
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
[EMAIL PROTECTED]
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users