I am trying to plot a linear system from a book. Essentially it is just a quiver plot, which is otherwise known as a vector plot.
The equation I am considering is
\begin{equation} \dot{x} = y , \text{ } \dot{y} = -2x-3y \end{equation}
I am trying to make a plot that looks like:

but instead my code below gives me a plot like the one below
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
x,y = np.meshgrid(np.linspace(-5,5,20),np.linspace(-5,5,20))
xdot = y
ydot = -2*x - 3*y
# Plot
fig, ax = plt.subplots(figsize=(8,6))
Q = ax.quiver(x, y, xdot, ydot, scale=500, angles='xy') # Quiver key
ax.quiverkey(Q,-10,22.5,30,'5.1.8',coordinates='data',color='k')
plt.xlabel('x')
plt.ylabel('y')
plt.title('6.1.1')
plt.show()
Could you help me with this? Any help would be appreciated.

The
quiverfunction just draws an arrow at the specified position. You want to draw a curve, so you need to generate it first. Try something likeHere is the image generated: