I face problem with plots

if I have 2 codes for plotting graph, and run the first one, then I want to run the other one, I face issue with the new one, the second plot show over the first one, so how can I delete the first plot, and get clean window for the second one

The behavior you describe is not what I normally see in RStudio. Can you please show the code you are using to make the plots? The most useful code is in the form of a Reproducible Example:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.