Performance responses. Data were recorded for individual slime molds confined for 60 h to 1 of 35 diets varying in both the ratio and total amount of protein and carbohydrate (40 g·L−1, 9 ratios; 80 g·L−1, 17 ratios; and 160 g·L−1, 9 ratios). Response surfaces were visualized using nonparametric thin-plate splines, which were fitted using the fields package (National Center for Atmospheric Research, Boulder, CO) in the statistical software R (36). Red indicates the highest values for the experimental variable on a given response surface, with values descending to lowest values in dark blue regions. (A) Effect of carbohydrate (C) concentration on proportion of slime that survived. The logistic regression analysis yielded a significant relationship between survival and carbohydrate concentration (χ2 = 299.81, P < 0.001; z = 18.91, P < 0.001). (B) Effects of diet composition on slime mold density [final mass (mg)/final area (cm2)]. The slime molds that did not survive were not included. (C) Effects of diet composition on growth rate [initial mass (mg)/final mass (mg)]. (D) Mean growth rate on a mass basis ± SD as a function of the proportion of carbohydrate in the diet: C/(P + C). The polynomial regression analysis yielded a significant relationship between growth rate and proportion of carbohydrate in the diet (R2 = 0.90, F2,14 = 63.46, P < 0.001). (E) Effects of diet composition on expansion rate [(initial area (cm2)/final area (cm2)]. The response surface regression analyses yielded significant relationships as follows: R2 = 0.65, F5,344 = 125.54, P < 0.001 for survival (surface not plotted, Table S1); R2 = 0.50, F5,294 = 57.74, P < 0.001 for density (Fig. 2B and Table S2); R2 = 0.50, F5,344 = 69.80, P < 0.001 for growth rate (Fig. 2C and Table S1), and R2 = 0.54, F5,344 = 80.44, P < 0.001 for expansion rate (Fig. 2E and Table S1).