[NumPy-Tickets] [NumPy] #966: Enhance meshgrid to generate 3D grids + add option for sparse grids

NumPy Trac numpy-tickets@scipy....
Tue Dec 13 16:22:00 CST 2011


#966: Enhance meshgrid  to generate 3D grids + add option for sparse grids
-------------------------+--------------------------------------------------
 Reporter:  pbrod        |       Owner:  charris     
     Type:  enhancement  |      Status:  needs_review
 Priority:  normal       |   Milestone:  Unscheduled 
Component:  numpy.lib    |     Version:  devel       
 Keywords:  meshgrid     |  
-------------------------+--------------------------------------------------

Comment(by rgommers):

 I was adding a test for >2 input arrays, and found this confusing:
 {{{
 In [18]: [xx, yy, zz, qq] = np.meshgrid([1, 2, 3], [5, 6], [8], [10, 11,
 12, 13])

 In [19]: xx.shape
 Out[19]: (2, 3, 1, 4)
 }}}
 This is due to the default 'xy' indexing, but does that make sense in case
 of >2 inputs?

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/966#comment:9>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list