title: Creating an X by Y dimension array of (a,b) points in Python 2.7
body: <p>I've been oddly bashing my head against this problem for several hours, and would appreciate any help!</p>
  
  <p>I would like to create a (for example) 100x100 array in which each index is a <code>(x,y)</code> coordinate. The overall goal here is the following:</p>
  
  <p>I have x,y coordinates and would like to arrange them in a 2D space so that I can use the <code>np.diagonal</code> function to return the <code>(x,y)</code> coordinates along a line. I'll then use those <code>(x,y)</code> points to compare particular values.</p>
  
  <p>The first step here is actually creating the array and I just can't seem to do it.</p>