plot_pdf function

Plot the PDF of a distribution