Clear Filters
Clear Filters

How to change the color of shapefile in pcolor plot

28 views (last 30 days)
Muskula
Muskula on 20 Jul 2024 at 7:40
Moved: Voss on 20 Jul 2024 at 17:50
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 at 12:22
Moved: Voss on 20 Jul 2024 at 17:50
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 at 17:38
Moved: Voss on 20 Jul 2024 at 17:50
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!