Skip to content

mpio-be/gginlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gginlay

Add inlays on a ggplot interactively.

This is a mini R package buid around patchwork::inset_element().

Occasionally, while working with ggplot, we want to place an inlay plot at a specific location. Arguably patchwork::inset_element() offers the best solution for it but the exact coordinates of the inlay need to be inputted by the user.

gginlay makes it easy to place things on a graph by letting you interactively choose where to put them. Then, it gives you the exact inset_element() code to add to your ggplot to make it happen.

remotes::install_github("mpio-be/gginlay")

gginlay(your_ggplot, your_inlay)

gginlay

About

Add inlays on a ggplot interactively.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages