Python - Problems contour plotting offset grid of data
问题 My data is regularly spaced, but not quite a grid - each row of points is slightly offset from the one below. The data is in the form of 3 1D arrays, x, y, z, with each index corresponding to a point. It is smoothly varying data - approximately Gaussian. The point density is quite high. What is the best way to plot this data? I tried meshgrid, but it gives me some bad contours through regions that have no data points near the contour's value. I have tried rbf interpolation according to this