clearPlot

0th

Percentile

Clear plotting device

Under some conditions, a device and its metadata need to be cleared manually. This can be done with either the 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.

Usage
clearPlot(dev = dev.cur(), removeData = TRUE)
"clearPlot"(dev = dev.cur(), removeData = TRUE)
"clearPlot"(dev)
"clearPlot"(removeData)
"clearPlot"(dev = dev.cur(), removeData = TRUE)
Arguments
dev
Numeric. Device number to clear.
removeData
Logical indicating whether any data that was stored in the .spadesEnv should also be removed; i.e., not just the plot window wiped.
Aliases
  • clearPlot
  • clearPlot,missing,logical-method
  • clearPlot,missing,missing-method
  • clearPlot,numeric,logical-method
  • clearPlot,numeric,missing-method
Documentation reproduced from package SpaDES, version 1.2.0, License: GPL-3

Community examples

Looks like there are no examples yet.