JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
    \node (A) {A};
    \node (B) [right= of A] {B};
    \node (C) [right= of B] {C};
    \draw [->] (A) -- (B);
    \draw [->] (B) -- (C);
    \draw [->] (B) edge [loop, out=45, in=135, looseness=5] node [above] {D} (B);
\end{tikzpicture}
\end{document}
\documentclass[border=3pt]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{arrows,decorations.markings}

\tikzset{
  coordsys/.pic={
    \draw[->] (0,0) -- ++(6mm,0pt);
    \draw[->] (0,0) -- ++(0pt,6mm);
  },
  myarr/.style={decoration={
      markings,
      mark=between positions 0 and 1 step 4mm with {\arrow{stealth}},
    },
    postaction=decorate
  },
}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
  axis lines=left,
  xmin=0,
  xmax=2.2,
  ymin=0,
  ymax=2.2,
  clip=false,
  xtick={\empty},
  ytick={\empty}
]
\addplot[no marks,domain=0.2:1.8] {-x+2};
\draw[dashed]
  (axis cs:0.25,0) node[below] {$k_1(\mu^{\ast})$} -- 
  (axis cs:0.25,1.5);
\draw[dashed]
  (axis cs:1.75,0) node[below] {$k_2(\mu^{\ast})$} -- 
  (axis cs:1.75,1.5);
\draw
  (axis cs:1,0) node[below] {$k^{\ast}$} -- 
  (axis cs:1,2) node[above] {$\iota=0$};
\draw[dashed]
  (axis cs:0,1) node[left] {$c^{\ast}$} -- 
  (axis cs:1,1);
\draw[myarr]
  (axis cs:0.4,0.4) -- 
  (axis cs:1,1);
\draw[myarr]
  (axis cs:1.6,1.6) -- 
  (axis cs:1,1);
\path
  pic at (axis cs:0.3,0.3) {coordsys}
  pic[rotate=180] at (axis cs:1.7,1.7) {coordsys}
  pic[xscale=-1] at (axis cs:0.8,1.7) {coordsys}
  pic[yscale=-1] at (axis cs:1.2,0.3) {coordsys};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}

\pgfplotsset{every axis/.append style={
    axis x line=middle,
    axis y line=middle,
    axis line style={<->},
    xlabel={$x$},
    ylabel={$y$},
    label style={font=\tiny},
    tick label style={font=\tiny}
}}

\tikzset{>=stealth}

\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        xmin=-5, xmax=5,
        ymin=-5, ymax=5
    ]
        \addplot [red, thick, domain=-2:2] ({cosh(x)}, {sinh(x)});
        \addplot [red, thick, domain=-2:2] ({-cosh(x)}, {sinh(x)});
        \addplot[red, dashed] expression {x};
        \addplot[red, dashed] expression {-x};
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{positioning}

\begin{document}
    \begin{tikzpicture}[
node distance = 3mm and 5mm,
   box/.style = {inner sep=0pt, text width=22mm, align=flush center}
                        ]
% axis
\draw [->,thick] (-0.1,0) -- + (7,0) node[right] {$s_2$};
\draw [->,thick] (0,-0.1) -- + (0,6) node[above] {$s_1$};
% 
\coordinate[label=left:$n_1$]       (A) at (0.0,4.5);
\coordinate[label=below:$I_1/\psi$] (B) at (0.9,0.0);
\coordinate[label=below:$n_2$]      (C) at (6.2,0.0);
% hyperbola with nodes on the both ends
\node[above,orange] at (1.75,5.0) {$T = C$};
\draw[ultra thick,orange] plot[domain=.25:5,smooth]   (1.5+\x,1+1/\x)
      node[right] {$c_1/\psi$};
