How to change yellow fill to white in 'mapshow'

6 次查看(过去 30 天)
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

采纳的回答

Chunru
Chunru 2021-9-14
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by