I want to clear the global MATLAB property CurrentFigure, because I need a plot that I make so as not to be overwritten if the careless user uses plotit without opening a new picture. I tried
CurrentFigure
plot
set(0, 'CurrentFigure', []);
But that does not work. It's impossible?
No, this does not work.
What works set(myFigureHandle,'HandleVisibility','off'). Thus, a figure with a pen myFigureHandlewill no longer become the current figure.
set(myFigureHandle,'HandleVisibility','off')
myFigureHandle
, 'off', gca. , plot(myAxesHandle,...), , .
'off'
gca
plot(myAxesHandle,...)
Source: https://habr.com/ru/post/1747697/More articles:Writing a script to bypass college login page - pythonHow to output JSON columns in jQuery - jsonRecently installed ruby stones do not appear in $ LOAD_PATH - ruby | fooobar.comType, size, image sizes in MATLAB - image-processingLimiting dynamic text when users write to a text field (HTML) - javascriptException for Java Swing application? - javalightweight web server for client-side integration - pythonPlay animation (storyboard) back - c #Как эффективно отображать элементы на карте Google в диапазоне просмотра пользователя? - javascriptDotNetOpenId openIdRelyingParty Setup - c #All Articles