plot_crop

From knitr v1.7
0th

Percentile

Crop a plot (remove the edges) using PDFCrop or ImageMagick

The command pdfcrop x x is executed on a PDF plot file, and convert x -trim x is executed for other types of plot files, where x is the plot filename.

Usage
plot_crop(x)
Arguments
x
the plot filename
Details

The utility pdfcrop is often shipped with a LaTeX distribution, and convert is a command in ImageMagick (Windows users may have to put the bin path of ImageMagick into the PATH variable).

Value

• The original filename.

References

PDFCrop: http://pdfcrop.sourceforge.net; the convert command in ImageMagick: http://www.imagemagick.org/script/convert.php

Aliases
• plot_crop
Documentation reproduced from package knitr, version 1.7, License: GPL

Community examples

Looks like there are no examples yet.