how to change the shading of a plot to default?

1 visualización (últimos 30 días)
LONGHUI XU
LONGHUI XU el 20 de Feb. de 2020
Respondida: Payas Bahade el 18 de Mzo. de 2020
how to change the shading of a plot to default?

Respuestas (1)

Payas Bahade
Payas Bahade el 18 de Mzo. de 2020
Hi Longhui,
Assuming that color shading of the colormaps needs to be restored to default, following command can be used:
colormap default %by using 'colormap' function
OR
reset(gcf) %by using 'reset' function
For more details, please refer these links for colormap and reset.
Also, documentation on default property values might be useful to you.
Hope this helps!

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by