[Matplotlib-users] Embed logo in plot at actual size

2009-11-16 Thread Jason Heeris
Hi, I'd like to know if it's possible to do something like this in matplotlib: I want to create a 2D plot with legend, output as PNG. I also want to embed a logo in it, in the top right corner of the plotting area. If the original logo image is a 40px by 40px PNG, I want it to appear at that

Re: [Matplotlib-users] Embed logo in plot at actual size

2009-11-16 Thread John Hunter
On Mon, Nov 16, 2009 at 4:12 AM, Jason Heeris jason.hee...@gmail.com wrote: Hi, I'd like to know if it's possible to do something like this in matplotlib: I want to create a 2D plot with legend, output as PNG. I also want to embed a logo in it, in the top right corner of the plotting area.

Re: [Matplotlib-users] Embed logo in plot at actual size

2009-11-16 Thread Jason Heeris
John Hunter wrote: See http://matplotlib.sourceforge.net/examples/api/watermark_image.html for an example of embedding a watermark image in mpl. To compute figure size, multiply the DPI setting by the figure dimensions in inches: This is a good place to start, so thanks :) I'll