Adding a water mark to a plot

Hi all,

Is it possible to add a water mark to a plot ?

Nils

You could add some semi-transparent text across the figure with something like:

gcf().text(0.1, 0.1, "Watermark", rotation=45, fontproperties=FontProperties(size=64), alpha=0.2)

Unfortunately, alpha-transparency on text is not supported in the Agg and Svg backends (more due to an oversight than it being terribly difficult to implement -- I can try to get this in for the 0.91.2 release). But it does work on Pdf and Cairo. (Supporting it in Ps will be quite difficult).

There may also be external tools to do this *after* generating the plot from matplotlib, e.g.:

http://www.selonen.org/arto/netbsd/watermarks.html

Cheers,
Mike

Nils Wagner wrote:

ยทยทยท

Hi all,

Is it possible to add a water mark to a plot ?

Nils

-------------------------------------------------------------------------
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
matplotlib-devel List Signup and Options

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA