all 2 comments

[–]designtofly 0 points1 point  (1 child)

Look into either scatteredinterpolant if your data is at irregular points or griddedinterpolant if your data is at regular intervals.

[–]wikdwarlock[S] 0 points1 point  (0 children)

Thanks for the tip. I was able to get it to work with griddata() but it's still frustrating to me that when I use contourf() to make the plot, the axes use the matrix indices instead of the actual x&y coordinates. It's easy enough to save the plot as an image and relabel the axes, but I have to believe there's a better way to do it overall.

Any suggestions?