use ggplot2 to plot