how to remove/kill the figure produced with colormap

15 vues (au cours des 30 derniers jours)
Sim
Sim le 30 Août 2022
Commenté : Sim le 30 Août 2022
how to remove/kill the figure produced with colormap
colormap('parula')

Réponse acceptée

Mike Croucher
Mike Croucher le 30 Août 2022
If the colormap is the most recent command you've executed, it will be the current figure. As such, you can use
delete(gcf)
Where gcf stands for get current figure
  1 commentaire
Sim
Sim le 30 Août 2022
OK thanks :-) I thought there could be some command inside colomap like
colormap('parula','visible','off')

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Colormaps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by