plot data points on a map
4 views (last 30 days)
Show older comments
i need to plot the attached figure.
where
col1: lat
col2 :long
col3: obs
6 Comments
Accepted Answer
Akira Agata
on 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 Comments
Dyuman Joshi
on 27 Oct 2023
@ahmad Saad, Please ask a new question - mention all the relevant information and provide data you are working with.
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!