<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On Friday 29 April 2011 12:56 PM, dileep kunjaai wrote:
<blockquote
 cite="mid:BANLkTinw=qYoQ-4iOHuqZ9AhGCw1P5X8yw@mail.gmail.com"
 type="cite">Dear sir, <br>
 I am trying to make an array of varies from  -60 to 90 with difference
0.25. I tried the following command ...<br>
  <br>
>>import numpy as N<br>
    lat=N.array(xrange(-6000, 9000, 25), dtype=float)<br>
    print lat/100<br>
  <br>
  <br>
I know that there is another easy method......<br>
Please give me a replay ........<br>
                                                                
Thanking you..............<br>
 <br clear="all">
  <br>
-- <br>
DILEEPKUMAR. R<br>
J R F, IIT DELHI<br>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NumPy-Discussion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/numpy-discussion">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a>
  </pre>
</blockquote>
use the numpy.ogrid command:<br>
lat =numpy.mgrid[-60:90:.25]<br>
<br>
pratik<br>
</body>
</html>