MATLAB Answers


Temperature contour plot from x,y coordinates and corresponding Temperatures?

Asked by Mahabubur Rahman on 14 Jun 2019
Latest activity Answered by Star Strider
on 14 Jun 2019
Hello everyone,
I have a data set that has the x,y coordinates and their corresponding temperatures (i.e. position based temperatures). How can I draw a plot that will show the temperatures of those positions like contour plot.
Thanks in advance for your time and suggestions. :D


but my values of temperature for x,y coordinates are fixed and the interpolating values in between them has to be calculated, If I use meshgrid then it could lead to improper interpolation results.

Sign in to comment.

1 Answer

Answer by Star Strider
on 14 Jun 2019
 Accepted Answer

See if the griddata (link) function will do what you want.


Sign in to comment.