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

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.

回答(1 个)

You can convert your triangular data into structured using griddata. After converting into a grid you can use surfm.
Read about griddata.

1 个评论

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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Geographic Plots 的更多信息

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by