Hi Abhi,

I added an example program which illustrates my idea using transformation of 
axes-coord. to screen-coord. and from screen-coord. to fig-coord. 
 
 point_screen = ax.transAxes.transform_point(point_ax) 
 point_fig = fig.transFigure.inverted().transform_point(point_screen)

I don't know if this is the best approach, but (at least) this works for me.

Kind regards,
Matthias

On Monday 07 December 2009 21:38:17 Abhimanyu Lad wrote:
> Hi,
>
> How do I get the coordinates of the ticks and their labels in a coordinate
> system that I can feed to figtext or text?
> I want to display some additional text near one of the ticklabels on the x
> axis. Although I could get the coordinates for figtext using trial and
> error, but is there a correct way of doing this (using transformations?) so
> that my text does not move relative to the tick labels.
>
> Thanks!
> Abhi


Attachment: positions_of_the_ticks_and_ticklabels.py
Description: application/python

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to