density_1d_graphics function

Density plot in 1d using R's base graphics