long and lat map plot

8 visualizzazioni (ultimi 30 giorni)
Blake De Brock
Blake De Brock il 28 Gen 2015
Risposto: Chad Greene il 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

Risposta accettata

Chad Greene
Chad Greene il 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.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by