how to change the shading of a plot to default?

1 view (last 30 days)
how to change the shading of a plot to default?

Answers (1)

Payas Bahade
Payas Bahade on 18 Mar 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!

Tags

Community Treasure Hunt

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

Start Hunting!