Darn clogged e-mail queue! ;) I see you've already addressed my question...
Cheers, Mike David Kaplan wrote: > Hi, > > I just wanted to send a note saying that I committed an additional > method to the Transforms class that transforms angles. The basic idea > is to transform an angle at a point to a new angle at the corresponding > point in the transformed coordinate system. The included method is > generic and should work well for almost any transform provided that the > spatial scale isn't too small or too large. Much faster algorithms that > would work regardless of spatial scale can be found for particular > transforms, particularly affine transforms, but I haven't added these > yet. > > I also added an example script that shows how to use this method to plot > text rotated so that it aligns with a line in a figure > ( text_rotation_relative_to_line.py ). > > I initially intended to use this method to give text objects the option > to be rotated with respect to the plot coordinate system (as opposed to > the screen coordinate system), but I haven't gotten around to finishing > this yet. > > Cheers, > David > > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- 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