-
Notifications
You must be signed in to change notification settings - Fork 18
3d plots
bprail edited this page Feb 10, 2015
·
3 revisions
`>>> import numpy as np
import matplotlib.pyplot as plt
>>> import matplotlib.colors as colors>>> import matplotlib as matplotlib>>> fig = plt.figure()>>> x,y,z = np.random.randn(100), np.random.randn(100), np.random.randn(100)>>> from mpl_toolkits.mplot3d import Axes3D>>> ax = fig.add_subplot(111, projection='3d')>>> ax.scatter(x,y,z, c= np.random.randn(100))