Set layout to compute all plots in 1 to reduce calls to function, and allow reduce of plot when using a beamer