added function to plot hists with coloring determined by age/sex class