Stop adding plots with plot! and start a new plot

I have a code with two functions, both of them uses the plot! command (I need it), however I dont know how to say to Julia when start to adding the plots in a new empty plot. There is a command to restart the action of plot! to a new canvas?

Just take out the exclamation point, unless you mean something else?

Or, if for some reason you can’t change plot! to plot, just use an intermediary plot() without arguments to get a fresh plot.

1 Like

As I said, I can’t quit the commands plot!, just that, when I decided, the new plots start adding in a new canvas.

I will try it, probably this would work, thank you.