MATLAB Answers

how to change the shading of a plot to default?

5 views (last 30 days)
LONGHUI XU
LONGHUI XU on 20 Feb 2020
Answered: Payas Bahade on 18 Mar 2020
how to change the shading of a plot to default?

  0 Comments

Sign in to comment.

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!

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!