More experimenting. Also added plot_density_relation.py.