필터 지우기
필터 지우기

plot data points on a map

조회 수: 6 (최근 30일)
ahmad Saad
ahmad Saad 2023년 10월 19일
댓글: ahmad Saad 2023년 10월 27일
i need to plot the attached figure.
where
col1: lat
col2 :long
col3: obs
  댓글 수: 6
Dyuman Joshi
Dyuman Joshi 2023년 10월 20일
What do the columns correspond to?
Latitude, Longtidue and?
ahmad Saad
ahmad Saad 2023년 10월 20일
Hi Dyuman
1st columns is lat,
2nd col is long;
3rd col is observations. (But now i think it is not important).

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

채택된 답변

Akira Agata
Akira Agata 2023년 10월 20일
How about the following?
data = readmatrix("https://jp.mathworks.com/matlabcentral/answers/uploaded_files/1515856/plot_map2.csv");
figure
geoscatter(data(:,1), data(:,2), "m.")
geobasemap topographic
geolimits([-30 45], [-20 50])
  댓글 수: 7
Dyuman Joshi
Dyuman Joshi 2023년 10월 27일
@ahmad Saad, Please ask a new question - mention all the relevant information and provide data you are working with.
ahmad Saad
ahmad Saad 2023년 10월 27일

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by