[Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-14 Thread Debashish Saha
import numpy from enthought.mayavi import mlab #def test_mesh(): #"""A very pretty picture of spherical harmonics translated from #the octaviz example.""" for r in range (1,5): print r pi = numpy.pi cos = numpy.cos sin = numpy.sin dphi, dtheta, dz = pi/250.0, pi/250.0, 0.01

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-14 Thread Mark Lawrence
On 14/02/2012 13:52, Debashish Saha wrote: > import numpy > > from enthought.mayavi import mlab > > #def test_mesh(): > #"""A very pretty picture of spherical harmonics translated from > > #the octaviz example.""" > for r in range (1,5): > print r > > > pi = numpy.pi > > cos = numpy.cos

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrence wrote: > On 14/02/2012 13:52, Debashish Saha wrote: > > import numpy > > > > from enthought.mayavi import mlab > > > > #def test_mesh(): > > #"""A very pretty picture of spherical harmonics translated from > > > > #the octaviz example.""" > > for r in

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Mark Lawrence
On 15/02/2012 17:21, Benjamin Root wrote: > On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrencewrote: > >> On 14/02/2012 13:52, Debashish Saha wrote: >>> import numpy >>> >>> from enthought.mayavi import mlab >>> >>> #def test_mesh(): >>> #"""A very pretty picture of spherical harmonics translated from

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Wed, Feb 15, 2012 at 2:52 PM, Mark Lawrence wrote: > On 15/02/2012 17:21, Benjamin Root wrote: > > On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrence >wrote: > > > >> On 14/02/2012 13:52, Debashish Saha wrote: > >>> import numpy > >>> > >>> from enthought.mayavi import mlab > >>> > >>> #def test_me

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Mark Lawrence
On 15/02/2012 21:34, Benjamin Root wrote: > On Wed, Feb 15, 2012 at 2:52 PM, Mark Lawrencewrote: > >> On 15/02/2012 17:21, Benjamin Root wrote: >>> On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrence>> wrote: >>> On 14/02/2012 13:52, Debashish Saha wrote: > import numpy > > from enthoug

Re: [Matplotlib-users] problem in plotting cylinders with differnet colour

2012-02-15 Thread Benjamin Root
On Wed, Feb 15, 2012 at 3:57 PM, Mark Lawrence wrote: > On 15/02/2012 21:34, Benjamin Root wrote: > > On Wed, Feb 15, 2012 at 2:52 PM, Mark Lawrence >wrote: > > > >> On 15/02/2012 17:21, Benjamin Root wrote: > >>> On Tue, Feb 14, 2012 at 8:58 AM, Mark Lawrence >>> wrote: > >>> > On 14/02/2012