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

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)

Tags

Community Treasure Hunt

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

Start Hunting!