How to change yellow fill to white in 'mapshow'

2 visualizaciones (últimos 30 días)
SHIJO ZACHARIA
SHIJO ZACHARIA el 14 de Sept. de 2021
Comentada: SHIJO ZACHARIA el 23 de Sept. de 2021
I used 'mapshow(S);' to plot shape file.
The plot is filled with yellow colour.
I need only boundary (fill with white)
How to change yellow to white

Respuesta aceptada

Chunru
Chunru el 14 de Sept. de 2021
p = shaperead('concord_hydro_area.shp');
p = 98×1 struct array with fields:
Geometry BoundingBox X Y AREA PERIMETER
mapshow(p, 'FaceColor', 'y') % change 'y' to 'w' for white

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