Hi,
Eamon Caddigan eamon.caddi...@gmail.com
The reason my initial attempts failed was because I (erroneously)
assumed that the default axis spanned (0, 0), (1, 1). Now I that I
know better, I can place an axis for each image in the right place and
everything looks fine.
However, I'm still
Thanks for the suggestion!
The reason my initial attempts failed was because I (erroneously)
assumed that the default axis spanned (0, 0), (1, 1). Now I that I
know better, I can place an axis for each image in the right place and
everything looks fine.
However, I'm still interested in knowing
On 10 June 2010 07:21, Eamon Caddigan eamon.caddi...@gmail.com wrote:
I'd like to draw thumbnails of images on various plots, e.g., a bar
chart with a picture placed at the base of the bar, or a scatter plot
with photos next to select points.
Reading and resizing the image aren't an issue.
Thanks Scott. In order to precisely position an image using separate
axes, I'd need to be able to query and set the margin between the
bounding box and the actual axes. I can't seem to find any way to do
that, either.
On Thu, Jun 10, 2010 at 1:13 AM, Scott Sinclair
scott.sinclair...@gmail.com
Actually, since axes are created with normalized coordinates, what I
really need is a way to query the size of the current figure, in
pixels.
On Thu, Jun 10, 2010 at 7:43 AM, Eamon Caddigan
eamon.caddi...@gmail.com wrote:
Thanks Scott. In order to precisely position an image using separate
Actually, You might want to check out axes_grid module in the mpl_toolkits.
After a quick perusal, I think InsetLocator might be what you are looking
for in the axes_grid module.
http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html
I hope this helps,
Ben Root
On Thu, Jun
Can you describe why using the extent keyword does not serve your purpose?
The svn version of matplotlib support BboxImage which might be better
(depending on your use case).
-JJ
On Thu, Jun 10, 2010 at 1:21 AM, Eamon Caddigan
eamon.caddi...@gmail.com wrote:
Hi everybody,
I'd like to draw
Hi everybody,
I'd like to draw thumbnails of images on various plots, e.g., a bar
chart with a picture placed at the base of the bar, or a scatter plot
with photos next to select points.
Reading and resizing the image aren't an issue. However, I've been
searching all day, and I can't figure out