Learn R Programming

ggplot2bdc (version 0.3.2)

trim_whitespace: Remove whitespace from around an image

Description

trim_whitespace crops an image, removing any whitespace from around it.

Usage

trim_whitespace(filename, ...)

Arguments

filename
Image to be cropped
...
Optional arguments

Examples

Run this code
## Not run: ------------------------------------
# trim_whitespace("my_figure.pdf")
## ---------------------------------------------

Run the code above in your browser using DataLab