Trouble with arrows=line option in DEplot

August 11 2012 jaytreiman 221
Maple 16

1

There is a flaw (bug) in the DEplot routine.  If you load the plottools package before using DEplot with the arrows=line option, the DEplot routine tries to use the line definition from the plottools package.  A worksheet illustrating this problem is below.

restart;
with(plots):
with(DEtools):

deq1 := diff(x(t),t)=x(t)*(1-t);
IC := [[x(0)=1]];

diff(x(t), t) = x(t)*(1-t)

 

[[x(0) = 1]]

(1)

DEplot(deq1,x(t),t=-.5..4,x=-0.2..2,IC,linecolor=black,thickness=3,arrows=line);

 

with(plottools):
DEplot(deq1,x(t),t=-.5..4,x=-0.2..2,IC,linecolor=black,thickness=3,arrows=line);

Error, (in DEtools/DEplot) invalid arrow specification, must be one of [curve, comet, line, small, medium, large, none, mediumfill, smalltwo], got arrows = plottools:-line

 

 

 

Download DEplot_lines.mw 

Please Wait...