我需要以极性形式给出的以下非线性系统的相图...
\ dot {r} = 0.5 *(r-r ^ 3)
\ dot {\ theta} = 1
我知道如何在Mathematica中做到这一点...
field1 = {0.5*(r - r^3),1};
p1 = StreamPlot[Evaluate@TransformedField["Polar" -> "Cartesian",field1,{r,\[Theta]} -> {x,y}],{x,-3,3},{y,Axes -> True,StreamStyle -> Gray,ImageSize -> Large];
Show[p1,AxesLabel->{x,y},ImageSize -> Large]
如何在python中使用pyplot.quiver来做同样的事情?