long and lat map plot

9 Ansichten (letzte 30 Tage)
Blake De Brock
Blake De Brock am 28 Jan. 2015
Beantwortet: Chad Greene am 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by