plot templates and demonstrations of simple mathematical concepts in R, using base graphics, ggplot2 and rgl