how to remove/kill the figure produced with colormap

조회 수: 14 (최근 30일)
Sim
Sim 2022년 8월 30일
댓글: Sim 2022년 8월 30일
how to remove/kill the figure produced with colormap
colormap('parula')

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by