Re: Create linear spaced vector?

2004-12-17 Thread Adam DePrince
On Fri, 2004-12-17 at 13:39, kjm wrote: Hi Everyone, I am trying to port some old MatLab code to python, and am stuck on how to accomplish something. I am trying to write a generalized function that will create a linearly spaced vector, given the start and end point, and the number of

Re: Create linear spaced vector?

2004-12-17 Thread kjmacken
Thanks for the code snippets guys. Exactly what I needed to get going. I knew I could get the solution from matplotlib, but getting it installed using Fink (OS X) has been giving me a headache, so I thought I could just write my own function for now to get a small piece of code written The

Re: Create linear spaced vector?

2004-12-17 Thread kjmacken
John, Thanks for the heads up RE: scipy, I will keep my eyes on the developments. Also, thanks for the info: [quote] that the matplotlib.mlab package (where linspace and others functions reside) do not require any extension code and can be reused anywhere [/quote] I was able to get these