Dear Chris,

That site really cleared the basic resolution stuff up for me, and it
was pretty much as I expected. Your remark about how imshow() works with
SVG made me wonder. Might it be that the output of imshow() is set in
pixels so that when I increase the dpi of the total figure, the subplots
decrease in their width and height as measured in inches? (Using the
extent parameter to rescale the bitmap?) This could explain the
'inverse' effect I experienced when increasing dpi. It is not limited to
SVG by the way, EPS and PNG have the same problem.

I got into these problems after upgrading from Ubuntu 6.06 to Ubuntu
6.10, thereby also upgrading from MPL 85.2 (?) to MPL 87.5. In the
previous version the SVG outputted would point to a PNG for each subplot
created with imshow(). Now the bitmaps seem to be included in the SVG
itself. Perhaps there is a way to increase the dpi of the included
bitmaps? (Or, if all else fails, some flag to get the old behavior back?)

Thanks very much,

Marius.

Christopher Barker schreef:
> This should help you understand dpi, font-size, etc.
>
> http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize
>
> However, I'm not sure how imshow() and SVG work together -- SVG is
> just that -- "Scalable", it doesn't have a set resolution, and I don't
> know what happens when you embed a raster graphic in it -- can someone
> offer an explanation of what MPL does with imshow and SVG?
>
> -Chris
>
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to