print plots as svg and pdf