Effacer les filtres
Effacer les filtres

Can I plot geographic data defined on a triangular mesh on a map axes object?

4 vues (au cours des 30 derniers jours)
David Russell
David Russell le 10 Fév 2022
Commenté : David Russell le 10 Fév 2022
Does MATLAB have a means of plotting data defined on a triangular mesh on a map axes object? The vertices of the triangulation are given in latitude and longitude coordinates. I’m aware of geoshow, patchm and surfm, but these don’t seem to do the trick. Ideally, I would be looking for something called trisurfm, but it doesn’t exist. So I’m guessing the answer is no.

Réponses (1)

KSSV
KSSV le 10 Fév 2022
You can convert your triangular data into structured using griddata. After converting into a grid you can use surfm.
Read about griddata.
  1 commentaire
David Russell
David Russell le 10 Fév 2022
Thanks. That may be the best solution, but it's not ideal. I'm dealing with data on a lake, and griddata basically destroys the coastlines and fills in the islands.

Connectez-vous pour commenter.

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by