new = TRUE
argument within the call to
Plot
.
Sometimes, the metadata of a previous plot will prevent correct plotting of
a new Plot
call.
Use clearPlot
to clear the device and all the associated metadata
manually.
clearPlot(dev = dev.cur(), removeData = TRUE, force = FALSE)
"clearPlot"(dev = dev.cur(), removeData = TRUE, force = FALSE)
"clearPlot"(dev, force)
"clearPlot"(removeData, force)
"clearPlot"(dev = dev.cur(), removeData = TRUE, force = FALSE)
.spadesEnv
should also be removed; i.e., not just the plot window wiped.