Add conditional maxima for y axes.