I'm considering using Matplotlib to programmatically generate images for a
web-based application.  I want some specific information about contour plot
images produced by Matplotlib and I was wondering if it was easy/possible to
get this information.

 

Imagine a contour plot rendered to a .png.  For simplicity, assume the size
is 1000x1000 pixels.  Of course, this image has white-space, axes, axis
labels, perhaps a colorbar, etc.  The actual contour part, showing the data,
is smaller than 1000x1000 pixels.  I'd like to know:

 

*       the size (in pixels) of the actual contour part of the generated
.png

*       the offset (in pixels) from the bottom left hand corner of the
actual contour part

 

Of course if pixel information isn't possible, offset and size as a
percentage of the total image size would be fine.

 

Thanks,

 

-Dan

-------

Dan Karipides

[EMAIL PROTECTED]

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to