Learn R Programming

clinDataReview (version 1.6.2)

addWatermark: Add a watermark to a plotly object.

Description

Add a watermark to a plotly object.

Usage

addWatermark(pl, watermark = NULL)

Value

plotly object with a watermark (if specified)

Arguments

pl

plotly object.

watermark

(optional) String with path to a file containing a watermark.

See Also

Other watermark helpers: getWatermark()

Examples

Run this code
watermark <- tempfile(pattern = "watermark", fileext = ".png")
getWatermark(file = watermark)
addWatermark(pl = plotly::plot_ly(), watermark = watermark)

Run the code above in your browser using DataLab