How to change the color of shapefile in pcolor plot

2 views (last 30 days)
I have a pcolor global plot over which i have imposed a worldcoastal shapefile. However, i wish to change the default color from blue to black.

Accepted Answer

DGM
DGM on 20 Jul 2024
Moved: Voss on 20 Jul 2024
If you're using geoshow(), then you should be able to set the relevant properties of the object being created (e.g. the 'color' property of a line object)
  1 Comment
Muskula
Muskula on 20 Jul 2024
Moved: Voss on 20 Jul 2024
Thank you!
Used this geoshow("worldcoastline.shp",Color=[0 0 0]), the issue is solved now

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!