x axis changes in avgplot