On Tue, May 10, 2011 at 9:25 AM, Jonathan Slavin <jsla...@cfa.harvard.edu>wrote:

> Hi,
>
> I would like to create a plot with a series of parallel 2-D slices in
> order to illustrate 3-D data.  I got excited when I saw the example of
> translucent bar plots, which is similiar in some ways to what I had in
> mind.  But it seems that there is no imshow method in Axes3D.  How hard
> would that be to add?  (By the way, I do know about mayavi and have used
> it, but there are things about it that make it somewhat difficult to
> work with.)
>
> Jon
>

imshow() and friends work a little bit differently from the other plotting
commands.  Unlike the other plotting functions, imshow() does not return any
Collection objects, rather it returns an AxesImage object.  Most of the
other functions are merely wrappers around their 2D equivalent with a few
extra keyword arguments and a 2D to 3D converter call for the collection
objects returned.  In order to support imshow() in Axes3D, a 3D version of
the AxesImage object will need to be made and should be able to be created
from an existing 2D version.

If someone wants to create a 3D version of AxesImage and add it to art3d.py,
I would be more than happy to take the patch.  But at this time, I am too
unfamiliar with AxesImage objects and am more focused on fixing the current
feature-set.

Ben Root
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to