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 Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by