gridpattern icon indicating copy to clipboard operation
gridpattern copied to clipboard

Misc. potential future pattern inspiration links

Open trevorld opened this issue 3 years ago • 2 comments

  • [ ] https://www.williamrchase.com/post/artistic-coding-for-the-user-12-months-of-art-june/

trevorld avatar Aug 23 '22 20:08 trevorld

  • ggplot2::ggplotGrob() converts a ggplot2 object into a grob (that we can use as a pattern fill)
  • g + ggplot2::theme(plot.margin = ggplot2::margin(t=-1, r=-1, b=-1, l=-1, unit="cm")) can be used to reduce margins

trevorld avatar Jun 28 '24 21:06 trevorld

More on removing margins: https://stackoverflow.com/questions/31254533/when-using-ggplot-in-r-how-do-i-remove-margins-surrounding-the-plot-area such as setting + scale_x_continuous(expand=c(0,0)) + scale_y_continuous(expand=c(0,0))

trevorld avatar Jun 28 '24 21:06 trevorld