View source: R/gpLogo.R View source: R/ggGalactic.R
gpLogo | R Documentation |
add a Galactic Polymath logo to a ggplot2 object
gpLogo(
ggObj,
xNPC = 0.9,
yNPC = 0.9,
which = "horiz_logoWords_gradWhite",
size = 0.1,
cloudinaryString = NULL
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.