Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

capture.plot

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

imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.