Wie zeichnet man eine Spirale im Phasenporträt?

Wie zeichnet man eine Spirale im Phasenporträt?

Ich bin mir bewusst, dass man in der Note der nichtlinearen Dynamik leicht eine Spirale zeichnen kann. Hier sind einige Beispiele:

Bildbeschreibung hier eingeben

Bildbeschreibung hier eingeben

Antwort1

Sie können TikZ verwenden. Hier ist ein Beispiel:

Bildbeschreibung hier eingeben

Ich habe es aber noch nie zuvor verwendet, also gibt es vielleicht eine bessere Methode als das Zusammenkleben von Pfeilen. Hier ist der Code:

\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{width=6cm,compat=newest}

%for arrows in the middle of the line
\usetikzlibrary{decorations.markings}
\tikzset{->-/.style={decoration={
  markings,
  mark=at position #1 with {\arrow{>}}},postaction={decorate}}}

\begin{document}
 \begin{tikzpicture}
  %straight lines
  \draw[->-=.4] (0,0) to (-1,0);
  \draw[->-=.6] (0,-1) to (0,0); 
  %arcs on the left
  \draw[->-=.5] (-0.3,1) to [out=-90,in=0] (-1,0.3);
  \draw[->-=.5] (-0.3,-1) to [out=90,in=0] (-1,-0.3);
  %big circle from the bottom to the top
  \draw[->-=.5] (0.3,-1) to [out=90,in=200] (0.8,-0.3);
  \draw (0.8,-0.3) to [out=20, in =-90] (1.5,0.5) to [out=90, in=0] (0.7,1.3) to [out=180,in=90] (0,0.5);
  \draw[->-=.2]  (0,0.5) to (0,0);
  %inward spiral
  \draw[->-=.8]  (0,0) to (0.5,0);
  \draw[->] (0.5,0) to [out=0, in=-90] (1.1,0.5) to [out=90, in=0] (0.7,0.9) to [out=180, in=90] (0.4,0.6) to [out=-90, in=180] (0.6,0.4) to [out=0,in=-90] (0.75,0.6);
 \end{tikzpicture}
\end{document}

Überprüfen Sie diesehr minimale Einführung in TikZ. Um die Pfeile in die Mitte einer Linie zu bekommen, habe ich „Tikz-Pfeile in die Mitte einer Linie“ gegoogelt.

verwandte Informationen