Create a gradient interpolated surface with few latitude and longitude coordinates

1 Ansicht (letzte 30 Tage)
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

Akzeptierte Antwort

darova
darova am 6 Apr. 2019
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 Kommentare
wise_boss
wise_boss am 7 Apr. 2019
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?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by