Borrar filtros
Borrar filtros

Locate A Point On Map

6 visualizaciones (últimos 30 días)
Okan
Okan el 14 de Abr. de 2013
Hi everyone,
I am trying to locate a point with a specified latitude and longitude coordinates on the map. I use this code below;
worldmap([40.510 41.284],[28.761,30.511]);
geoshow('landareas.shp', 'FaceColor', 'yellow');
scatterm(40.702,29.431,'r','o','filled');
This point is exhibited as circle on the map but I cannot change its size. How can I solve this problem?

Respuesta aceptada

Justace Clutter
Justace Clutter el 14 de Abr. de 2013
Do not use the scatterm unless you have a lot of points that you are trying to hightlight...
Use the following small change to your code...
worldmap([40.510 41.284],[28.761,30.511]);
geoshow('landareas.shp', 'FaceColor', 'yellow');
plotm(40.702, 29.431, 'or', 'MarkerSize', 10, 'MarkerFaceColor', 'r');

Más respuestas (1)

Okan
Okan el 14 de Abr. de 2013
It works!!! Thank you so much :)
  1 comentario
Cedric
Cedric el 14 de Abr. de 2013
Please [ Accept ] Justace answer if it works.

Iniciar sesión para comentar.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by