fig_end: Ends a PDF or PNG figure

View source: R/fig_end.R

fig_endR Documentation

Ends a PDF or PNG figure

Description

fig_end closes the PDF or PNG device created by fig_start(). It's simply a wrapper to grDevices::dev.off() that returns invisibly and saves typing.

Usage

fig_end()

Examples

# fig_start('my_plot')
# plot(1:10)
# fig_end()


OchoaLab/ochoalabtools documentation built on July 28, 2024, 12:37 p.m.