Add plotDist method