plot data points on a map

i need to plot the attached figure.
where
col1: lat
col2 :long
col3: obs

6 Commenti

Dyuman Joshi
Dyuman Joshi il 19 Ott 2023
Do you want to use the Robinson projection (or any other projection)?
If yes, then you will require access to the Mapping Toolbox.
ahmad Saad
ahmad Saad il 19 Ott 2023
Hi again,
it doesnt matter.
as i havent the the Mapping Toolbox.
i only need the the map within the specified limits.
Dyuman Joshi
Dyuman Joshi il 20 Ott 2023
Modificato: Dyuman Joshi il 20 Ott 2023
Okay.
@ahmad Saad, Did you try the method I proposed in your previous question?
ahmad Saad
ahmad Saad il 20 Ott 2023
how to apply it ??
Dyuman Joshi
Dyuman Joshi il 20 Ott 2023
What do the columns correspond to?
Latitude, Longtidue and?
ahmad Saad
ahmad Saad il 20 Ott 2023
Hi Dyuman
1st columns is lat,
2nd col is long;
3rd col is observations. (But now i think it is not important).

Accedi per commentare.

 Risposta accettata

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 Commenti

Dyuman Joshi
Dyuman Joshi il 20 Ott 2023
@Akira Agata, OP is working with R2018a.
ahmad Saad
ahmad Saad il 20 Ott 2023
Yes, it works fine.
Thank you my dear.
Dyuman Joshi
Dyuman Joshi il 20 Ott 2023
@ahmad Saad, Did you upgrade your MATLAB version?
ahmad Saad
ahmad Saad il 22 Ott 2023
Spostato: Dyuman Joshi il 27 Ott 2023
Unfortunately, not yet.
i still have ver 2018a
ahmad Saad
ahmad Saad il 27 Ott 2023
Spostato: Dyuman Joshi il 27 Ott 2023
Hi
is it possible to draw a map like this ??
Dyuman Joshi
Dyuman Joshi il 27 Ott 2023
@ahmad Saad, Please ask a new question - mention all the relevant information and provide data you are working with.

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by