MATLAB clear current figure
Posted
by rlbond
on Stack Overflow
See other posts from Stack Overflow
or by rlbond
Published on 2010-05-29T21:40:23Z
Indexed on
2010/05/29
21:42 UTC
Read the original article
Hit count: 228
matlab
I want to clear MATLAB's global CurrentFigure
property, because I need a plot that I make to not be overwritten if a careless user uses plot
without opening a new figure. I tried
set(0, 'CurrentFigure', []);
But it doesn't seem to work. Is this impossible?
© Stack Overflow or respective owner