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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|