I tested several ways to display summary statistics on a ggplot2 histogram,and found the simpler ways by using code below:
library(ggplot2) library(gridExtra)