Create a gradient interpolated surface with few latitude and longitude coordinates

Hello everyone,
So I have some latitude coordinates [21.7635 21.7549 21.7462 21.7355 21.7233 21.7181 21.7096 21.7070]
and longitude coordinates [39.1366 39.1315 39.1286 39.1172 39.1133 39.0988 39.0951 39.0891] with corresponding temepratures [28.5746 28.7729 28.7079 28.6717 28.6379 28.6529 28.7192 28.6996].
I'm able to plot these as point marks on a map using geoshow with custom shape file and plotm functions.
What I need is to use these point values to create a gradient surface so it appears as a shaded fill inside the land area of the shape layer. I attached as an image what I currently get, and the second image sort of what I need to get.
point_marks.PNG objective.jpg

 Accepted Answer

First of all you have to decide how to interpolate your data. Look at the image
first.png
If color normals of a curve
third.png
Define color of temperature (You have a few colors fo the same temperature).
second.png

4 Comments

Thank you. I'm fine with any kind of interpolation as long as it's a gradient fill. Can you please let me know if you colored it manually or by code?
I need help coding an interplated surface or matrix based on these eight points.
Im sure there is more simple way to create gradient mesh/surface
See attached files
I really appreciate that you put in time to code specifically for my problem. This works for me and I'm really grateful for it. So I assume the filled area appears clear as more lines are drawn in the spline direction?

Sign in to comment.

More Answers (0)

Asked:

on 6 Apr 2019

Commented:

on 7 Apr 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!