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 Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by