|
From: Benjamin R. <ben...@ou...> - 2011-08-12 06:47:11
|
On Friday, August 12, 2011, WALTER Alain <ala...@th...> wrote: > You're right I'm not clear. You thought I' am using text() from matplotlib but If I'm looking to the text() invocation from the module Axes3D: > Axes3D.text(x, y, z, s, zdir=None, **kwargs)¶ > Add text to the plot. kwargs will be passed on to Axes.text, except for the zdir keyword, which sets the direction to be used as the z direction. > In my case: > ax. text(23.1, 14.0, 340.0, 'ABETI', color='red') > Anyway, now I've replaced GTK backend by GTKagg backend, and Everything seems better. > Alan > Ah, that explains everything! Because text on an axes3d object has to be projected to 2d, it uses simple AGG text rotation behind the scenes to achieve that effect (rather than actually performing the expensive tedious calculations to fully project it). So, even though you are not rotating the text, mplot3d is. Good to know that switching to GTKAgg fixed everything. Ben Root |