decorate_png: Decorates a png with title, caption and a legend from an...

Description Usage Arguments Value

View source: R/3Dplotting.R

Description

Decorates a png with title, caption and a legend from an image using magick package

Usage

1
2
3
4
5
6
7
8
decorate_png(
  file = NULL,
  title = "",
  caption = "",
  size = 60,
  legend_file = NULL,
  overwrite = F
)

Arguments

file

File to decorate

title

Title string

caption

Caption string

size

Size of Title in pix. Caption is 0.7xsize

legend_file

Image file with legend will be put on the right

overwrite

Should orig file be overwritten? Default: FALSE

Value

called for the side effect


mreichMPI-BGC/plotmr documentation built on Feb. 8, 2022, 5:41 p.m.