gpLogo: gpLogo

View source: R/gpLogo.R View source: R/ggGalactic.R

gpLogoR Documentation

Description

add a Galactic Polymath logo to a ggplot2 object

Usage

gpLogo(
  ggObj,
  xNPC = 0.9,
  yNPC = 0.9,
  which = "horiz_logoWords_gradWhite",
  size = 0.1,
  cloudinaryString = NULL
)

Arguments

ggObj

the ggObject you want to add a logo to

xNPC

x coordinate (0,1) for start of logo

yNPC

y coordinate (0,1) for start of logo

which

which logo you want? One of: "grad_logo_gradTrans","grad_logo_gradWhite", "horiz_logoWords_gradTrans", "horiz_logoWords_gradWhite", "horiz_logoWords_whiteAblue","horiz_logoWords_whiteBlack"

size

how big should the logo be as a proportion (0,1); 0.1 by default

cloudinaryString

any cloudinary processing codes to modify the PNG? Ref Link


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.