Given that I have a set of latitiude and longitude in degrees, how can i visualise it in an interactive map?

조회 수: 1 (최근 30일)
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
yashvin
yashvin 2015년 8월 12일
편집: yashvin 2015년 8월 12일
Thanks for your reply.
For instance,
lat = [ 43 43 41 38];
lon = [116 120 126 128];
Alttiude=[10000 5000 2000 1000]
I want to have a 3d visualisation overlayed on the world map!
Any clue how to do it?

댓글을 달려면 로그인하십시오.

답변 (1개)

Amy Haskins
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
yashvin 2015년 8월 19일
I tried bit cannot view in 3d. Can you please give me a screenshot?
Amy Haskins
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.

댓글을 달려면 로그인하십시오.

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by