How to change the color of shapefile in pcolor plot

2 Ansichten (letzte 30 Tage)
Muskula
Muskula am 20 Jul. 2024
Verschoben: Voss am 20 Jul. 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.

Akzeptierte Antwort

DGM
DGM am 20 Jul. 2024
Verschoben: Voss am 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 Kommentar
Muskula
Muskula am 20 Jul. 2024
Verschoben: Voss am 20 Jul. 2024
Thank you!
Used this geoshow("worldcoastline.shp",Color=[0 0 0]), the issue is solved now

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by