フィルターのクリア

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

1 回表示 (過去 30 日間)
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 件のコメント
Behrooz Daneshian
Behrooz Daneshian 2023 年 4 月 6 日
Above is my code. you can use the shape file located in the attached zipped folder. A cell array called "prob" is also attached here (the last column of this cell array include longirtude, latitide, the probability that the specific parameter exceeds 1 foot, 2 feet, 3 feet, 4 feet, and 5 feet respectively). I think the way that I created mesh on Mineesota map is not correct and, consequently the contour values are wrong.
Behrooz Daneshian
Behrooz Daneshian 2023 年 4 月 6 日
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,

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by