Tutorials How to plot mathematical functions with ggplot2 - Tutorial #1 geom_function() and as_function() offer an elegant and powerful solution to plot mathematical functions with ggplot2