Next: Several plots on the
Up: One Way to Plot
Previous: plotsln.m - General Instructions
  Contents
If you wish to have a smaller plot that is placed toward one of the four
corners of the screen/page, you can use the subplot command BEFORE
using plotsln. Here is the full call to place the plot in each
of the four corners:
- subplot(2,2,1) uses the upper left.
- subplot(2,2,2) uses the upper right.
- subplot(2,2,3) uses the lower left.
- subplot(2,2,4) uses the lower right.
As you might guess, you could plot as many as four plots to a screen/page
using init, subplot and plotsln combinations. The
following will plot the solutions to two different problems on the
same screen/page in the upper right, then lower right positions.
(Note: at the Emporium, copy-and-paste init.m instead.)
- Save relevant info for Problem 1 in init.m.
>> init
>> subplot(2,2,2)
>> plotsln
- Save relevant info for Problem 2 in init.m.
>> init
>> subplot(2,2,4)
>> plotsln
To return the Figure window to its standard full-picture mode, type
clf at the command prompt.
Next: Several plots on the
Up: One Way to Plot
Previous: plotsln.m - General Instructions
  Contents
Michael Renardy
2000-05-12