> We have been warning that 3D plotting was unsupported and needed someone to > volunteer to maintain it for quite a while now. Nobody answered the call, and > 3d capabilities did not survive the transition to the new transforms in > mpl-0.98, so it was removed, However... >
hmm. Mayavi2 has a mlab module thats under active development. It aims to do the same stuff that matlab 3D plots do. However, svn currently crashes for me. > [...] >> matplotlib version is 0.91.2, straight from ubuntu repos. > > 3D support should still be present in 0.91.x. I just did a clean install of > 0.91.4 from svn, and this works: > > import pylab as p > import matplotlib.axes3d as p3 > fig=p.figure() > ax = p3.Axes3D(fig) > p.show() > > I haven't used matplotlib's 3d capabilities, so I dont know how you expected > to work with "from pylab import *" instead of the above. Perhaps you could > give a short explicit example of what used to work and now does not. ----- from pylab import * import matplotlib.axes3d as p3 fig=figure() ax= p3.Axes3D(fig) ax.scatter3D(x,y,z) show() ----- this causes an error. x,y,z are valid 1D arrays. They work using the method you've posted in your mail. Perhaps a wrapper can be wriitten around mayavi's mlab module. 3D plotting is too important to leave out of something like matplotlib. Its perfect for all other things. It would be a pity if one has to switch to gnuplot or dislin just for 3D. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users