[SciPy-user] meshgrid
Stefan van der Walt
stefan at sun.ac.za
Wed Jul 5 11:29:10 EDT 2006
Nils,
These bug reports are especially useful in the form of tickets. See
http://projects.scipy.org/scipy/numpy/ticket/169
Regards
Stéfan
On Wed, Jul 05, 2006 at 09:35:49AM +0200, Nils Wagner wrote:
> Hi all,
>
> Is it intended that the shape of the input vectors xcoor, ycoor is
> modified ?
>
> from scipy import *
> xcoor=linspace(-2,2,10)
> ycoor=linspace(-1,1,10)
> print shape(xcoor)
> print shape(ycoor)
> X1,Y1 = meshgrid(xcoor,ycoor)
> print shape(xcoor)
> print shape(ycoor)
>
>
> Output
>
> (10,)
> (10,)
> (1, 10)
> (10, 1)
>
> Nils
More information about the SciPy-User
mailing list