I have been working on a new feature for mplot3d.  It is a bit of a hack but
with this patch the offset information in a tick formatter can now be
displayed.  The offset text is located so that the offset texts for two
jointed axis are not co-located, and is placed at the same distance away
from the axis as the axis label.  The text is aligned so that it should
always be "tucked" underneath the axis as one rotates the plot.  There are a
few edge cases as one rotates where an offset text will "stick out", but
they should be very infrequent.

I have attached a patch to enable this feature and also an example script
that showcases it.

This is how it should look:
http://dl.dropbox.com/u/7325604/mplot3d_offsettest.png

Let me know what you think, and if all is good, I will add it to the
development branch soon.

Ben Root

Attachment: mplot3d_offsets.patch
Description: Binary data

Attachment: mplot3d_offsetdemo.py
Description: Binary data

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to