On Wednesday 09 July 2008 10:35:55 am anirudh vij wrote: > Hi, > > First off, I'd like to congratulate the devs who wrote the 3D plotting > module. Its great and fits a lot of my plotting needs without > resorting to vtk, mayavi etc. > > But I've had some issues with 3D plots
I'm sorry to disappoint, but 3D plotting has been unsupported for a long time and was recently removed from the mpl codebase. > 1. If i do a > ---- > import pylab as p > import matplotlib.axes3d as p3 > fig=p.figure() > ax = p3.Axes3D(fig) > ax.scatter3D(ravel(x),ravel(y),ravel(z)) > ax.set_xlabel('X') > ax.set_ylabel('Y') > ax.set_zlabel('Z') > p.show() > ---- > > then things work well. probably because you have an old version of axes3d.py in your installation directory... > But if I do an "from pylab import *", > the plot command does'nt work. Any ideas? ... but pylab.py knows that we dropped 3d support so it doesnt try to import it anymore. Darren ------------------------------------------------------------------------- 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