You are on page 1of 5

Plotting Two-dimensional Differential Equations

The DEplot routine from the DEtools package is used to generate plots that are defined by differential
equations. This worksheet details some of the options that are available, in sections on Interface and
Options.
In order to access the routines in the DEtools package by their short names, the with command has been
used.
>
>

Interface
The interface accepts forms of input similar to those allowed by the dsolve[numeric] routine. For
example,
>
>

Here is another example which uses strictly the D operator.


>
>

Autonomous systems are automatically determined for plotting phase portraits. For instance,
>
>

An example of a non-autonomous system is


>
>

To view examples that make use of the autonomous command, consult the autonomous help page.
Inputs may be specified as lists or sets. If lists are used, the order of the variables in a list control the
ordering of plot axes (along the lines of the "scene" optional equation).

Options
Some of the options available to DEplot are summarized in the subsections that follow.

color
numpoints (and iterations and stepsize)
linecolor
method
obsrange
arrow styles and size
arrow placement
animation
plot and dsolve[numeric]

For more information, consult the DEplot help page. Also, see the worksheet Plotting Threedimensional Equations. You can also refer to the following help pages: dsolve[numeric], D operator,
classical method, and dverk78 method.
Return to Index for Example Worksheets

You might also like