Discarding old plots when redrawing a plot in a loop

plotting

#1

I stumbled upon a strange difference between the ways the plots are redrawn in Juno pane and in a GUI window. If a plot is constantly redrown in the loop, the old plots in Juno pane are not discarded and can be discovered by clilcking on the “forget plot” icon. However, the GUI window does not have this icon. When running the same program with GUI window, a quick examination of the system ressources seem to confirm the hypothesis that old plots are garbage collected.

Is this behavior documented somewhere? Also, is it possible to have plots in Juno pane discarded as well?

Thanks.


#2

Did you ever figure this out? I’m running into the same issue.