Abstract
The folder 'Figures 1, S5 and S6' contains the Matlab code used to create the contour map (Figure 1D) and to fit polynomials to the surface models (Figure S5 and S6). The folder 'Figures 2 and S2' contains the Matlab code used for image processing (segmenting the image and calculating the area of patterning above the threshold value) and the raw threshold area data for moths and citrus leaves.