3d plot
Verfasst: Dienstag 27. Mai 2008, 11:27
Hallo,
kennt jemand gute Module um 3d plots zu machen?
Habs mit matplotlib.axes3d versucht, aber gerade die Funktion cotourf3D ist broken
MfG
Ps. hat jemand Gnuplot und Python mal zusammen ausprobiert?
kennt jemand gute Module um 3d plots zu machen?
Habs mit matplotlib.axes3d versucht, aber gerade die Funktion cotourf3D ist broken
Code: Alles auswählen
1 # in mplt3D change:
2 # levels, colls = self.contourf(X, Y, Z, 20)
3 # to:
4 # C = self.contourf(X, Y, Z, *args, **kwargs)
5 # levels, colls = (C.levels, C.collections)
6
7 fig=p.figure()
8 ax = p3.Axes3D(fig)
9 ax.contourf3D(X,Y,Z)
10 ax.set_xlabel('X')
11 ax.set_ylabel('Y')
12 ax.set_zlabel('Z')
13 fig.add_axes(ax)
14 p.show()
Ps. hat jemand Gnuplot und Python mal zusammen ausprobiert?