Re: [Matplotlib-users] 3D layered plot

2012-04-05 Thread Moore, Eric (NIH/NIDDK) [F]
> -Original Message- > From: Marston Johnston [mailto:shejo...@gmail.com] > Sent: Thursday, April 05, 2012 9:11 AM > To: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] 3D layered plot > > Hi Eric, > > For some reason I cannot see you

Re: [Matplotlib-users] 3D layered plot

2012-04-05 Thread Marston Johnston
Hi Eric, For some reason I cannot see your post on the webpage but I get your emails. My python doesn't have: art3d.poly_collection_2d_to_3d() Is this an old function that has been deprecated? I'm using matplotlib version 1.1.0 /M On Apr 5, 2012, at 10:47 AM, Marston wrote: > > This plot is p

Re: [Matplotlib-users] 3D layered plot

2012-04-05 Thread Moore, Eric (NIH/NIDDK) [F]
It sort of is: import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import mpl_toolkits.mplot3d.art3d as art3d import numpy as np x, y = np.mgrid[0:2*np.pi:16j, 0:2*np.pi:16j] C = np.cos(2*x[:-1,:-1]) + np.sin(y[:-1,:-1]) fig = plt.figure() ax = fig.add_subplot(111, projectio