How can I use numbers as Markers in geoshow maplots
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
figure
ax = worldmap([32.5 42],[-125 -114]);
load coast
geoshow(ax, lat, long,...
'DisplayType', 'polygon', 'FaceColor', [.45 .60 .30])
states = shaperead('usastatelo', 'UseGeoCoords', true);
faceColors = makesymbolspec('Polygon',...
{'INDEX', [1 numel(states)], 'FaceColor', polcmap(numel(states))});
geoshow(ax, states, 'DisplayType', 'polygon', 'SymbolSpec', faceColors)
Map = xlsread('Locations.xlsx');
Map(:,3) = Cali_info(:,1);
Map(:,4) = Cali_info(:,2);
geoshow(Map(:,1),Map(:,2), 'DisplayType','Point','Marker','+','Color', 'red','Markersize',12);

0 comentarios
Respuestas (1)
Rohit Kudva
el 16 de Jul. de 2015
Hi Juan,
Unfortunately 'geoshow' function does not have any property that will allow you to use numerical markers on the map. You can instead use 'textm' function to display numerical markers. Refer to the following link to know more about the 'textm' function:
You can also refer to the following link which may help you resolve this issue:
I hope the above links will help you to get the desired output. All the best!
- Rohit
0 comentarios
Ver también
Categorías
Más información sobre Map Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!