add plot for heap