Add world map background to contour plot

8 views (last 30 days)
AKHILESH KUMAR on 10 May 2019
Edited: KSSV on 10 May 2019
i have .shp file for India. How to plot lat lon data on it, so that it remain in bacground.

Answers (1)

KSSV on 10 May 2019
Edited: KSSV on 10 May 2019
S = shaperead(filename) ;
Now you have your lat, lon coordinates in S..extract them and plot. Mostly the following shall work .
S = shaperead(filename) ;
lon = [S(:).X]';
lat = [S(:).Y]';
NOTE: You have asked more or less the same question here: You should comment/ accept your question there and ask for another question. It is not fair to leave the answer without giving any credits.


Find more on Colormaps 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!

Translated by