Question : octave clear figure
Answered by : huldar
clf; % Clears the current figure
cla; % Clears the current axis
shg % Brings the current figure to the top of the window stack
delete (handle);% Deletes the referenced graphics object
close % Closes the figure window
Source : https://octave.org/doc/v4.2.0/Manipulation-of-Plot-Windows.html#:~:text=To%20clear%20the%20current%20figure,call%20delete%20on%20its%20index. | Last Update : Thu, 01 Apr 21