output figures for data distribution