I wonder if it's worthwhile throwing a warning when mplot3d is used in
conjunction with the Gtk backend?
Mike
On 08/12/2011 02:47 AM, Benjamin Root wrote:
On Friday, August 12, 2011, WALTER Alain <alain.wal...@thalesgroup.com
<mailto:alain.wal...@thalesgroup.com>> 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
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users