Plotting phase portraits in Python using polar coordinates
问题 I need a phase portrait of the following nonlinear system given in polar form... \dot{r} = 0.5*(r - r^3) \dot{\theta} = 1 I know how to do it in Mathematica... field1 = {0.5*(r - r^3), 1}; p1 = StreamPlot[Evaluate@TransformedField["Polar" -> "Cartesian", field1, {r, \[Theta]} -> {x, y}], {x, -3, 3}, {y, -3, 3}, Axes -> True, StreamStyle -> Gray, ImageSize -> Large]; Show[p1, AxesLabel->{x,y}, ImageSize -> Large] How can I do the same using pyplot.quiver in Python? 回答1: Just very naive