how to change the shading of a plot to default?

Answers (1)

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

Tags

Asked:

on 20 Feb 2020

Answered:

on 18 Mar 2020

Community Treasure Hunt

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

Start Hunting!