Making a map in matlab

98 次查看(过去 30 天)
Hello
I have a .csv file in which is included one column with Latitudes, one column with Longtitudes and one column with Values(for example 1,2,3, etc). I would like to create a map but I don't know which command to use. I ve tried to use geoshow, geoplot and mapshow command but it is no use.
I mean i ve tried these :
lon1=d1(:,7);
lat1=d1(:,6);
values=d1(:,12);
mapshow(lat1,lon1,A,cmap) %or
geoshow(lat1,lon1,A,cmap) %or
geoplot(lat1,lon1,A,cmap)
but I have no results. Furthermore, I would like to create maps with these format (see attachment images )
The region I want to create maps is Greece.
Could anyone help me to make it?
Thanking you in advance
  1 个评论
hizaki
hizaki 2020-1-31
Hi! have you found out how? I am also planning to make a map using MATLAB..

请先登录,再进行评论。

采纳的回答

Hiro Yoshino
Hiro Yoshino 2020-1-31
I bet either geoplot or geoscatter is the one for you.
if you want to use maps, e.g., openstreetmap, from outside of MATLAB echosystem, try:
name = 'openstreetmap';
url = 'a.tile.openstreetmap.org';
copyright = char(uint8(169));
attribution = copyright + "OpenStreetMap contributors";
displayName = 'Open Street Map';
addCustomBasemap(name,url,'Attribution',attribution,'DisplayName',displayName)
and
% Replace the map of your choice
% latlim: latitude, lonlim: longitude
geoscatter("SEE DOCUMENTATION for GRAMMER!!")
geobasemap("openstreetmap");
geolimits(latlim,lonlim);

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by