Hi all,
I need to set texts on figures in axis coords, not data coords.
Following "text" doc, transform=ax.transAxes seems not working :
···
######################
~|[32]>ax=subplot(111)
~|[33]>text( 0.0, 1.0, 'text1', transform=ax.transData, color='r' )
Out [33]:<matplotlib.text.Text instance at 0xb487fbec>
~|[34]>text( 1.0, 1.0, 'text2', transform=ax.transAxes, color='b' )
Out [34]:<matplotlib.text.Text instance at 0xb488298c>
######################
gives figure in the attached picture. Text2 must be out of figure, not here!
An idea?
thanks
--
Lionel Roubeyrie - lroubeyrie@...1068...
LIMAIR
http://www.limair.asso.fr