Assuming you have already defined the system of ODEs of a simple predation model with two species and global parameters, you can subplot the population dynamics of the two species over time as follows:
main.m850 chars32 lines
In this example, the subplot function is used to create two subplots in a single figure window, one for each species. The plot function is then used to plot the population dynamics of each species over time. The xlabel, ylabel, and title functions are used to label the axes and title each subplot.
gistlibby LogSnag