plot_density function

A density of a single variable.