Borrar filtros
Borrar filtros

How to change the color of shapefile in pcolor plot

28 visualizaciones (últimos 30 días)
Muskula
Muskula el 20 de Jul. de 2024 a las 7:40
Movida: Voss el 20 de Jul. de 2024 a las 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.

Respuesta aceptada

DGM
DGM el 20 de Jul. de 2024 a las 12:22
Movida: Voss el 20 de Jul. de 2024 a las 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 comentario
Muskula
Muskula el 20 de Jul. de 2024 a las 17:38
Movida: Voss el 20 de Jul. de 2024 a las 17:50
Thank you!
Used this geoshow("worldcoastline.shp",Color=[0 0 0]), the issue is solved now

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by