Data.griddata

Data.griddata(xcol=None, ycol=None, zcol=None, ucol=None, shape=None, xlim=None, ylim=None, zlim=None, method='linear', **kargs)

Convert xyz data onto a regular grid.

Parameters
  • xcol (index) – Xcolumn index or label

  • ycol (index) – Y column index or label

  • zcol (index) – Z column index or label

Keyword Arguments
  • ucol (index) – U (magnitude) column index or label

  • shape (two-tuple, three-ruple) – Number of points along x and y in the grid - defaults to a square of sidelength = square root of the length of the data.

  • xlim (tuple) – The xlimits

  • ylim (tuple) – The ylimits

  • zlim (tuple) – The ylimits

  • method (string) – Type of interploation to use, default is linear

  • ReturnsL

    (X,Y,Z) or (X,Y,Z,M):

    three two dimensional arrays of the co-ordinates of the interpolated data or 4 three diemensional arrays of the interpolated data

Notes

Depending on whether 3 or 4 columns of data can be identified, this method will produce data for a \(Z(X,Y)\) plot or a \(M(X,Y,Z)\) volumetric plot.