AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw(0,2)to[sV=$V$]++(3,0);
\draw(0,1)to[sI=$I$]++(3,0);
\ctikzset{bipoles/isourcesin/angle=80}\draw(0,0)to[sI]++(3,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization data group {sin functions} = {
data [format=function] {
var set : {1,...,8};
var x : interval [0:50];
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
}
};
\tikzdatavisualizationset {
example visualization/.style={
scientific axes=clean,
y axis={ticks={style={
/pgf/number format/fixed,
/pgf/number format/fixed zerofill,
/pgf/number format/precision=2}}},
x axis={ticks={tick suffix=${}^\circ$}},
1={label in legend={text=$\frac{1}{6}\sin 11x$}},
2={label in legend={text=$\frac{1}{7}\sin 12x$}},
3={label in legend={text=$\frac{1}{8}\sin 13x$}},
4={label in legend={text=$\frac{1}{9}\sin 14x$}},
5={label in legend={text=$\frac{1}{10}\sin 15x$}},
6={label in legend={text=$\frac{1}{11}\sin 16x$}},
7={label in legend={text=$\frac{1}{12}\sin 17x$}},
8={label in legend={text=$\frac{1}{13}\sin 18x$}}
}
}
\tikz \datavisualization [
visualize as smooth line/.list={1,2,3,4,5,6,7,8},
example visualization,
style sheet=vary thickness and dashing]
data group {sin functions};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[>=stealth, every node/.style={shape=rectangle, draw, align=center}]
\node (root) at (0,0) {DataStructure\\Address: malloc header address};
\node (item1) at (-2,-2) {Item 1};
\node (item2) at (0,-2) {Item 2};
\node (item3) at (2,-2) {Item 3};
\draw[->] (root) -- (item1);
\draw[->] (root) -- (item2);
\draw[->] (root) -- (item3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.2]
\draw[thick] (0, -1) -- (0, 1) -- (-3, 4);
\draw[thick] (0, 1) -- (3, 4);
\draw[thick] (-1, 2) -- (1, 4);
\draw[thick] (-2, 3) -- (-1, 4);
\draw (-3.8, 4.7) node {\small{(((s}};
\draw (-1.2, 4.7) node {\small{s)}};
\draw (1.2, 4.7) node {\small{s)}};
\draw (3.2, 4.7) node {\small{s)}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[european voltages]
\draw (0,0) to[R, v^>=$v_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, *-o] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
minor tick num=1,
axis x line=middle,
axis y line=middle,
every inner x axis line/.append style={|->>},
every inner y axis line/.append style={|->>},
xlabel=$x$,ylabel=$y^3$,
]
\addplot [blue,domain=-3:5] {x^3};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\begin{tikzpicture}
\graph [color class=red, color class=green, math nodes]
{ [complete bipartite={red}{green}]
{ [red, Cartesian placement] r_1, r_2, r_3 },
{ [green, Cartesian placement, nodes={xshift=1cm}] g_1, g_2, g_3 }
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,mathrsfs,tikz,amsfonts,amsthm,cite,xcolor}
\begin{document}
\begin{tikzpicture}[scale = 0.35]
\filldraw[red] (1,1) circle (0.3);
\filldraw[green] (3,3) circle (0.3);
\draw[dashed] (1,1) -- (3,3);
\filldraw[red] (6,1) circle (0.3);
\filldraw[green] (8,3) circle (0.3);
\draw[dashed] (6,1) -- (8,3);
\filldraw[red] (11,1) circle (0.3);
\filldraw[green] (13,3) circle (0.3);
\draw[dashed] (11,1) -- (13,3);
\filldraw[red] (1,6) circle (0.3);
\filldraw[green] (3,8) circle (0.3);
\draw[dashed] (1,6) -- (3,8);
\draw[dashed] (1,6) -- (3,3);
\draw[dashed] (6,1) -- (3,3);
\filldraw[red] (6,6) circle (0.3);
\draw[dashed] (6,6) -- (3,8);
\draw[dashed] (6,6) -- (8,3);
\filldraw[red] (1,11) circle (0.3);
\draw[dashed] (1,11) -- (3,8);
\draw[dashed] (11,1) -- (8,3);
\filldraw[green] (8,8) circle (0.3);
\draw[dashed] (6,6) -- (8,8);
\filldraw[green] (3,13) circle (0.3);
\draw[dashed] (1,11) -- (3,13);
\filldraw[red] (6,11) circle (0.3);
\filldraw[red] (11,6) circle (0.3);
\draw[dashed] (11,6) -- (13,3);
\draw[dashed] (11,6) -- (13,8);
\draw[dashed] (11,6) -- (8,8);
\draw[dashed] (6,11) -- (8,8);
\draw[dashed] (6,11) -- (3,13);
\draw[dashed] (6,11) -- (8,13);
\draw[dashed] (11,11) -- (8,13);
\draw[dashed] (13,8) -- (11,11);
\filldraw[green] (13,8) circle (0.3);
\filldraw[green] (8,13) circle (0.3);
\filldraw[red] (11,11) circle (0.3);
\filldraw[green] (13,13) circle (0.3);
\draw[dashed] (11,11) -- (13,13);
\draw (0,0) -- (0,15);
\draw (0,0) -- (15,0);
\draw (0,5) -- (15,5);
\draw (0,10) -- (15,10);
\draw (0,15) -- (15,15);
\draw (5,0) -- (5,15);
\draw (10,0) -- (10,15);
\draw (15,0) -- (15,15);
\draw[ultra thick, ->] (5,5) -- (10,5);
\draw[ultra thick, ->] (5,5) -- (5,10);
\draw node at (9.5,9.5) {$\boldsymbol{\Omega_m}$};
\draw node at (9.5,4.75) {$\boldsymbol{\overset{\rightarrow}{v_{2}}}$};
\draw node at (4.75,9.5) {$\boldsymbol{\overset{\rightarrow}{v_{1}}}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.5, baseline=(current bounding box.north)]
\node (zero) at (0,0) {$B^{(i)}\otimes \widetilde{B}^{(j)}$};
\node (one) at (1,1) {$B^{(i)}\otimes \widetilde{Z}^{(j)}$};
\node (two) at (-1,1){$Z^{(i)}\otimes \widetilde{B}^{(j)}$};
\node (three) at (2,0){$0$};
\node (four) at (-2,0){$0$};
\node (five) at (3,1){$B^{(i+1)}\otimes \widetilde{Z}^{(j-1)}$} ;
\node (six) at (-3,1) {$B^{(i-1)}\otimes \widetilde{Z}^{(j+1)}$};
\node (seven) at (4,0) {$\ldots$};
\node (eight) at (-4,0) {$\ldots$};
\draw [->] (zero) -- (one);
\draw [->] (zero) -- (two);
\draw [->] (three) -- (one);
\draw [->] (four) -- (two);
\draw [->] (three) -- (five);
\draw [->] (four) -- (six);
\draw [<-] (six) -- (eight);
\draw [<-] (five) -- (seven);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
level distance=1cm,
sibling distance=1cm,
}
\begin{document}
\begin{tikzpicture}[level/.style={sibling distance=20mm/#1}]
\node {root}
child { child child }
child { child child child };
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{positioning}
\newcommand{\pr}{\textnormal{\texttt{pr}}}
\begin{document}
\begin{tikzpicture}
\node (E) at (0,0) {$a \times b$};
\node[right=of E] (K) {};
\node[right=of K] (F) {$ (a \times b) \times b$};
\node[right=of F] (L) {};
\node[right=of L] (A) {$a \times b$};
\draw[->] (E)--(F) node [midway,above] {$\pr{'}_2^{a, b} $};
\draw[->] (F)--(A) node [midway,above] {$ \pr_{a \times b}$};
\draw[->,bend right=25] (E) to node [midway,below] {$1_{a \times b}$} (A) ;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\usepackage{amsmath}
\begin{document}
\tikz \datavisualization [
scientific axes=clean,
visualize as smooth line/.list={linear, squared, cubed},
linear ={label in data={text=$2x$}},
squared={label in data={text=$x^2$}},
cubed ={label in data={text=$x^3$}}]
data [set=linear, format=function] {
var x : interval [0:1.5];
func y = 2*\value x;
}
data [set=squared, format=function] {
var x : interval [0:1.5];
func y = \value x * \value x;
}
data [set=cubed, format=function] {
var x : interval [0:1.5];
func y = \value x * \value x * \value x;
};
\end{document}
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw[dashed, black, fill=red!30, opacity=0.5] (-2,0) -- (2,0) -- (2,3) -- (-2,3) -- cycle;
\draw[ultra thick, color=black] (-3,0) -- (3,0);
\draw[thick, ->, color=black] (0.2,1.5) -- (2.5,1.5) node[above] {$F$};
\draw[thick, ->, color=black] (-0.2,1.5) -- (-2.5,1.5) node[above] {$F_d$};
\draw[thick, ->, color=black] (0,1.3) -- (0,-1.3) node[right] {$F_p$};
\draw[thick, ->, color=black] (0,1.7) -- (0,3.7) node[right] {$F_N$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{bayesnet}
\begin{document}
\begin{tikzpicture}
\node[obs] (qya) {$\scriptstyle Q^{y \mid a}_i$};
\node[obs, left=1.5cm of qya] (qa) {$\scriptstyle Q^{a}_i$};
\node[obs, left=.4cm of qya] (z) {$Z_i$};
\node[latent, above=0.4cm of z] (u) {$U_i$};
\edge {u} {qa, qya} ; \edge {qa} {z} ;
\edge {z} {qya} ;
\plate {ayu} {(qa)(qya)(u)(z)} {$n$} ;
\draw[white, opacity=0] (current bounding box.north west) rectangle (current bounding box.south east);
\end{tikzpicture}
\end{document}
\documentclass[margin=.5cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\tikzset{
tangent/.style={
decoration={
markings,
mark=at position #1 with {
\coordinate (tangent point-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (0,0);
\coordinate (tangent vector-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (1,0);
\coordinate (normal vector-\pgfkeysvalueof{/pgf/decoration/mark info/sequence number}) at (0,1);
}
},
postaction=decorate
},
use tangent/.style={
shift=(tangent point-#1),
x=(tangent vector-#1),
y=(normal vector-#1)
},
use tangent/.default=1
}
\begin{document}
\begin{tikzpicture}
\draw[thick, tangent=0.3] (0,0) ellipse (4 and 2);
\begin{scope}[use tangent]
\draw [blue, thick] (0,3) -- (0,-1);
\draw[fill=white] (0,0) circle (2pt) node[above left] {$P$}
(0,3) circle (2pt) node[below right] {$M$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
minor tick num=1,
]
\addplot {x^3};
\addplot {-20*x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[legend pos=outer north east]
\addplot3 [surf, samples=9, domain=0:1]
{(1-abs(2*(x-0.5))) * (1-abs(2*(y-0.5)))};
\addlegendentry{$\phi_x \phi_y$}
\addplot3+ [ultra thick] coordinates {(0,0,0) (0.5,0,1) (1,0,0)};
\addlegendentry{$\phi_x $}
\addplot3+ [ultra thick] coordinates {(1,0,0) (1,0.5,1) (1,1,0)};
\addlegendentry{$\phi_y $}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,shapes.geometric,shapes,arrows.meta}
\tikzset{-Latex,auto,node distance =1 cm and 1 cm,semithick,state/.style ={ellipse, draw, minimum width = 0.7 cm}
,point/.style = {circle, draw, inner sep=0.04cm,fill,node contents={}},bidirected/.style={Latex-Latex,dashed},el/.style = {inner sep=2pt, align=left, sloped},square/.style={regular polygon,regular polygon sides=4}}\newcommand{\myassetnode}[5]{\node[state,circle] (#1) at (#2,#3) {#4}
;
\node[state,square,scale=0.5, fill=white!100] (#1asset) at (#2+0.3, #3-0.3) {#5};
}
\begin{document}
\begin{tikzpicture}
\myassetnode{u}{0}{0}{$u$}{$30$}\myassetnode{v}{3}{0}{$v$}{$20$}\myassetnode{w}{6}{0}{$w$}{$10$}\path (u) edge[bend left] node[above] {$20@[1,3]$} (v);
\path (uasset) edge[bend right] node[below] {$15@[4,5]$} (v);
\path (v) edge[bend left] node[above] {$25@2$} (w);
\path (w) edge[bend left] node[below] {$25@[4,6]$} (vasset);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,graphicx,tikz}
\usetikzlibrary{arrows}
\newcommand{\midarrow}{\tikz\draw[thin,-angle 45](0,0)--+(.25,0);
}
\newcommand{\scri}[1]{\text{\scriptsize{#1}
}}
\begin{document}
\begin{tikzpicture}[scale=.5]
\draw[help lines,color=gray!60,dashed](-1,0)grid(1,4);
\begin{scope}[thick,every node/.style={sloped,allow upside down}]
\draw(-1,1)--node{\midarrow}(0,0);
\draw[dashed](0,0)--node{\midarrow}(0,3);
\draw(0,3)--node{\midarrow}(1,4);
\end{scope}\node at(0,4.5){\scalebox{0.55}{\scri{$n-1$}}};
\node at(-1.5,0){\scalebox{0.55}{\,\,\,\scri{$\ell_{2}$}}};
\node at(-1.5,1.5){\scalebox{0.55}{\,\,\,\scri{$\vdots$}}};
\node at(-1.5,3){\scalebox{0.65}{\,\,\,\scri{$\ell_{1}$}}};
\node at(0,-1){(2)};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, o-*] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{tikzpicture}
\draw(0,1)to[C]++(1,0)to[elko]++(1,0);
\ctikzset{capacitors/width=0.15,capacitors/height=0.5}\draw(0,0)to[C]++(1,0)to[elko]++(1,0);
\tikzset{big elko/.style={elko=#1,capacitors/width=0.3}
}\draw(0,-1)to[C]++(1,0)to[big elko]++(1,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{matrix,arrows,decorations}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center)]
\node (Lu) at (0,3){$\mathbb{F}^{k}\times\mathbb{F}^{l}$};
\node (Ru) at (4,3){$\mathbb{F}^{l}\times\mathbb{F}^{k}$};
\node (Lm) at (1,1.5){$\mathbb{F}^{k}\oplus\mathbb{F}^{l}$};
\node (Rm) at (3,1.5){$\mathbb{F}^{l}\oplus\mathbb{F}^{k}$};
\node (Ml) at (2,0){$\mathbb{F}^{k+l}$};
\node (Label) at (2,1.1){\tiny Lemma \ref{BVlemma}};
\path[->, font=\scriptsize,>=angle 90] (Lu) edge (Lm) (Lu) edge node [above]{$\tau$}(Ru) (Ru) edge (Rm) (Lm) edge (Rm) (Lm) edge (Ml) (Rm) edge (Ml);
\draw [->] (Lu) to [out=-90,in=180] (Ml);
\draw [->] (Ru) to [out=-90,in=0] (Ml);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{trees}
\tikzset{
level distance=1cm,
sibling distance=1cm,
}
\begin{document}
\begin{tikzpicture}[thick]
\node [red] {root}
child
child;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[shift={(.5,-.5)}] (-3.2,-2) rectangle (3.2,2);
\draw[fill=white] (-3.2,-2) rectangle (3.2,2);
\draw (0,0) circle (1);
\draw (0,0) circle (1.5);
\node at (0,0) {$A$};
\node at (.88,.88) {$B$};
\node at (2.6,1.4) {$C$};
\node[below right] at (3.2,-2) {$R$};
\draw[<->] (1,0) -- (1.5,0);
\node[below, align=center] at (1.25,0) {$\ell$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\foreach\x/\l/\t/\y in{1/e/$C_5$/$b$,2/d/$C_4$/$a$,3/c/$C_3$/$e$,4/b/$C_2$/$d$,5/a/$C_1$/$c$}{\node(\l)at(72*\x+125:.8){\t};
\node(p\x)at(72*\x-55:1.75){\y};
}\foreach\u/\v in{p2/a,p2/b,p1/b,p1/c,p5/c,p5/d,p4/d,p4/e,p3/e,p3/a}\draw[-latex](\u)--(\v);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph { a -> { b[not source], c, d[not target] } -> e };
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions}
\begin{document}
\tikz \datavisualization data group {function classes} = { data [set=log, format=function] { var x : interval [0.2:2.5];
func y = ln(\value x);
} data [set=lin, format=function] { var x : interval [-2:2.5];
func y = 0.5*\value x;
} data [set=squared, format=function] { var x : interval [-1.5:1.5];
func y = \value x*\value x;
} data [set=exp, format=function] { var x : interval [-2.5:1];
func y = exp(\value x);
} };
\tikz \datavisualization [ scientific axes, visualize as smooth line/.list={log, lin, squared, exp}, legend=north east outside, log={label in legend={text=$\log x$}}, lin={label in legend={text=$x/2$, node style={circle, draw=red}}}, squared={label in legend={text=$x^2$}}, exp={label in legend={text=$e^x$}}, style sheet=strong colors ] data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend image post style={mark=*},
]
\addplot+ [only marks,forget plot]
coordinates {(0.5,0.75) (1,1) (1.5,0.75)};
\addplot+ [mark=none,smooth,domain=0:2]
{-x*(x-2)};
\addlegendentry{Parabola}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\pgfmathsetseed{1}
\begin{tikzpicture}[
declare function={
excitation(\t,\w) = sin(\t*\w);
noise = rnd - 0.5;
source(\t) = excitation(\t,20) + noise;
filter(\t) = 1 - abs(sin(mod(\t, 90)));
speech(\t) = 1 + source(\t)*filter(\t);
}
]
\draw [help lines] (0,0) grid (3,2);
\draw [blue, thick, x=0.0085cm, y=1cm] (0,1) --
plot [domain=0:360, samples=144, smooth] (\x,{speech(\x)});
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb, amsmath, amsthm}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\coordinate (A1) at (0,0);
\coordinate (A2) at (-0.7,0.7);
\coordinate (A3) at (0.7,0.7);
\foreach \n in {2,3}
\coordinate (B\n) at ($0.7*(A\n)$);
\foreach \n in {2,3}
\coordinate (C\n) at ($1.5*(A\n)$);
\foreach \n in {2,3}
\draw (A1)--(A\n);
\foreach \n in {2,3}
\draw[dashed] (A\n)--(C\n);
\draw[dashed] (B2) to [out=45, in=135] (B3);
\fill[blue] (A1) circle (2pt);
\node at ($0.5*(A1)+0.5*(A2)+(-0.2,-0.2)$) {$k_1$};
\node at ($0.5*(A1)+0.5*(A3)+(0.3,-0.2)$) {$k_N$};
\node at ($(A1)+(0,-0.3)$) {$n$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\newcommand{\vv}{{\mathbf v}
}
\begin{document}
\begin{tikzpicture}
[>=stealth,shorten <= 6pt,shorten >=6pt]\filldraw (-1,3) circle (2pt) node [above=1pt] {$\vv_{-1,a}$} (1,3) circle (2pt) node [above=1pt] {$\vv_{1,a}$} (3,3) circle (2pt) node [above=1pt] {$\vv_{3,a}$} (5,3) circle (2pt) node [above=1pt] {$\vv_{5,a}$} (0,2) circle (2pt) node [above=4pt] {$\vv_{0,b}$} (2,2) circle (2pt) node [above=4pt] {$\vv_{2,b}$} (4,2) circle (2pt) node [above=4pt] {$\vv_{4,b}$} (-1,1) circle (2pt) node [below=6pt] {$\vv_{-1,c}$} (1,1) circle (2pt) node [below=6pt] {$\vv_{1,c}$} (3,1) circle (2pt) node [below=6pt] {$\vv_{3,c}$} (5,1) circle (2pt) node [below=6pt] {$\vv_{5,c}$} (0,0) circle (2pt) node [below=1pt] {$\vv_{0,d}$} (2,0) circle (2pt) node [below=1pt] {$\vv_{2,d}$} (4,0) circle (2pt) node [below=1pt] {$\vv_{4,d}$};
\draw [->] (-1,3) -- (0,2);
\draw [->] (0,2) -- (1,3);
\draw [->] (1,3) -- (2,2);
\draw [->] (2,2) -- (3,3);
\draw [->] (3,3) -- (4,2);
\draw [->] (4,2) -- (5,3);
\draw [->] (-1,1) -- (0,2);
\draw [->] (0,2) -- (1,1);
\draw [->] (1,1) -- (2,2);
\draw [->] (2,2) -- (3,1);
\draw [->] (3,1) -- (4,2);
\draw [->] (4,2) -- (5,1);
\draw [->] (-1,1) -- (0,0);
\draw [->] (0,0) -- (1,1);
\draw [->] (1,1) -- (2,0);
\draw [->] (2,0) -- (3,1);
\draw [->] (3,1) -- (4,0);
\draw [->] (4,0) -- (5,1);
\draw [loosely dotted] (-3,3) -- (-1.5,3);
\draw [loosely dotted] (-3,2) -- (-1.5,2);
\draw [loosely dotted] (-3,1) -- (-1.5,1);
\draw [loosely dotted] (-3,0) -- (-1.5,0);
\draw [loosely dotted] (5.5,3) -- (7,3);
\draw [loosely dotted] (5.5,2) -- (7,2);
\draw [loosely dotted] (5.5,1) -- (7,1);
\draw [loosely dotted] (5.5,0) -- (7,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usepackage{tkz-euclide}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tkzSetUpColors[background=white,text=black]\tkzSetUpCompass[color=orange,line width=.2pt,delta=10]\tkzSetUpArc[color=gray,line width=.2pt]\tkzSetUpPoint[size=2,color=teal]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
}
\begin{document}

\begin{tikzpicture}
\tkzDefPoints{0/0/O,4/0/A,0/4/B}\tkzFillPolygon[color=teal](O,A,B)
\begin{scope}
\tkzClipPolygon(O,A,B)\tkzClipCircle(A,O)\tkzClipCircle(B,O)\tkzFillPolygon[white](O,A,B)
\end{scope}\tkzDrawPolygon[black](O,A,B)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[straight voltages]
\draw (0,0) to[R, v_>=$v_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikz[scale=0.5]\draw plot[smooth cycle] coordinates{(0,0) (1,0) (2,1) (1,2)} plot coordinates{(0,0) (1,0) (2,1) (1,2)} -- cycle;
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel={Shot-size},
ylabel={F1-score},
xmin=0, xmax=6,
ymin=0, ymax=100,
xtick={0,1,2,3,4,5,6},
xticklabels={10,20,50,100,200,400,full},
ytick={20,40,60,80,100},
legend pos=south east,
ymajorgrids=true,
grid style=dashed,
]
\addplot[
color=blue,
mark=square,
]
coordinates {
(0,50.3)(1,51.5)(2,67.3)(3,77.1)(4,78.6)(5,82.4)(6,88.1)
};
\addlegendentry{Anamnese}
\addplot[
color=red,
mark=triangle,
]
coordinates {
(0,89.3)(1,89.9)(2,92.4)(3,95.4)(4,95.6)(5,97.5)(6,98.7)
};
\addlegendentry{Medikation}
\end{axis}
\end{tikzpicture}
\end{document}