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