I would like to add LaTeX
typesetting to elements of plots in R
(e.g: the title, axis labels, annotations, etc.) using either the combination of base/lattice
or with ggplot2
.
Questions:
LaTeX
into plots using these packages, and if so, how is it done? For example, in Python matplotlib
compiles LaTeX
via the text.usetex
packages as discussed here: http://www.scipy.org/Cookbook/Matplotlib/UsingTex
Is there a similar process by which such plots can be generated in R
?