Arg, sorry, stupid question, I didn't use valid limits. Le Mardi 09 Janvier 2007 12:32, Lionel Roubeyrie a écrit : > 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 - [EMAIL PROTECTED] LIMAIR http://www.limair.asso.fr ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users