3 ms·
Is there a tutorial someplace that explains how ggplot actually manages plotting? Or the architecture and layers between the high level code and how a plot is d
by mbreese 5y ago
Is there a tutorial someplace that explains how ggplot actually manages plotting? Or the architecture and layers between the high level code and how a plot is drawn? Meaning, I love being able to express what I want and ggplot figures out a good plot for me. But I know there are many layers that can be manipulated, but I just don’t understand the layers.
One of the best compliments I can think of is that with ggplot, easy things are easy and hard things are possible. But I haven’t been able to figure out how to fully work the system.
(Thanks for all of the work!)
- jointpdf 5y agoThat should be covered in the original A layered grammar of graphics paper: https://vita.had.co.nz/papers/layered-grammar.html https://vita.had.co.nz/papers/layered-grammar.html And then there is an entire ggplot2 book (there are many, but this one was written by Hadley): https://ggplot2-book.org/ https://ggplot2-book.org/
- mbreese 5y agoThat's very helpful. I think this chapter was what I was looking for: https://ggplot2-book.org/internals.html https://ggplot2-book.org/internals.html