unclip_tikz {ggtikz}R Documentation

Unclip a plot produced by the tikzDevice.

Description

By default, plots produced with the tikzDevice are clipped to the plot area, which also clips ggtikzAnnotations extending beyond the plot boundaries. This function removes the 'clip' and 'use as bounding box' options in a tikz file.

Usage

unclip_tikz(fpath)

Arguments

fpath

Path to the tikz file

Details

This function can be used for manual post-processing, however, see set_ggtikz_unclip_hook to set the corresponding knitr hook.

Value

Called for side effect. The file at fpath is edited and overwritten.

See Also

set_ggtikz_unclip_hook to set the knitr hook.


[Package ggtikz version 0.1.3 Index]