The location of the image can be set by specifying the "extent" keyword, however, this is set in data coordinate. figimage may be close to what you want.
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.figimage As far as I know, there is no direct support in matplotlib to place an image with arbitrary transformation. But it may not be difficult to implement. However, "annotate a plot with icons" is not enough to figure out what you really want. Maybe some screenshots from other plotting tool will be helpful. Or, please elaborate how you want to position your image. -JJ On Thu, Jul 30, 2009 at 12:11 PM, Bas van Leeuwen<leeu...@gmail.com> wrote: > Hi all, > > Is there any way to annotate a plot with icons? > The only way to include an image that I've found is using imshow, but > imshow does not accept (x,y) coordinates. > > There probably is an easy solution, but I have not been able to find > any. Please be patient :-) > > Thank you in advance for your reply, > Bas van Leeuwen > > PS, I'm sorry if this mail arrives multiple times, I didn't see the > previous one in the archive. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users