AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{arrows, shapes.geometric}
\tikzset{
>=stealth,
level distance=1cm,
}
\begin{document}
\begin{tikzpicture}[sibling distance=15mm]
\node[rectangle,draw] {root}
child {node[circle,draw,yshift=-5mm] (left node) {left}}
child {node[ellipse,draw] (right node) {right}};
\draw[dashed,->] (left node) -- (right node);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\tikzset{vertex/.style = {shape=circle,draw}
}\node[vertex] (a) at (0,2) {a};
\node[vertex] (b) at (-2,-2) {b};
\node[vertex] (c) at (2,-2) {c};
\draw (a) to (b) to (c) to (a);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{automata}
\newcommand{\kripke}{\mathcal{K}
}
\begin{document}
\begin{tikzpicture}[x=1cm, y=0.5cm]
\node[minimum size=0pt] (q1) at (-2,0) {$\kripke$};
\node[state, label={90:$\mathbf{q}$}, minimum size=0pt] (q1) at (0,0) {$a$};
\node[state, label={90:$\mathbf{q}$}, minimum size=0pt] (q2) at (2,0) {};
\node[state, label={90:$\mathbf{q'}$}, minimum size=0pt] (q2p) at (3,1) {};
\node[state, label={90:$\mathbf{q''}$}, minimum size=0pt] (q2pp) at (3,-1) {};
\draw[->] (q2) -- (q2p);
\node[state, label={90:$\mathbf{q}$}, minimum size=0pt] (q3) at (5,0) {};
\node[state, label={90:$\mathbf{q'}$}, minimum size=0pt] (q3p) at (7,0) {};
\draw[->] (q3) -- (q3p);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,amsthm,amssymb,tikz-cd,hyperref, mathrsfs, tikz}
\begin{document}
\begin{tikzpicture}[scale=0.9]
\filldraw[black] (0,0) circle (1.5pt);
\filldraw[black] (1,0) circle (1.5pt);
\filldraw[black] (2,0) circle (1.5pt);
\filldraw[black] (3,0) circle (1.5pt);
\filldraw[black] (4,0) circle (1.5pt);
\draw[-,thick] (.1,0)--(.9,0);
\draw[-,thick] (.1,0.1)--(.9,0.1);
\draw[-,thick] (.1,-0.1)--(.9,-0.1);
\draw[-,thick] (1.1,0)--(1.9,0);
\draw[-,thick] (2.1,0)--(2.9,0);
\draw[-,thick] (3.1,0)--(3.9,0);
\draw[-,thick] (3.1,0.1)--(3.9,0.1);
\draw[-,thick] (3.1,-0.1)--(3.9,-0.1);
\node at (0,-0.4) {$\alpha_\infty$};
\node at (1,-0.4) {$\alpha_1$};
\node at (2,-0.4) {$\alpha_2$};
\node at (3,-0.4) {$\alpha_3$};
\node at (4,-0.4) {$\alpha_4$};
\node at (0,0.4) {$1$};
\node at (1,0.4) {$1$};
\node at (2,0.4) {$1$};
\node at (3,0.4) {$1$};
\node at (4,0.4) {$1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw(0,0)--++(1,0)to[R]++(2,0)to[rmeterwa,t=A,i=$i$]++(2,0)--++(0,-1)node[ground]{};
\draw(1,0)--(1,1)to[rmeterwa,t=V,v^=$v$]++(2,0)node[ground]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar left]
\addplot [mesh,thick,samples=150]
{x*sin(deg(4*x))};
\end{axis}
\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}
\node {root}
[child anchor=north]
child {node {left} edge from parent[dashed]}
child {node {right}
child {node {child}}
child {node {child} edge from parent[draw=none]}
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[fleqn]{amsmath}
\usepackage{amssymb,latexsym,color,dsfont,enumitem}
\usepackage{tikz}
\usepackage{pgf}
\usepackage[cp1251]{inputenc}
\usepackage[T2A]{fontenc}
\begin{document}
\begin{tikzpicture}[scale=1]
\coordinate (w0) at (1, 1.00);
\coordinate (wn`) at (1, 2.00);
\coordinate (wn) at (1, 2.75);
\coordinate (wn') at (1, 3.50);
\coordinate (wn'') at (1, 4.25);
\coordinate (wdots) at (1, 1.60);
\coordinate (wdots') at (1, 4.85);
\coordinate (v0) at (5, 1.00);
\coordinate (vn`) at (5, 2.00);
\coordinate (vn) at (5, 2.75);
\coordinate (vn') at (5, 3.50);
\coordinate (vn'') at (5, 4.25);
\coordinate (vdots) at (5, 1.60);
\coordinate (vdots') at (5, 4.85);
\draw [fill] (w0) circle [radius=2.0pt] ;
\draw [fill] (wn`) circle [radius=2.0pt] ;
\draw [] (wn) circle [radius=2.0pt] ;
\draw [] (wn') circle [radius=2.0pt] ;
\draw [] (wn'') circle [radius=2.0pt] ;
\draw [] (wdots) node {$\vdots$} ;
\draw [] (wdots') node {$\vdots$} ;
\draw [] (v0) circle [radius=2.0pt] ;
\draw [] (vn`) circle [radius=2.0pt] ;
\draw [fill] (vn) circle [radius=2.0pt] ;
\draw [fill] (vn') circle [radius=2.0pt] ;
\draw [fill] (vn'') circle [radius=2.0pt] ;
\draw [] (vdots) node {$\vdots$} ;
\draw [] (vdots') node {$\vdots$} ;
\begin{scope}[>=latex]
\draw [->, shorten >= 2.0pt, shorten <= 2.0pt] (wn`) -- (wn) ;
\draw [->, shorten >= 2.0pt, shorten <= 2.0pt] (wn) -- (wn') ;
\draw [->, shorten >= 2.0pt, shorten <= 2.0pt] (wn') -- (wn'');
\draw [->, shorten >= 2.0pt, shorten <= 2.0pt] (vn`) -- (vn) ;
\draw [->, shorten >= 2.0pt, shorten <= 2.0pt] (vn) -- (vn') ;
\draw [->, shorten >= 2.0pt, shorten <= 2.0pt] (vn') -- (vn'');
\end{scope}\node [right=2pt] at (w0) {$0$} ;
\node [right=2pt] at (wn`) {$n-1$};
\node [right=2pt] at (wn) {$n$} ;
\node [right=2pt] at (wn') {$n+1$};
\node [right=2pt] at (wn'') {$n+2$};
\node [right=2pt] at (v0) {$0$} ;
\node [right=2pt] at (vn`) {$n-1$};
\node [right=2pt] at (vn) {$n$} ;
\node [right=2pt] at (vn') {$n+1$};
\node [right=2pt] at (vn'') {$n+2$};
\node [below = 10pt ] at (w0) {$\frak{G}_n$};
\node [below = 10pt ] at (v0) {$\frak{H}_n$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\pgfdeclarelayer{bg}
\pgfsetlayers{bg,main}
\begin{document}
\begin{tikzpicture}[x=1.5ex, y=2ex, every node/.style={draw = black, circle, node font=\tiny}]
\node (P3) at (0,0) {};
\node (P2) at (-1,-1) {}; \node (I2) at (1,-1) {};
\node (P1) at (-2,-2) {}; \node (S2) at (0,-2) {}; \node (I3) at (2,-2) {};
\begin{pgfonlayer}{bg}
\node[circle, fill=green!30, minimum size=0.3cm, draw=none] (PP3) at (0,0) {};
\node[circle, fill=green!30, minimum size=0.3cm, draw=none] (SS2) at (0,-2) {};
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=2]{B}\Edge[style={dashed}](A)(B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
view={-45}{45},
xlabel=$x$,
ylabel=$y$,
zlabel=$z$,
]
\addplot3 [surf] {x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
arrows,
graphs,
graphs.standard
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph { subgraph K_n [->, n=5, clockwise, radius=6mm] };
\end{document}
\documentclass[tikz, margin=10pt]{standalone}
\usetikzlibrary{positioning, calc}
\tikzset{
process/.style={rectangle, minimum height=1cm, text centered, draw=black, fill=orange!30},
arrow/.style={thick, ->, >=stealth},
}
\begin{document}
\begin{tikzpicture}[node distance=1cm]
\node (start) [process] {1};
\node (node2r) [process, below right=of start] {2r};
\node (node3r) [process, below=of node2r] {3r};
\node (node4r) [process, below=of node3r] {4r};
\node (node2l) [process, below left=of start] {2l};
\node (node4l) [process] at (node2l|-node4r) {4l};
\node (end) [process] at ($(node4l)!.5!(node4r)+(0,-2cm)$) {5moretext};
\draw [arrow] (start) -| (node2r);
\draw [arrow] (start) -| (node2l);
\draw [arrow] (node2l) -- (node4l);
\draw [arrow] (node2r) -- (node3r);
\draw [arrow] (node3r) -- (node4r);
\draw [arrow] (node4r) |- (end);
\draw [arrow] (node4l) |- (end);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{calc,intersections,through,backgrounds}
\usepackage{xcolor}
\begin{document}
\pgfmathsetseed{1}
\begin{tikzpicture}[thick,help lines/.style={thin,draw=black!50}]
\colorlet{input}{blue!80!black}
\colorlet{output}{red!70!black}
\colorlet{triangle}{orange}
\def\A{\textcolor{input}
{$A$}}\def\B{\textcolor{input}
{$B$}}\def\C{\textcolor{output}
{$C$}}\def\D{$D$}
\def\E{$E$}
\coordinate [label=left:\A] (A) at ($ (0,0) + .1*(rand,rand) $);
\coordinate [label=right:\B] (B) at ($ (1.25,0.25) + .1*(rand,rand) $);
\draw [input] (A) -- (B);
\node [name path=D,help lines,draw,label=left:\D] (D) at (A) [circle through=(B)] {};
\node [name path=E,help lines,draw,label=right:\E] (E) at (B) [circle through=(A)] {};
\path [name intersections={of=D and E,by={[label=above:\C]C}}];
\draw [output] (A) -- (C) -- (B);
\foreach \point in {A,B,C}
\fill [black,opacity=.5] (\point) circle (2pt);
\begin{pgfonlayer}
{background}\fill[triangle!80] (A) -- (C) -- (B) -- cycle;
\end{pgfonlayer}\node [below right, text width=10cm,align=justify] at (4,3) {\small\textbf{Proposition I}\par\emph{To construct an \textcolor{triangle}{equilateral triangle} on a given \textcolor{input}{finite straight line}.}\par\vskip1em Let \A\B\ be the given \textcolor{input}{finite straight line}. \dots};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap,decorations.text}
\begin{document}
\def\arr{(10.75:1.1)--(6.5:1)arc(6.25:120:1)[rounded corners=.5]--(120:.9)[rounded corners=1]--(130:1.1)[rounded corners=.5]--(120:1.3)[sharp corners]--(120:1.2)arc(120:5.25:1.2)[rounded corners=1]--(10.75:1.1)--(6.5:1)--cycle}
\begin{tikzpicture}[mindmap]
\tikzset{every node/.style={text width=1cm,minimum size=1cm}
}\node[concept,text=white,align=left,scale=.5]at(0,0){people}child[concept color=red!50,grow=-90,level distance=70]{node[concept]{Shoes}};
\node[concept,concept color=green!50,text=white,align=left,scale=.5]at([yshift=-70pt]-15:130pt){Shirts}child[concept color=blue!50,grow=-75,level distance=75,rotate=-40]{node[concept]{Birds}}child[concept color=blue!50,grow=155,level distance=75]{node[concept]{cups}};
\begin{scope}[yshift=-3.5cm,xshift=4.5cm]
\draw node at(1,-6)[text width=3cm]{\small I do not want the arm that connects the nodes \\ shoes and shirts to be touched by the nodes birds or cups, \\ but I also do not want to change the angle formed between \\ birds and cups, I just want to rotate the node Shirts};
\draw[decorate,decoration={text along path,text={Turn Shirts}}]\arr;
\draw[left color=red,right color=red!60]\arr;
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{pgfplots}
\usepackage{xcolor}
\newcommand{\dotsize}{2pt}
\newcommand{\Square}[1]{+(-#1,-#1) rectangle +(#1,#1);
}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.west)]
\fill (0,0) circle[radius=\dotsize];
\draw (0,0) node[below]{$r$};
\fill (0.6,0) \Square{\dotsize};
\draw (0.6,0) node[below]{$r_1$};
\fill (1.2,0) \Square{\dotsize};
\draw (1.2,0) node[below]{$r_2$};
\draw (1.8,0) node{$\times$};
\fill (2.4,0) \Square{\dotsize};
\draw (2.4,0) node[below]{$r_1$};
\fill (3.0,0) \Square{\dotsize};
\draw (3.0,0) node[below]{$r_3$};
\draw[dashed] (0,0) to [out=60, in=120] (0.6,0);
\draw[dashed] (0.6,0) to [out=60, in=120] (1.2,0);
\draw[dashed] (2.4,0) to [out=60, in=120] (3.0,0);
\draw[dashed] (0,0) to [out=60, in=120] (2.4,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{siunitx}
\begin{document}
\begin{circuitikz}
\draw(0,0) to [nV, l=$e_n$] ++(2,0);
\draw(0,-2) to [nI, l=$i_n$] ++(2,0);
\begin{scope}[circuitikz/bipoles/noise sources/fillcolor=red!50]
\draw(3,0) to [nV, l=$e_n$] ++(2,0);
\draw(3,-2) to [nI, l=$i_n$] ++(2,0);
\end{scope}
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,positioning,intersections}
\begin{document}
\begin{tikzpicture}
\foreach \x in {2,4,6}{\node[fill=white, anchor=north, inner sep=0.15cm, font=\tiny] at (-\x/2,0){\makebox[0pt][r]{$-$}$\x$};
\node[fill=white, anchor=north, inner sep=0.15cm, font=\tiny] at (\x/2,0){$\x$};
}\foreach \y in {2,4,6}{\node[fill=white, anchor=east, inner sep=0.15cm, font=\tiny] at (0,-\y/2,0){\makebox[0pt][r]{$-$}$\y$};
\node[fill=white, anchor=east, inner sep=0.15cm, font=\tiny] at (0,\y/2){$\y$};
}\draw[latex-latex] (-4,0) -- (4,0);
\draw[latex-latex] (0,-3) -- (0,3);
\node [anchor=north west] at (4,0) {$x$};
\node [anchor=south west] at (0,3) {$y$};
\foreach \x in {-2.5,-2,...,2.5}
\draw[dashed,gray!50] (-3.75,\x) -- (3.75,\x);
\foreach \x in {-3.5,-3,...,3.5}
\draw[dashed,gray!50] (\x,-2.75) -- (\x,2.75);
\draw[<->,green,ultra thick] (-7.5/2,{((3/5)*(-7.5) + 1)/2}) -- (7.5/2,{((3/5)*7.5 + 1)/2});
\draw[<->,red,thick] (-3.5,-1.6) -- (3.5,2.6);
\draw[<->,blue,thin,,samples at={-3.5,3.5}] plot (\x,{\x*3/5 + 0.5});
\draw[<->] ($({-7/2},{((3/5)*(-7) + 1)/2}) +({(-1/2)/2}, {{(3/5)*((-1/2)/2)}})$) -- ($({7/2},{((3/5)*7 + 1)/2}) +({(1/2)/2}, {{(3/5)*((1/2)/2)}})$);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=2]{B} \Vertex[x=2,y=-1]{C}
\Edge[label=X,fontscale=.5](A)(B)
\Edge[label=Y,fontscale=2](A)(C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{automata, positioning}
\usepackage{pgfplots}
\usetikzlibrary{intersections, decorations.pathreplacing, positioning, calc}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[shorten >=1pt, node distance=2cm, on grid, auto]
\node[state] (s_0) {$s_0$};
\node[state] (s_1) [right=of s_0] {$s_1$};
\node[state] (s_2) [right=of s_1] {$s_2$};
\path[->] (s_0) edge [bend left] node {1} (s_1) (s_1) edge [bend left] node {1} (s_0) edge [bend left] node {1} (s_2) (s_2) edge [bend left] node {1} (s_1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{snakes}
\begin{document}
\begin{tikzpicture}[thick,scale=0.4]
\tikzset{decoration={snake,amplitude=.4mm,segment length=2mm, post length=0mm,pre length=0mm}}
\node[circle, draw = black!100, fill=black!00, inner sep=2pt, minimum width=2pt] (13) at (8,-2) {};
\node[circle, draw = black!100, fill=black!100, inner sep=2pt, minimum width=2pt] (16) at (10,-2) {};
\node[circle, draw = black!100, fill=black!100, inner sep=2pt, minimum width=2pt] (17) at (12,0) {};
\node[circle, draw = black!100, fill=black!100, inner sep=2pt, minimum width=2pt] (18) at (12,-2) {};
\node[circle, draw = black!100, fill=black!100, inner sep=2pt, minimum width=2pt] (19) at (14,2) {};
\node[circle, draw = black!100, fill=black!100, inner sep=2pt, minimum width=2pt] (20) at (14,-2) {};
\node[circle, draw = black!100, fill=black!00, inner sep=2pt, minimum width=2pt] (21) at (16,4) {};
\node[circle, draw = black!100, fill=black!00, inner sep=2pt, minimum width=2pt] (22) at (16,2) {};
\node[circle, draw = black!100, fill=black!00, inner sep=2pt, minimum width=2pt] (23) at (16,0) {};
\node[circle, draw = black!100, fill=black!00, inner sep=2pt, minimum width=2pt] (24) at (16,-2) {};
\node[circle, draw = black!100, fill=black!00, inner sep=2pt, minimum width=2pt] (25) at (16,-4) {};
\draw[-] (13) edge (16) ;
\draw[-] (16) edge (17) ;
\draw[<-] (16) edge[bend left] (17) ;
\draw[-] (16) edge (18) ;
\draw[->] (16) edge[bend right] (18) ;
\draw[-] (17) edge (19) ;
\draw[<-] (17) edge[bend right] (19) ;
\draw[-] (18) edge (20) ;
\draw[<-] (18) edge[bend right] (20) ;
\draw[decorate] (19) -- (21) ;
\draw[-] (19) edge (22) ;
\draw[<-] (19) edge[bend left] (22) ;
\draw[-] (19) edge (23) ;
\draw[<-] (20) edge (24) ;
\draw[decorate] (20) -- (25) ;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{automata,positioning}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]
\node[state,initial] (q_0) {$q_0$};
\node[state] (q_1) [above right=of q_0] {$q_1$};
\node[state] (q_2) [below right=of q_0] {$q_2$};
\node[state,accepting](q_3) [below right=of q_1] {$q_3$};
\path[->]
(q_0) edge [bend left, above] node {c,d} (q_1)
edge [bend left, above] node [swap] {a,b} (q_2)
(q_1) edge node {c,d} (q_3)
edge [loop above] node {b} ()
edge [bend left, above] node {a} (q_0)
(q_2) edge node [swap] {a} (q_3)
edge [loop below] node {c} ()
edge [bend left, above] node {b} (q_0)
edge [bend right,left] node {d} (q_1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[inner sep=.43mm,scale=1.7]
\node(1a)at(-.6,.4)[circle,draw,fill=yellow]{$\theta$};
\node(1b)at(-.6,-.4)[circle,draw,fill=yellow]{$\eta_1$};
\node(2)at(0,0)[circle,draw,fill=yellow]{$\alpha_1$};
\node(3)at(1,0)[circle,draw,fill=yellow]{};
\node(4)at(2,0)[circle,draw,fill=yellow]{$\alpha_3$};
\node(5)at(4,0)[circle,draw,fill=yellow]{};
\node(6)at(5,0)[circle,draw,fill=yellow]{$\alpha_k$};
\node(7a)at(5.6,.4)[circle,draw,fill=yellow]{$\eta_2$};
\node(7b)at(5.6,-.4)[circle,draw,fill=yellow]{$\eta_3$};
\path(1a)edge(2)(1b)edge(2)(2)edge(3)(3)edge(4)(5)edge(6)(6)edge(7a)(6)edge(7b);
\draw[dotted,thick](2.4,0)--(3.6,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotsset{
table/search path={.,plotdata}
}
\pgfplotstableread{
dof l2_err level
5 8.312e-02 2
17 2.547e-02 3
49 7.407e-03 4
129 2.102e-03 5
321 5.874e-04 6
769 1.623e-04 7
1793 4.442e-05 8
4097 1.207e-05 9
9217 3.261e-06 10
}\datadatadB
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}[
tiny,
]
\addplot table {\datadatadB}
node [pos=1, pin=0:Special.] {}
;
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}\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}
, new/.style={color=orange,line width=.2pt}, label angle style/.append style={color=teal,font=\footnotesize}, label style/.append style={below,color=teal,font=\scriptsize}, line style/.style={line width=.2pt}}
\begin{document}

\begin{tikzpicture}
\tkzInit[xmin=-1,xmax=3,ymin=-1,ymax=2]\tkzClip[space=1]\tkzDefPoint(0,0){A}\tkzDefPoint(2,1){B}\tkzDefPoint(3,0){C}\tkzDrawSegments(A,B B,C)\tkzDrawPoints(A,B,C)\tkzLabelPoints(A,C)\tkzLabelPoints[above](B)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw(0,0)--++(1,0)to[R]++(3,0)to[iloop2,name=I]++(0,-2)node[ground]{};
\ctikzset{bipoles/oscope/width=1.6,bipoles/oscope/height=1.2}\node[oscopeshape,fill=green!10](O)at(6,2){};
\node[bnc,xscale=-1,anchor=zero](bnc1)at(O.in 1){};
\node[bnc,anchor=zero,rotate=-90](bnc2)at(O.in 2){};
\draw[-latexslim](bnc1.hot)-|(1,0);
\draw(bnc2.hot)|-(I.i+);
\draw(I.i-)node[ground,scale=0.5]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [data cs=polarrad,domain=0:2*pi] (\x,1);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{calc,fadings}
\def\Rc{3.0}
\def\Rh{\Rc*0.1}
\begin{document}
\begin{tikzpicture}
\filldraw[ball color=white] (0,0) circle (\Rc);
\filldraw[ball color=black] (0,0) circle (\Rh);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[node distance = 2cm, auto]
\node (F) {$F$};
\node (K1) [above of=F, left of=F, node distance=1cm] {$K_1$};
\node (E1) [above of=K1,left of =K1, node distance=1cm] {$E_1$};
\node (E2) [above of=F, right of=F,node distance=1cm] {$E_2$};
\node (K1E2) [above of=F, node distance = 2cm] {$K_1E_2$};
\node (E1E2) [above of=K1E2, left of =K1E2,node distance = 1cm] {$E_1E_2$};
\draw (F)--(K1);
\draw (F)--(E2);
\draw (K1)--(K1E2);
\draw (K1E2)--(E1E2);
\draw (E2)--(K1E2);
\draw (K1)--(E1);
\draw (E1)--(E1E2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american voltages]
\draw (0,1) to[R, v=$v_1$, i=$i_1$] ++(2,0);
\ctikzset{voltage/american label distance=0.5}
\draw (0,0) to[R, v=$v_1$, i=$i_1$] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [
blue,
quiver={u=1,v=2*x},
-stealth,
samples=15,
] {x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{amsmath,tikz}
\usetikzlibrary{patterns,matrix,arrows,positioning}
\begin{document}
\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=3cm,thick,main node/.style={circle,fill=RoyalBlue!90!green!80,draw,font=\sffamily\Large\bfseries}]
\node[main node] [label=above:Cause](1) {Y};
\node[main node] [label=above:Effect](2) [right of=1] {X};
\node(3)[below=2cm of 1] {$N_X$};
\node(4)[below=2cm of 2] {$N_Y$};
\path[every node/.style={font=\sffamily\small}] (1) edge [right] node[below right] {$\varphi$} (2) (2) edge [bend right,color=orange] node[above] {$\varphi^{-1}$} (1) (3) edge [color=red] node[right] {id} (1) (4) edge[color=blue] (2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,margin=3mm]{standalone}
\usetikzlibrary{arrows.meta,chains,positioning,shadows}
\begin{document}
\begin{tikzpicture}[node distance=7mm and 0mm,start chain=A going right,box/.style={rectangle,draw,fill=#1,minimum height=7mm,outer sep=0pt,font=\bfseries\sffamily,text=white,drop shadow,on chain=A},box/.default=black!30!blue!50,lbl/.style={anchor=north,align=center,inner ysep=2pt,font=\sffamily\footnotesize\linespread{0.8}\selectfont},arr/.style={draw=purple,-Triangle,ultra thick},every edge/.style={arr}]
\node[box=olive]{PROJ\_NUM};
\node[box]{PROJ\_NAME};
\node[box=olive]{EMP\_NUM};
\node[box]{EMP\_NAME};
\node[box]{JOB\_CLASS};
\node[box]{CHG\_HOUR};
\node[box]{HOURS};
\coordinate[above=of A-2](aux1);
\coordinate[above=of aux1](aux2);
\coordinate[below=of A-2](aux3);
\coordinate[below=of aux3](aux4);
\draw[arr](A-1)|-(aux1)-|(A-3);
\draw[arr](aux2)-|(A-7);
\draw(aux2)edge(A-2)(aux2-|A-4)edge(A-4)(aux2-|A-5)edge(A-5)(aux2-|A-6)edge(A-6);
\draw[arr](A-1)|-node[lbl,pos=0.75]{Partial\\ dependancy}(aux3)--(A-2);
\draw[arr](A-3)--(A-3|-aux4)-|node[lbl,pos=0.25]{Partial dependancy}(A-7);
\draw(aux4-|A-4)edge(A-4)(aux4-|A-5)edge(A-5)(aux4-|A-6)edge(A-6);
\draw[arr]([xshift=5mm]A-5.south)--([xshift=5mm]A-5.south|-aux3)-|node[lbl,pos=0.25]{Transitive\\ dependancy}([xshift=-5mm]A-6.south);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph [branch right=7mm, grow down=7mm] { a -> b -> {c, d, e}};
\end{document}