Add world map background to contour plot
3 ビュー (過去 30 日間)
古いコメントを表示
i have .shp file for India. How to plot lat lon data on it, so that it remain in bacground.
0 件のコメント
回答 (1 件)
KSSV
2019 年 5 月 10 日
編集済み: KSSV
2019 年 5 月 10 日
S = shaperead(filename) ;
Now you have your lat, lon coordinates in S..extract them and plot. Mostly the following shall work .
S = shaperead(filename) ;
lon = [S(:).X]';
lat = [S(:).Y]';
plot(lon,lat)
NOTE: You have asked more or less the same question here: https://in.mathworks.com/matlabcentral/answers/461212-add-world-map-background-to-contour-plot?s_tid=prof_contriblnk. You should comment/ accept your question there and ask for another question. It is not fair to leave the answer without giving any credits.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Orange についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!