density_1d_grid function

Density plot in 1d using the grid package