% dotted lines
\draw[dotted] (A) -| (B)    (A -| B) -| (C);
%
\node[box,above right=of B]     {Transfer domain\\ $T > C$};
\node[box,below left=of A -| C] {Computation domain\\ $T < C$};
    \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{
    compat=1.3,
    tick scale labels in axis labels/.code={
        \pgfkeysgetvalue{/pgfplots/xtick scale label code/.@cmd}\temp
        \pgfkeyslet{/pgfplots/xtick scale label code orig/.@cmd}\temp
        \pgfkeysalso{
            xtick scale label code/.code={\gdef\xTickScale{##1}},
            every axis/.append style={
                tick scale binop={},
                xlabel/.add = {}{(\pgfplotsset{xtick scale label code orig=\xTickScale}\,m)},
            },
        }
    },
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
    tick scale labels in axis labels,
    xlabel=$x$,
    ylabel=$y$,
]
\addplot coordinates {
    (0.0,0.0)(100,1)(400,2)(10000,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{
    compat=1.11,
    /tikz/declare function={
        AxisLimit=1.5;
    },
    layers/tick labels on top/.define layer set={
        axis background,axis grid,axis ticks,axis lines,
        main,axis tick labels,axis descriptions,axis foreground
    }{/pgfplots/layers/standard},
}
\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        axis lines=middle,
        xmin=-AxisLimit, xmax=AxisLimit,
        ymin=-AxisLimit, ymax=AxisLimit,
        axis equal image=true,
        minor tick num=4,
        grid=both,
        set layers=tick labels on top,
        tick label style={
            fill=white,
            fill opacity=0.75,
            text opacity=1,
        },
    ]
        \draw [
            blue,
            ultra thick,
        ] (-1,-1) rectangle (1,1);
        \addplot [
            mark=none,
            red,
            thick,
        ] coordinates {
            (-1,-1) (1,-1) (1,1) (-1,1)
        } -- cycle;
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz,tikz-3dplot}
\usetikzlibrary{calc,arrows.meta}
\begin{document}
\tdplotsetmaincoords{50}{110}
\begin{tikzpicture}[tdplot_main_coords, >=Latex]
  \draw[->] (0,0,0) -- (3,0,0) node[below left] {$x$};
  \draw[->] (0,0,0) -- (0,3,0) node[right] {$y$};
  \draw[->] (0,0,0) -- (0,0,3) node[above] {$z$};
  \begin{scope}[fill opacity=.5, draw opacity=.5, text opacity=1]
    \draw [fill=blue!50!cyan] (2,0,0) coordinate [label=left:D] (D) -- (0,0,2) coordinate [label=above right:C] (C) -- (0,0,0) coordinate [label={[xshift=-10pt]above left:B}] (B) -- cycle;
    \draw [fill=magenta] (B) -- (C) -- (0,2,0) coordinate [label=above right:A] (A) -- cycle;
    \draw [fill=yellow] (D) -- (C) -- (A) -- cycle;
  \end{scope}
  \begin{scope}[xshift=45mm]
    \draw[->] (0,0,0) -- (3,0,0) node[below left] {$x$};
    \draw[->] (0,0,0) -- (0,3,0) node[right] {$y$};
    \draw[->] (0,0,0) -- (0,0,3) node[above] {$z$};
    \begin{scope}[fill opacity=.5, draw opacity=.5, text opacity=1]
      \draw [fill=blue!50!cyan] (0,0,0) coordinate [label={[anchor=north west,xshift=-5pt]below:$E_0$}] (E0) -- (0,0,2) coordinate [label=above right:$E_0'$] (E0') -- (0,2,2) coordinate [label={right:$E_2'$}] (E2') -- (0,2,0) coordinate [label=above right:$E_2$] (E2) -- cycle;
      \draw [fill=purple] (E0) -- (E0') -- (2,0,2) coordinate [label=left:$E_1'$] (E1') -- (2,0,0) coordinate [label=left:$E_1$] (E1) -- cycle;
      \draw [fill=green!50!cyan] (E0) -- (E2) -- (E1) -- cycle;
      \draw [densely dashed] (E1') -- (E0) -- (E2');
      \draw [fill=yellow] (E1) -- (E2) -- (E2') -- (E1') -- cycle;
      \draw [fill=magenta] (E1') -- (E2') -- (E0') -- cycle;
      \draw [densely dashed] (E1) -- (E2');
    \end{scope}
  \end{scope}
  \draw [->, shorten >=5mm, shorten <=5mm] ($(C)!.5!(A)$) [bend left] to node [midway, above] {$G_{i,2}$} ($(E1')!.5!(E0')$) ;
\end{tikzpicture}    
\end{document}
\documentclass[margin=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        xlabel={$x$},
        ylabel={$y$},
        axis lines=center,
        xmin=0,xmax=4,
        xtick={1,...,3},
        xticklabel={$x_{\pgfmathprintnumber[precision=0]{\tick}}$},
        ymin=0,ymax=4,
        ytick={1,...,3},
        yticklabel={$C(x_{\pgfmathprintnumber[precision=0]{\tick}})$},
        ]
    \addplot [color=red,mark=*] coordinates {(1,1)};
    \draw [dashed,help lines] (0,1) -| (1,0);
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{arrows.meta, chains, positioning, shapes}

\begin{document}
\tikzset{
    desicion/.style={
        diamond,
        draw,
        text width=6em,
        aspect=1.2,
        align=flush center,
        inner sep=-0pt
    },
    block/.style={
        rectangle,
        draw,
        text width=10em,
        text centered,
        rounded corners
    }
}

\begin{tikzpicture}[
    node distance = 5mm and 7mm,
    start chain = A going below,
    every node/.append style = {on chain=A, join=by -Latex}
]
\node[block]    {Start};
\node[desicion] {$d^{(i)}_{(n,m)} < 2r$?};
\node[block]    {Estimate $I_{n,p}^{(i)} \rightarrow FBS_m$};
\node[block]    {Estimate $\zeta^{(i*)}$ and $\varphi^{(i*)}_{n,p}$};
\node[desicion] {$o^{(i+1)}_{(n,m)} > o^{(i)}_{(n,m)}$?};
\node[block]    {Apply};
\node[block]    {End};
%
\draw[-Latex] (A-2.east) -- ++ (1,0) |- (A-7);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-qtree}

\begin{document}
\begin{tikzpicture}
\tikzstyle{mydot} = [circle, minimum width=2pt, fill, inner sep=0pt]
\tikzstyle{mystart} = [circle, minimum width=3pt, fill, inner sep=0pt]

\tikzset{
  edge from parent/.style={
    draw,
    edge from parent path={(\tikzparentnode) -- (\tikzchildnode)}
  },
  every tree node/.style={mydot}
}

\Tree 
    [.\node[mystart, label=above:N] {};  
        \edge node[above left] {$p_1=0.5$}; [.\node[label=above left:I] {}; 
            \edge node[left] {$a$}; \node[label=below:{$5,1$}] {};  
            \edge node[right] {$b$}; [.\node[label=above right:II] {};  
                \edge node[left] {$m$}; \node[label=below:{$1,2$}] {}; 
                \edge node[right] {$n$}; \node[label=below:{$2,3$}] {}; ]   ]
        \edge node[above right] {$p_2=0.5$}; [.\node[label=above right:II] {};  
            \edge node[left] {$c$}; [.\node[mydot] (a) {};  
                \edge node[left] {$z$}; \node[label=below:{$1,0$}] {}; 
                \edge node[right] {$t$}; \node[label=below:{$2,2$}] {}; ] 
            \edge node[right] {$d$}; [.\node[] (b) {}; 
                \edge node[left] {$z$}; \node[label=below:{$3,1$}] {}; 
                \edge node[right] {$t$}; \node[label=below:{$0,0$}] {}; ]   ]   ]
\draw[dashed] (a) -- node[label=above:I] {} (b);
\end{tikzpicture}
\end{document}
\documentclass[border=4mm]{standalone}
\usepackage{amsmath}
\usepackage{pgfplots}
\usetikzlibrary{arrows, calc, patterns, shapes}
\pgfplotsset{compat=1.15}

\begin{document}
\small
\begin{tikzpicture}
\tikzset{ind arrow/.style = {->, >=stealth, opacity=0.5}}
\tikzstyle{ortho} = [dashed, gray, thin]

% Axes
\draw [->] (-3,0) -- (3,0) node [below] {$y$};
\draw [->] (0,-2) -- (0,4) node [right] {$z$};
\draw [->] (0,0) -- (-2,-1) node [below] {$x$};

% Ticks
\foreach \i in {-2,...,2} {
    \draw [thin] (\i,0) -- (\i,-0.05) node [below]{\scriptsize $\i$};
}

% Curves
\draw [pattern=north east lines, samples=101] (0,0) ellipse (2cm and 0.7071cm);
\draw [thick, fill=white, domain=-2:2] plot (\x,{abs(0.5*\x^2)});
\draw [thick] (0,2) ellipse (2cm and 0.7071cm);
\draw [ortho] (-2,0) -- (-2,2) -- (2,2) -- (2,0);

% Texts
\node (TP) [align=center] at (-2,3.5) {Top plane: \\ $z=2$};
\node (LS) [align=center] at (2.5,3) {Lateral surface: \\[1ex] $z=\dfrac{x^2+y^2}{2}$};
\node [align=center] at (2,-1.5) {Hatched--projection: \\ $x^2+y^2=4, z=0$};

% Arrows
\draw [ind arrow, out=-90, in=0] (LS.south) to (1.5,1.125);
\draw [ind arrow, out=0, in=90] (TP.east) to (-0.75,2.25);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}

\newcommand\Matching[2]{%
  \begin{tikzpicture}
    \draw(-0.5,0) -- ++ (#1+1,0);
    \foreach \x in {0,...,#1}{
       \draw[circle,fill] (\x,0) circle[radius=1mm] node[below]{$\x$};
    }
    \foreach \x/\y in {#2} {
       \draw(\x,0) to[bend left=45] (\y,0);
    }
  \end{tikzpicture}%
}

\begin{document}
\Matching{6}{0/3, 1/2, 4/5}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach [count=\score from 5] \radius in {3,2.5,...,0.5}
{
\ifnum \score = 8
  \filldraw [thick,draw=black,fill=red] circle[radius=\radius cm];
  \foreach \ang in {0,90,180,270}
     \node [text=white,font=\bfseries] at (\ang:\radius cm-0.25cm) {\score};
\else
  \ifnum \score = 10
    \filldraw [thick,draw=black,fill=red] circle[radius=\radius cm];
    \node [text=white,font=\bfseries] at (0,0) {\score};     
  \else
    \filldraw [thick,draw=black,fill=white] circle[radius=\radius cm];
    \foreach \ang in {0,90,180,270}
       \node [font=\bfseries] at (\ang:\radius cm-0.25cm) {\score};
   \fi
\fi
}   
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\begin{document}
\begin{tikzpicture}
  \draw[thick,<->] (0,-4.1) -- (0,4.1);
  \draw[thick,<->] (-4.1,0) -- (4.1,0);
  \draw[help lines,step=0.5cm] (-4,-4) grid (4,4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}[scale=3, nodes={
       execute at begin node=$,
       execute at end node=$
     }]
\draw[-, thick] (-1,0) -- (1,0);
\foreach \x/\xpar/\xtext in {
    -0.8  / | / +,
    -0.6  / | / ,
    -0.4  / | / +,
    -0.2  / | / -,
     0    / | / ,
     .2   / | / -,
     .4   / | / +,
     .6   / | / -,
     .8   / | / +,   
}   \draw[thick] (\x,0pt) node {\xpar}  node[below=5pt] {\xtext};
\draw[blue] plot[variable=\x,samples=100,domain=-1:1] (\x,{0.2*sin((\x-0.3)*900)});
\end{tikzpicture}
\end{document}
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{angles, quotes}

\begin{document}
    \begin{tikzpicture}[
my angle/.style = {draw=#1,-,
                   angle radius=11mm,
                   angle eccentricity=1.2,
                   font=\footnotesize
                   } 
                        ]
% circles
\coordinate[label=$O$] (O);
\fill (O) circle (1.5pt);
\draw (O) circle (2);
% coordinates A and B are on the end of dashed line
\draw[densely dashed]       (O) -- (315:2) coordinate[label=below right:$A$] (A);
\draw[densely dashed, gray] (O) -- (210:2) coordinate[label=below  left:$B$] (B);
% coordinates C and P are on the solid line
\draw   (170:2) coordinate[label= left:$C$] (C) --
        (350:2) coordinate[label=right:$P$] (P)
        (C) -- (A);
% angle labels
\pic [my angle=blue,  "$2\phi$"] {angle = A--O--P};
\pic [my angle=black, "$ \phi$"] {angle = A--C--P};
    \end{tikzpicture}
\end{document}
\documentclass[tikz, margin=3.14mm]{standalone}
\usetikzlibrary{calc,angles,quotes,arrows.meta}

\tikzset{
  pill/.style={
    minimum width=1.2cm,
    minimum height=6mm,
    rounded corners=3mm,
    draw
  },
  reactor/.style={
    circle,
    draw,
    minimum size=6mm,
    path picture={
      \draw (-3mm,0) -- (3mm,0) (0,-3mm) -- (0,3mm);
      \fill (0,0) -- (3mm,0) arc(0:-90:3mm) -- cycle;
      \fill (0,0) -- (-3mm,0) arc(180:90:3mm) -- cycle;
    }
  }
}

\begin{document}
\begin{tikzpicture}
  \draw[thick,{Triangle[length=2mm]}-{Triangle[length=2mm]}] (0,6) coordinate (Y) -- (0,0) coordinate (O) -- (10,0) coordinate (X);
  \draw[thick,dashed] (O) -- (9.5,4.3) coordinate[pos=0.28] (F1) coordinate[pos=0.8] (F2) coordinate (TR);
  \draw[thick,dotted] (O |- F2) node[left]{$x$} -- (F2) -- (O -| F2) node[below] {$y$};
  \draw[thick] (F1) -- (F2) node[pos=0.55,sloped,reactor] (M){~} node[pos=0,sloped,pill]{};
  \draw[green!70!black,thick,-latex] (M.center) -- ($(M.center)!1cm!0:(F2)$) node[above]{$U$};
  \draw[green!70!black,thick,-latex] (M.center) -- ($(M.center)!1cm!90:(F2)$) node[left]{$V$};
  \draw[thick,dashed] (F2) -- ++ (48:2) coordinate(H) node[pos=0,sloped,pill,solid]{}
    pic ["$\delta_f$",draw,solid,->,angle radius=1cm,angle eccentricity=1.3] {angle = TR--F2--H};
  \draw[thick,red,-latex] (F2) -- ++ (62:2) coordinate (A2) node{$\alpha_f$}
    pic [draw,solid,black,->,angle radius=1.3cm] {angle = H--F2--A2};
  \draw[thick,red,-latex] (F1) -- ++ (48:2) coordinate (A1)
    pic ["$\alpha_r$",draw,->,red,thick,angle radius=1cm,angle eccentricity=1.3] {angle = F2--F1--A1};
  \draw[->] let \p1=($(F2)-(F1)$),\n1={-180+atan2(\y1,\x1)},\n2={\n1+180} in 
    ($($(M)!8mm!00:(F1)$)+({cos(\n1+90)*1mm},{sin(\n1+90)*1mm})$) arc(\n1:\n2:8mm)
    node[midway,below,red]{$\omega_z$};
  \draw[latex-] ($(F1)!1mm!-90:(M)$) -- ($(F1)!5mm!-90:(M)$) node[below]{$F_{\gamma r}$};
  \draw[latex-] ($(F2)!1mm!90:(M)$) -- ($(F2)!5mm!90:(M)$) node[below]{$F_{\gamma f}$};
  \draw[{Bar}{Latex}-{Latex}{Bar}] ($(F1)!1.5cm!90:(M)$) -- 
    ($(M)!1.5cm!90:(F2)$) node[midway,sloped,fill=white]{$L_r$};
  \draw[{Bar}{Latex}-{Latex}{Bar}] ($(M)!1.5cm!90:(F2)$) -- 
    ($(F2)!1.5cm!-90:(M)$) node[midway,sloped,fill=white]{$L_f$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage[outline]{contour}
\contourlength{2pt}
\usetikzlibrary{patterns,intersections,backgrounds,arrows.meta,decorations.markings,calc}

\begin{document}
\begin{tikzpicture}[
    >={Stealth[inset=0pt,length=5pt]},
    InLineArrow/.style={
        draw,
        thick,
        postaction={
            decorate,
            decoration={
                markings,
                mark=at position #1 with {
                    \fill(0:3.5pt) -- (120:3.5pt) -- (240:3.5pt);
                }
            }
        }
    }
]
\draw[<->]
(0,4) node[left]{$y$} 
    -- (0,0) coordinate[label=below:$O$](O)
    -- (5,0) node[below]{$x$};

\path[save path=\pathA,name path=A]
(0,0)
    -- (50:4) coordinate[label=above:$A$](A) 
    to[out=0,in=130] ++(0.7,-0.5) coordinate (aux)
    to[out=-50,in=90] ++(0.7,-0.5) coordinate[label={[inner sep=7pt]right:$B$}] (B)
    -- (B|-O)
    --cycle;
\draw[dashed]
(A)
    -- (A-|O) coordinate[label=left:$E$](E)
(B) 
    -- (B|-O) coordinate[label=below:$C$] (C);

\draw[name path=BF,dashed]
(B)
    -- (B-|O) coordinate[label=left:$F$] (F);
\draw[name path=AD,dashed](
A)
    -- (A|-O) coordinate[label=below:$D$] (D);

\fill[name intersections={of=A and BF,by=H}](H)coordinate[label=above left:$H$] circle (1.5pt);
\path[name path=BO] (B) -- (O);
\fill[name intersections={of=BO and AD,by={J}}] (J) coordinate[label=below left:$J$]circle(1.5pt);
\fill[name intersections={of=BF and AD,by={G}}] (G) coordinate[label=above right:$G$]circle(1.5pt);
\draw[<-] (aux) to[out=50,in=180] ++(0.5,0.5) node[right]{$r=f(\theta)$};
\draw[<-] (B) to[out=0,out looseness=1.5,in=130] ++(0.3,+0.5) node[right]{$\theta=\theta_1$};
\draw[<-] (A) to[out=0,out looseness=1.5,in=130] ++(0.3,+0.5) node[right]{$\theta=\theta_2$};

\begin{scope}[on background layer]
\definecolor{Col1}{HTML}{01FDFF}
\definecolor{Col2}{HTML}{FF40FF}
\definecolor{Col3}{HTML}{921AB8}
\draw[-Triangle,Col2,line width=1.2pt]
(0:2) 
    arc (0:50:2) node [pos=0.85,anchor=south west,color=Col3]{\small $\theta=\theta_2$};
\draw[-Triangle,Col1,line width=1.2pt] 
    let \p1 = (B),
         \n1 = {atan2(\y1,\x1)}
    in (0:1.5) 
        arc (0:\n1:1.5)node [pos=0.25,anchor=south west,color=Col3]{\contour{white}{\small $\theta=\theta_1$}};
\draw[InLineArrow=0.43,blue,line width=1.2pt]
(A) 
    -- (O);
\draw[InLineArrow=0.8,blue,line width=1.2pt]
(O) 
    -- (B);
\draw[
    InLineArrow=0.25,
    blue,
    line width=1.2pt,
] 
(B) 
    to [out=90,in=-50] (aux)
    to[out=130,in=0] (A);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usetikzlibrary{math}

\begin{document}
\def\tvalues{{-1,0,1,3,4,6,9,10,11,12,13}}
\tikzset{evaluate={
        function myN(\i, \k, \t) {
            if \k == 1 then {
                return chi(\t,\i);
            } else {
                return myN(\i, \k-1, \t)*(\t-\tvalues[\i])/(\tvalues[\i+\k-1]-\tvalues[\i])
                +myN(\i+1, \k-1, \t)*(\tvalues[\i+\k]-\t)/(\tvalues[\i+\k]-\tvalues[\i+1]);
            };
        };
    },
    declare function={chi(\t,\i)=and(\t >= \tvalues[\i] ,\t <=\tvalues[\i+1]);}}

\begin{tikzpicture}
\begin{axis}[
    samples=101,
    use fpu=false,
    mark=none,
    xlabel=$x$, ylabel=$y$,
    ymax=pi/2, ymin=0, xmin=0, xmax=10,
    domain=0:10,
]
  \addplot [mark=none] {myN(2,3,x)} node[pos=0.35,above] {$N_{23}$}; 
  \addplot+ [mark=none] {myN(3,3,x)} node[pos=0.51,above] {$N_{33}$}; 
  \addplot+ [mark=none] {myN(4,3,x)} node[pos=0.75,above] {$N_{43}$};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{angles, hobby, intersections, quotes}

\begin{document}
    \begin{tikzpicture}[
every label/.style = {circle, label distance=2pt, fill=white, inner sep=2pt},
   my angle/.style = {draw,<->,
                      angle radius=12mm, angle eccentricity=1.2}
                        ]
% axis
\draw [->]  (-4,0) -- (7,0) node [right] {$x$};
\draw [->]  (0,-1) -- (0,0) coordinate[label=below:O] (O)
                   -- (0,7) node [above] {$y$};
% triangle
\draw[name path=A]
        (1,0) coordinate[label=below:L] (L) --
        (6,6) coordinate[label=right:Q] (Q) --
        (Q |- O) coordinate[label=below:M] (M);
% tangent
\draw[name path=B]
        (-3,0) coordinate[label=below:T] (T) -- (7,4);
% intersections
\path [name path=C]
        (3,0) coordinate[label=below:N] (N) -- + (0,7);
\path [name intersections={of=A and B, by={P,H}}];
\draw[densely dashed]
        (P |- O) node[below] {N} -- 
        (P) node[above] {P};
% curve
\coordinate (A) at (1,2);
\coordinate (B) at (6.2,7);
\draw [red, densely dotted, very thick, use Hobby shortcut]
        ([out angle=5, in angle=265] A) .. (P) .. (Q) .. (B);
% angles
\pic [my angle, "$\psi$"]   {angle = M--T--H};
\pic [my angle, "$\theta$"] {angle = M--L--Q};
    \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, calc}

\tikzset{
  copy/.style={circle, inner sep=0pt, fill=black, minimum size=5pt},
  box/.style={rectangle, draw=black, fill=none, minimum size=6mm},
  blank/.style={rectangle, inner sep=0pt, draw=none, fill=none, minimum size=0pt}
}

\begin{document}
\begin{tikzpicture}[thick]
  \node[blank] (out1) {};
  \node[blank] (out2) [below=0.5 of out1] {};
  \node[blank] (out3) [below=0.5 of out2] {};
  \node[copy] (copy) [right=0.6 of $(out1)!0.5!(out2)$] {};
  \node[box] (c) [right=of out3] {$C$};

  \draw (out1) -- (copy);
  \draw (out2) -- (copy);
  \draw (out3) -- (c);
  \draw (copy) -- (copy -| c.east) to[out=0, in=0, looseness=2] (c.east);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz,nccmath,amssymb}
\usetikzlibrary{arrows, calc, chains, positioning, shapes}

\begin{document}

\tikzset{
  block/.style = {draw, fill=white, rectangle, minimum size=3em, on chain, join=by ->},
  sum/.style   = {draw, fill=white, circle},
}
\makeatletter
\tikzset{suspend join/.code={\def\tikz@after@path{}}}
\makeatother

\begin{tikzpicture}[
  node distance = 0.5cm and 1cm,
  start chain = going right,
  > = latex'
]
\coordinate (in);
\node [sum, right=of in, on chain] (sum2) {};
\node [block] (ractuator) {$\mfrac{2}{s+2}$};
\node [block] (vdynamics) {$\mfrac{-0.125(s+0.437)}{(s+1.29)(s+0.193)}$};
\node [block] (integrator) {$\mfrac{1}{s}$};
\coordinate[right=of integrator] (out) {};
\node [block, suspend join, below = of vdynamics] (yaw) {C};

\draw[->] (in) -- (sum2);
\draw[->] (integrator) -- coordinate[label=$\Psi(s)$] (psi) (out);
\draw[->] (psi) |- (yaw);
\draw[->] (yaw) -| (sum2);
\end{tikzpicture}

\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}

\begin{document}
\pgfkeys{/pgf/declare function={arctanh(\x) = 0.5*(ln((1+\x)/(1-\x)));}}

\begin{tikzpicture}
\begin{axis}[
  xmin=-1, xmax=1,
  ymin=-1, ymax=1,
  samples=100,
  enlarge x limits=false,
  grid=both,
  no markers,
  axis equal]
\addplot +[thick,domain=-0.99:0.99] {arctanh(x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  \node[fill=green, text=red, circle, draw=black] {With \textcolor{cyan}{node}};
  \draw[fill=cyan] (3,0) circle (1cm) node[text=blue] {With draw};
\end{tikzpicture}
\end{document}