improve tab plotDist