[Numpy-discussion] "trapezoidal" grids

Hugo Gagnon sourceforge.numpy@user.fastmail...
Fri Feb 10 11:26:02 CST 2012


Hello,

Say I have four corner points a = (X0, Y0), b = (X1, Y1), c = (X2, Y2)
and d = (X3, Y3):

a----------b
 \        /
  \      /
   c----d

Is there a function like meshgrid that would return me a grid of points
linearly interpolating those four corner points?

Thanks,


More information about the NumPy-Discussion mailing list