Re: [matplotlib-devel] Feature request for a watermark function

2008-06-24 Thread Nils Wagner
On Tue, 24 Jun 2008 14:03:33 -0500 "John Hunter" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 24, 2008 at 1:27 PM, Nils Wagner > <[EMAIL PROTECTED]> wrote: > >> Actually, I would like to display an image (png format) >> 'under' several lines. >> Assuming that a watermark function will be supported b

Re: [matplotlib-devel] Feature request for a watermark function

2008-06-24 Thread John Hunter
On Tue, Jun 24, 2008 at 1:27 PM, Nils Wagner <[EMAIL PROTECTED]> wrote: > Actually, I would like to display an image (png format) > 'under' several lines. > Assuming that a watermark function will be supported by > mpl, it would be nice to have an example in > > matplotlib/examples/pylab_examples

Re: [matplotlib-devel] Feature request for a watermark function

2008-06-24 Thread Nils Wagner
On Tue, 24 Jun 2008 14:10:08 -0400 Michael Droettboom <[EMAIL PROTECTED]> wrote: > There are a couple of different ways this could be done. > > Alpha-blending over top of the image (should work for >everything but Postscript): > > gcf().text(0.1, 0.1, "Watermark", rotation=45, >fontproperties

Re: [matplotlib-devel] Feature request for a watermark function

2008-06-24 Thread John Hunter
On Tue, Jun 24, 2008 at 1:10 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > There are a couple of different ways this could be done. > > Alpha-blending over top of the image (should work for everything but > Postscript): > > gcf().text(0.1, 0.1, "Watermark", rotation=45, > fontproperties=FontP

Re: [matplotlib-devel] Feature request for a watermark function

2008-06-24 Thread Michael Droettboom
There are a couple of different ways this could be done. Alpha-blending over top of the image (should work for everything but Postscript): gcf().text(0.1, 0.1, "Watermark", rotation=45, fontproperties=FontProperties(size=64), alpha=0.2) Or under the axes as described here: http://www.mail-ar