improved distribution plot scaling