Multi-plot code