Plot 如何使用maple绘制相平面图

Plot 如何使用maple绘制相平面图,plot,ode,maple,Plot,Ode,Maple,您好,我想知道是否有人可以帮助我,我正在尝试使用maple生成下面系统的相平面图。 在图上,我想在我找到的下列系统的平衡点上做标记,它们是(x,y)=(0,2)和(1,0) 该系统为$(dx/dt)=-2x-y+2$和$(dy/dt)=xy$ 我所做的尝试如下 DEplot(sys, [x(t), y(t)], t = 10 .. -10, x = -3 .. 3, y = -3 .. 3, [[x(0) = 0, y(0) = 2]], [[x(0) = 0, y(0) = 1]], step

您好,我想知道是否有人可以帮助我,我正在尝试使用maple生成下面系统的相平面图。 在图上,我想在我找到的下列系统的平衡点上做标记,它们是(x,y)=(0,2)和(1,0)

该系统为$(dx/dt)=-2x-y+2$和$(dy/dt)=xy$ 我所做的尝试如下

DEplot(sys, [x(t), y(t)], t = 10 .. -10, x = -3 .. 3, y = -3 .. 3, [[x(0) = 0, y(0) = 2]], [[x(0) = 0, y(0) = 1]], stepsize = .1, linecolor = blue, thickness = 2, arrows = medium);
在哪里

sys:={diff(x(t),t)=-2*x(t)-y(t)+2,diff(y(t),t)=x(t)*y(t)}

它生成的图形是


有人能确认这是否是上述系统的正确相平面图吗?

您就快到了,只需要包含更多的初始值

restart; with(DEtools): with(linalg):with(plots):
sys := {diff(x(t), t) = -2*x(t)-y(t)+2, diff(y(t), t) = x(t)*y(t)}
initialdataset:={seq(seq([x(0)=a,y(0)=b],a=-5..5),b=-5..5)}:
DEplot(sys, [x,y],t=-3..3,initialdataset,x = -6..6, y = -6..6,
   colour=black, thickness=2, style=line, linestyle=1, axes=boxed,
   linecolor=red, scaling=constrained, arrows=medium);

更新了我的帖子