Still awaiting any possible answers. I have used the worldmap and geoshow functions in Matlab but that does show the country boundaries. Please do help!
Importing geographical maps in matlab
7 views (last 30 days)
Show older comments
I wish to create an interactive map in Matlab. For that, I need to import a geographical map of Botswana in Matlab. I am getting stuck with that. Kindly do help
Accepted Answer
Chad Greene
on 3 Apr 2015
worldmap('africa') % initializes a map
borders('countries') % outlines all countries
borders('botswana','r-','linewidth',2) % outlines Botswana in red
labelborders('Botswana') % labels Botswana
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175827/image.png)
7 Comments
Hamza Rehman
on 5 Apr 2018
@Chad Greene thanks man!!!!! you really are a gem of a person.. I was stuck here and got the solution Thanks again!!!
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!