Thanks for any insights. Don t go overboard with this however 20 plots on a single page isn t a good. Learn more about ode45 matlab.