Switched to interactive plotting.

This commit is contained in:
Roger Labbe 2016-02-27 20:04:40 -08:00
parent 590af94807
commit f3358f44d6
2 changed files with 24721 additions and 192 deletions

File diff suppressed because one or more lines are too long

View File

@ -351,7 +351,7 @@ def plot_3d_sampled_covariance(mean, cov):
for xx,yy in zip(np.ravel(xv), np.ravel(yv))])
zv = zs.reshape(xv.shape)
ax = plt.figure().add_subplot(111, projection='3d')
ax = plt.gcf().add_subplot(111, projection='3d')
ax.scatter(x,y, [0]*count, marker='.')
ax.set_xlabel('X')