plotTraitChange function

plot changes in trait over time