capture.plot: Capture the current R plot device as a cimg image

View source: R/cimg_class.R

capture.plotR 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 

dahtah/imager documentation built on Feb. 23, 2023, 10:16 p.m.