How can I make a grid on US maps based on latitude and longitude of its boundary polygon?

4 visualizaciones (últimos 30 días)
Hi all,
I am struggeling wth making a mesh on US map so that I could use contourm function to show specific parameter across the US. I can not use meshgrid function based on the bounding box since I will have contours somewhere outside the US. Can anyone help me with this regard?
  4 comentarios
Behrooz Daneshian
Behrooz Daneshian el 6 de Abr. de 2023
I have estimated a specific parameter( freezing depth) for almost all weather stations having thier own longitude and latitude existing in the Minnesota state. As the stations are scatterd across the Minessota, I used scatteredInterpolant function to interpolate the freezing depth on the generated nodes(from the mesh) since I aim to draw contour lines for freezing depth. The main problem is with the way I generated the mesh in my code. I used inBoundary funvtion to exclude the points outside the state's boundary. However, I think I still have problem with that,

Iniciar sesión para comentar.

Respuestas (0)


Community Treasure Hunt

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

Start Hunting!

Translated by