how to change the shading of a plot to default?

2 views (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!

Categories

Find more on Colormaps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!