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

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.

But if I do an "from pylab import *",
the plot command does'nt work. Any ideas?

2. In the scatterplot, as well as other 3D plots, I would like to plot
different datasets with different colors. While in plot(), "r." etc
change color, in plot3d etc the option does'nt work.
So, is there a way to use different colors in the same plot.

3. Is there any documentation on the 3D plotting functions. There are
examples at http://scipy.org/Cookbook/Matplotlib/mplot3D, but I
could'nt find any documentation on function calls, options etc.
help(plot3d) just says plot3d(**args) without any other info.

cheers,
anirudh.

-------------------------------------------------------------------------
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

Reply via email to