From: Darren D. <dsd...@gm...> - 2008-07-09 14:55:03
|
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 |