new autoscaling and x-axis labeling