Hi,

On Wed, 2008-11-05 at 13:28 -0500, Stan West wrote:
> Beyond the two options of the screen coordinates and the data
> coordinates as the references, I
> believe it would be useful to allow other coordinate systems.  If I
> wanted to diagonally
> watermark an entire figure with, say, "DRAFT" or "PRELIMINARY," it
> would be convenient to
> specify a rotation of +/- 45 degrees relative to the normalized (0-1)
> figure coordinates.  The
> watermark would lie along the diagonal regardless of the aspect ratio.
> Likewise, to watermark
> only a subplot, one might use the normalized axes coordinates.  It
> seems especially convenient
> if users could accomplish that by passing to the text object one of
> the predefined transforms --
> like ax.transData, fig.transFigure, or ax.transAxes -- to specify the
> coordinate system for the
> rotation.
> 
> Would it be possible to specify the reference system and rotation
> angle in a composite transform
> using transform machinery such as rotate_deg or rotate_deg_around?
> 

This is an interesting suggestion, but seems like it is (a) a bit out of
my league and (b) like it would bring up other issues, such as which
coordinate system to use for interpreting the location given to the text
function for the text object.  

The standard way this problem has been dealt with is to create an
invisible axes that covers your entire plot and add a text object to
that axes.  Can this method do the trick for you?

Cheers,
David

-- 
**********************************
David M. Kaplan
Charge de Recherche 1
Institut de Recherche pour le Developpement
Centre de Recherche Halieutique Mediterraneenne et Tropicale
av. Jean Monnet
B.P. 171
34203 Sete cedex
France

Phone: +33 (0)4 99 57 32 27
Fax: +33 (0)4 99 57 32 95
http://www.ur097.ird.fr/team/dkaplan/index.html
**********************************


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to