Description Usage Arguments Author(s) Examples
To avoid errors caused by mistakenly using graphs not intended publication, a copy of graphs with a watermark added should be used in draft publications. This function is designed to make a copy of an image and add a watermark to it. The source can be any image file accepted by image_read. The function will produce a .png file in the same location with filename identical accept for addition of a prefix/suffix.
1 2 |
path |
file path of the plot image to have a watermark added to. |
text |
text to display as the watermark. Default is 'Preliminary for internal discussion. |
colour |
colour to be used for watermark, can be partially transparent. Default is '#80808030', a translucent grey. |
prefix |
A string to add to the start of the filename. Default is "W_". |
suffix |
A string to add to the end of the filename. The default is empty, this may be used as an alternative to the prefix. |
scale |
A number to rescale watermark. Default is one, which should take up as much space as possible. |
Blesson Chacko and Aaron Hayman.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.