long and lat map plot

3 views (last 30 days)
Blake De Brock
Blake De Brock on 28 Jan 2015
Answered: Chad Greene on 9 Feb 2015
does anyone know how to add a star (red star) on a certain longitude and latitude?
right now i have lon=-91.14 and lat=30.45

Accepted Answer

Chad Greene
Chad Greene on 9 Feb 2015
If you have the Mapping Toolbox and you have a map initialized already,
plotm(30.45,-91.14,'rp')
If you do not have the mapping toolbox, this is probably better:
plot(-91.14,30.45,'rp')
The 'rp' option specifies a red pentagram.

More Answers (0)

Categories

Find more on Geographic Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!