Changed drawing so "density rectangles" are drawn according to the
number of events in the model.