2011/5/22 burak nebioğlu <buraknebio...@gmail.com> > Hello everyone, > > I have been using Matplotlib for a while and I have to make a Volumetric > slice plot. I created 2d images by using imshow() but couldnt find anything > to create 3d image with those 2d ones. > > I hope we (Matplotlib user's) have a solution for this. > > Thanks alot > > Not with imshow, but something might be possible with contourf3d. I haven't tried it out in this way, but with the development branch of matplotlib, I recently added a feature to be able to "squash" contourf plots to a particular offset. See this demo image:
http://dl.dropbox.com/u/7325604/newcontourf3d.png With this feature, you could contourf3d 2D slices of your 3D data and just set the zoffset to the appropriate location. I attached some demo code. The data is only 2D, so I can't demonstrate exactly what you want, but this should give you a good idea of where to go. Remember, this feature is new, and is only found in the master branch on github. I hope this helps! Ben Root
contourf3d_demo2.rst
Description: Binary data
------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including 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