How to change yellow fill to white in 'mapshow'

조회 수: 6 (최근 30일)
SHIJO ZACHARIA
SHIJO ZACHARIA 2021년 9월 14일
댓글: SHIJO ZACHARIA 2021년 9월 23일
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