how to remove/kill the figure produced with colormap

15 visualizaciones (últimos 30 días)
Sim
Sim el 30 de Ag. de 2022
Comentada: Sim el 30 de Ag. de 2022
how to remove/kill the figure produced with colormap
colormap('parula')

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Colormaps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by