Export plots in pdf format.