(A) Log2FC across diets, polarized in the adaptive direction for each gene, and averaged across the set of genes that are expected to increase plasticity in heterogeneous regimes. There is significant variation among regimes; 49.5% of the total variance is caused by the variance between regimes (F = 6.2, df = 3, p = 0.009; letters denote statistically different groups). Spatial has significantly higher adaptive plasticity than Cad (padj = 0.047) and Salt (padj = 0.03). Temp has significantly higher adaptive plasticity than Salt (padj = 0.041) and the difference compared to Cad is marginally non-significant (padj = 0.065). The “*” indicates that the plasticity in the adaptive direction is significant from 0 based on a one-sample t test. (B) Average |log2FC| for genes expected to evolve reduced plasticity in heterogeneous regimes. The variation among regimes is not significant (p = 0.18), though the model attributes 30% of the variance to differences among regimes (C) Average adaptive distance for genes expected to increase plasticity. There is significant variation in across regimes in both diets (cadmium: F = 44.9, df = 3, p = 8.6e-07, 96% of the total variance is attributable to regime effects; salt: F = 6.3, df = 3, p = 0.008, 72% of the total variance is attributable to regime effects). In the cadmium diet, for Salt is significantly higher than for Cad (padj = 1e-06), Temp (padj = 5.8e-06) and Spatial (padj = 1.5e-05). In the salt diet, for Cad is significantly higher than for the Salt (padj = 0.009). (D) Average adaptive distance . for genes expected to reduce plasticity. There is significant variation in average adaptive distance () among regimes in both diets (cadmium: F = 49.3, df = 3, p = 5.08e-07, 90% of the total variance is attributable to regime effects; salt: F = 9.8, df = 3, p = 0.0015, 81% of the total variance is attributable to regime effects). In the cadmium diet, for Salt is significantly higher than Cad (padj = 1.1e-06), Temp (padj = 1.1e-06) and Spatial (padj = 2.8e-05). In the salt diet, for Cad is significantly higher than for Salt (padj = 0.003), Temp (padj = 0.027) and Spatial (padj = 0.002).