how to remove/kill the figure produced with colormap

13 visualizzazioni (ultimi 30 giorni)
how to remove/kill the figure produced with colormap
colormap('parula')

Risposta accettata

Mike Croucher
Mike Croucher il 30 Ago 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 Commento
Sim
Sim il 30 Ago 2022
OK thanks :-) I thought there could be some command inside colomap like
colormap('parula','visible','off')

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Colormaps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by