long and lat map plot

8 visualizaciones (últimos 30 días)
Blake De Brock
Blake De Brock el 28 de En. de 2015
Respondida: Chad Greene el 9 de Feb. de 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

Respuesta aceptada

Chad Greene
Chad Greene el 9 de Feb. de 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.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by