Effacer les filtres
Effacer les filtres

How to change the color of shapefile in pcolor plot

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

Réponse acceptée

DGM
DGM le 20 Juil 2024 à 12:22
Déplacé(e) : Voss le 20 Juil 2024 à 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 commentaire
Muskula
Muskula le 20 Juil 2024 à 17:38
Déplacé(e) : Voss le 20 Juil 2024 à 17:50
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)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by