MATLAB Answers

Plot data in map with LAT LONG

2 ビュー (過去 30 日間)
M M Nabi
M M Nabi 2021 年 4 月 8 日
回答済み: KSSV 2021 年 4 月 8 日
I have some LAT and LON data and for those corresponding Lat Lon, I have some value. I want to plot those in a map.
Any idea?
LAT (100, 1)
LON (100,1)
power(100,1)

回答 (1 件)

KSSV
KSSV 2021 年 4 月 8 日
You may see the below example for plotting.
x = LON ; y = LAT ; z = power ;
%%structured
xi = unique(x) ; yi = unique(y) ;
[X,Y] = meshgrid(xi,yi) ;
Z = reshape(z,size(X)) ;
figure
surf(X,Y,Z)
%%unstructured
dt = delaunayTriangulation(x,y) ;
tri = dt.ConnectivityList ;
figure
trisurf(tri,x,y,z)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by