capture.plot {imager}R Documentation

Capture the current R plot device as a cimg image

Description

Capture the current R plot device as a cimg image

Usage

capture.plot()

Value

a cimg image corresponding to the contents of the current plotting window

Author(s)

Simon Barthelme

Examples


##interactive only:
##plot(1:10)
###Make a plot of the plot
##capture.plot() %>% plot 

[Package imager version 1.0.2 Index]