Re: [Matplotlib-users] rectangle 3D with transparency

2012-12-26 Thread Diego Avesani
dear Paul, thanks a lot it works Diego On 26 December 2012 14:53, Paul Hobson wrote: > On Wed, Dec 26, 2012 at 6:49 AM, Diego Avesani wrote: > >> Dear all, >> I need to plot a 2D rectangle in a 3D plot. >> >> I already know how to put a circle. I have started from: >> http://matplotlib.org/e

Re: [Matplotlib-users] rectangle 3D with transparency

2012-12-26 Thread Paul Hobson
On Wed, Dec 26, 2012 at 6:49 AM, Diego Avesani wrote: > Dear all, > I need to plot a 2D rectangle in a 3D plot. > > I already know how to put a circle. I have started from: > http://matplotlib.org/examples/mplot3d/pathpatch3d_demo.html > and inserting the alpha parameter. > > *p = Circle((5, 5), 2

[Matplotlib-users] rectangle 3D with transparency

2012-12-26 Thread Diego Avesani
Dear all, I need to plot a 2D rectangle in a 3D plot. I already know how to put a circle. I have started from: http://matplotlib.org/examples/mplot3d/pathpatch3d_demo.html and inserting the alpha parameter. *p = Circle((5, 5), 2,alpha=0.1)* *ax.add_patch(p)* *art3d.pathpatch_2d_to_3d(p, z=5,zdir=