next up previous contents
Next: About this document ... Up: One Way to Plot Previous: Using with subplot   Contents

Several plots on the same axes

You can use plotsln and the hold on command to plot more than one curve on the same set of axes - even though it requires a bit of double-duty. Here is one way to do it for two ODE solution curves. More can be added by extending the process.
  1. Do Items 3-5, above, for your first solution. When you have an acceptable window, write down your values from initax.

  2. Do Items 3-5 for your second solution. Write down your new values for initax.

  3. Choose the more favorable initax-values for both solutions and enter in init.m.

  4. Do Items 3-5 again for your first solution except keep initax fixed.

  5. Type hold on at the command prompt $>>$

  6. Do Items 3-5 again for your second solution except keep initax fixed.

When you are done, type hold off to end the hold feature.


next up previous contents
Next: About this document ... Up: One Way to Plot Previous: Using with subplot   Contents
Michael Renardy
2000-05-12