How to change the color of shapefile in pcolor plot

3 vues (au cours des 30 derniers jours)
Muskula
Muskula le 20 Juil 2024
Déplacé(e) : Voss le 20 Juil 2024
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.

Réponse acceptée

DGM
DGM le 20 Juil 2024
Déplacé(e) : Voss le 20 Juil 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 commentaire
Muskula
Muskula le 20 Juil 2024
Déplacé(e) : Voss le 20 Juil 2024
Thank you!
Used this geoshow("worldcoastline.shp",Color=[0 0 0]), the issue is solved now

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by