Skip to contents

Add CORI logo to an image

Usage

add_logo(
  plot_path,
  logo_path = "https://rwjf-public.s3.amazonaws.com/Logo-Mark_CORI_Black.svg",
  logo_position = "top right",
  logo_scale = 20
)

Arguments

plot_path

file path to the chart/plot/graphic

logo_path

Path to the logo. Defaults to hosted Full CORI Black logo

logo_position

Combination of top/bottom and right/left. Defaults to top right.

logo_scale

Scale logo to 1/10 width of plot

Value

magick image