Plot data in map with LAT LONG
显示 更早的评论
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
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)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!