From: Anthony F. <ant...@gm...> - 2008-03-13 17:26:07
|
On Thu, Mar 6, 2008 at 3:00 AM, <Jou...@xt...> wrote: > "Anthony Floyd" <ant...@gm...> writes: > > > I would like to 'watermark' a plot. That is, display an image 'under' > > several lines. [...] I've tried using figure.figimage, but that only > > > draws the watermark 'outside' the plot area. Fair enough. > > The background of the axes object is called a "frame", and you want to > not draw it at all (pass frameon=False to add_axes) or make it > translucent: > > fig=figure(...) > fig.figimage(...) > ax=fig.add_subplot(...) > ax.get_frame().set_alpha(0.5) > Thanks! That essentially works as expected. Anthony. |