April 29, 2011
7:33 a.m.
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), dtype=float) print lat/100
I know that there is another easy method...... Please give me a replay ........
Thanking you..............
-- DILEEPKUMAR. R J R F, IIT DELHI
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
use the numpy.ogrid command: lat =numpy.mgrid[-60:90:.25]
pratik i meant numpy.mgrid (not ogrid) :)
pratik