**Figure 2.** **Sexually dimorphic feeding response to sugar and its relationship to female egg laying.** (**a**) The proportion of male and female flies observed feeding on day 7 on diets with different relative amounts of sucrose (1x to 8xS). Medians (solid line) and first and third quartiles (shaded areas) are shown. Statistical analysis is given in Table 2. (**b**) Bar charts showing the number of eggs laid per female per day on days 8 to 50 (measured every week, n=10) on diets with different relative amounts of sucrose (0.5x to 8xS). (**c**) Egg laying on day 8 (n=10) is correlated to average proportion of flies feeding on day 7. The black line shows the parameters of a LM fit (adjusted R^{2}=0.91, p<2x10^{-16}).