Effacer les filtres
Effacer les filtres

plot data points on a map

5 vues (au cours des 30 derniers jours)
ahmad Saad
ahmad Saad le 19 Oct 2023
Commenté : ahmad Saad le 27 Oct 2023
i need to plot the attached figure.
where
col1: lat
col2 :long
col3: obs
  6 commentaires
Dyuman Joshi
Dyuman Joshi le 20 Oct 2023
What do the columns correspond to?
Latitude, Longtidue and?
ahmad Saad
ahmad Saad le 20 Oct 2023
Hi Dyuman
1st columns is lat,
2nd col is long;
3rd col is observations. (But now i think it is not important).

Connectez-vous pour commenter.

Réponse acceptée

Akira Agata
Akira Agata le 20 Oct 2023
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 commentaires
Dyuman Joshi
Dyuman Joshi le 27 Oct 2023
@ahmad Saad, Please ask a new question - mention all the relevant information and provide data you are working with.
ahmad Saad
ahmad Saad le 27 Oct 2023

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Just for fun dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by