Given that I have a set of latitiude and longitude in degrees, how can i visualise it in an interactive map?
古いコメントを表示
My latitude and and longitude coordinates in degrees are as follows:
Lat=
12.6600
10.9106
10.2050
8.9828
8.5950
7.5167
6.7567
6.5033
Long=
83.5567
87.1264
88.5300
91.1714
91.9967
94.4167
95.9767
96.4917
i was checking the MAPPING interactive map. What is the simplest way to plot the track for each points?
3 件のコメント
Chad Greene
2015 年 6 月 25 日
You'll have to make your question more specific. What exactly do you want to do?
Geoff Hayes
2015 年 6 月 27 日
The fourth step from Creating an Interactive Map seems to suggest that you can use geoshow to plot a set of points.
回答 (1 件)
Amy Haskins
2015 年 8 月 11 日
If you are looking to plot the points or connect them with a line and have R2013b or newer, you can use the wmmarker and wmline functions.
wmmarker(Lat,Long);
wmline(Lat,Long)
These will plot your data on a webmap and you can choose from several base layers to provide context.
If you are trying to create a track between the points, then take a look at the example on the reference page for the function track.
doc track
4 件のコメント
yashvin
2015 年 8 月 12 日
Amy Haskins
2015 年 8 月 17 日
Here's a simple way to view your data on a 3d globe that you can rotate in MATLAB.
% Set up the map axes
figure
axesm('globe','geoid',wgs84Ellipsoid)
% Use topo data to create a background
load topo
meshm(topo, topolegend, size(topo));
demcmap(topo);
% Plot your track
plot3m(lat,lon,alt,'r-')
yashvin
2015 年 8 月 19 日
Amy Haskins
2015 年 8 月 19 日
You might need to add view(3) to get into a 3D view and then rotate by using the Rotate 3D button or selecting Rotate 3D from the tools drop down.
カテゴリ
ヘルプ センター および File Exchange で 3-D Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!