|
From: Lionel R. <lro...@li...> - 2007-01-09 11:36:29
|
Arg, sorry, stupid question, I didn't use valid limits. Le Mardi 09 Janvier 2007 12:32, Lionel Roubeyrie a =C3=A9crit=C2=A0: > Hi all, > I need to set texts on figures in axis coords, not data coords. > Following "text" doc, transform=3Dax.transAxes seems not working : > ###################### > > |~|[32]>ax=3Dsubplot(111) > | > |~|[33]>text( 0.0, 1.0, 'text1', transform=3Dax.transData, color=3D'r' ) > > Out [33]:<matplotlib.text.Text instance at 0xb487fbec> > > |~|[34]>text( 1.0, 1.0, 'text2', transform=3Dax.transAxes, color=3D'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 =2D-=20 Lionel Roubeyrie - lro...@li... LIMAIR http://www.limair.asso.fr |