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!