Export plot as pdf