[Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread dileep kunjaai
Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25), dtype=float) print lat/100 I know that there is another easy method.. Please give me a replay

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Youngung Jeong
Usenp.arange(-60, 90.0001, 0.25) Youngung Jeong Graduate student Materials Mechanics Laboratory Graduate Institute of Ferrous Technology Pohang University of Science and Technology On Fri, Apr 29, 2011 at 4:26 PM, dileep kunjaai dileepkunj...@gmail.comwrote: Dear sir, I am trying to

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread pratik
On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25), dtype=float) print lat/100 I know that there is

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread pratik
On Friday 29 April 2011 01:01 PM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25),

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Christopher Barker
On 4/29/11 12:31 AM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ... import numpy as N lat=N.array(xrange(-6000, 9000, 25), dtype=float) print

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread dileep kunjaai
Thank you sir: thank youvery much for ur time and consideration.. On Fri, Apr 29, 2011 at 9:11 PM, Christopher Barker chris.bar...@noaa.govwrote: On 4/29/11 12:31 AM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Sebastian Haase
On Fri, Apr 29, 2011 at 5:41 PM, Christopher Barker chris.bar...@noaa.gov wrote: On 4/29/11 12:31 AM, pratik wrote: On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote: Dear sir, I am trying to make an array of varies from -60 to 90 with difference 0.25. I tried the following command ...

Re: [Numpy-discussion] Array of size 'n' with common difference 1

2011-04-29 Thread Christopher Barker
On 4/29/11 1:27 PM, Sebastian Haase wrote: Just for completeness, note this paragraph from the mgrid docs: However, if the step length is a *complex number* (e.g. 5j), then the integer part of its magnitude is interpreted as specifying the number of points to create between the start and