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
> 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> wrote:
>>>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. However, I've been
>>> searching all day, and I can't figure out how to call imshow without
>>> it taking over the axis in which its drawn.
>>
>> You could try using separate axes for your images, as in
>> http://matplotlib.sourceforge.net/examples/pylab_examples/axes_demo.html
>>
>> Cheers,
>> Scott
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to