added plot function for QD populations