(a) Plot of k, plant nutrient uptake rate, versus plant thermal trait, zP. The environmental temperature T = 10 and the thermal niche width wP = 8. (b) Plot of a(sP, sH, zH, T), the grazing rate, a Gaussian trait matching function so that the more similar the species trait values are, the stronger the trophic interaction. This plot assumes herbivore traits sH = zH = T = 10 and allows plant interaction trait sP to vary to determine grazing rate a(sP, sH, zH, T). Here, amax = 0.2, σ = 3.