Previous Up Next

19.8.3  Plotting solutions of differential equations

The plotode or odeplot command draws solutions of differential equations.

To compute the values of the solutions, see Section 23.4.1.

Examples

plotode(sin(t*y),[t,y],[0,1])
S:=plotode([h-0.3*h*p,0.3*h*p-p],[t,h,p],[0,0.3,0.7])

Input for a 2D graph in the plane:

S:=odeplot([h-0.3*h*p,0.3*h*p-p],[t,h,p],[0,0.3,0.7],plane)

Previous Up Next