Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fig = p1.figure
- ax = fig.gca(projection='3d')
- x, y, z = axes3d.get_test_data(0.05)
- ax.plot_surface(x, y, z, rstride=8, cstride=8, alpha=0.3)
- ax.contour(x, y, z, zdir='z', offset=-100)
- ax.contour(x, y, z, zdir='x', offset=-40)
- ax.contour(x, y, z, zdir='y', offset=40)
- ax.set_xlabel('X')
- ax.set_xlim(-40, 40)
- ax.set_ylabel('Y')
- ax.set_ylim(-40, 40)
- ax.set_zlabel('Z')
- ax.set_zlim(-100, 100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement