plot data points on a map

3 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by