plotdist improved