long and lat map plot
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Geographic 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!