centered legends and changed dy for axis labels