AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,centernot}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tikzpicture}[scale=2]
\node[] (r) at (0, 2) {$(d)$};
\node[] (y0) at (0, 0) {$Y_0$};
\node[draw,circle] (u) at (1, 1) {$U$};
\node[] (y1) at (2, 0) {$Y_1$};
\node[] (r) at (0, -1) {$R$};
\path[->,dashed] (u) edge node {} (y0);
\path[->,dashed] (u) edge node {} (y1);
\path[->,dashed] (u) edge node {} (r);
\path[->] (y0) edge node {} (y1);
\path[<->,dashed] (y0) edge [bend left] node {} (y1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig[bond offset=0pt]{A-B}
\vspace{6pt}
\chemfig[bond offset=5pt]{A-B}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{Cl-Cl}
\vspace{6pt}
\chemfig[fixed length=true]{Cl-Cl}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
fillbetween
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [name path=A,samples=7,smooth,domain=0:1]
{sin(360*x)};
\addplot+ [name path=B,samples=15,domain=0:1]
{cos(360*x)};
\addplot [orange] fill between [of=A and B];
\end{axis}
\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}[scale=1]
\tkzDefPoint(0,0){A} \tkzDefPoint(3,0){B} \tkzDefSquare(A,B) \tkzGetFirstPoint{C} \tkzDrawSegment(A,B) \tkzDrawSegments[new](A,C B,C) \tkzMarkRightAngles(A,B,C) \tkzDrawPoints(A,B) \tkzDrawPoint[new](C) \tkzLabelPoints(A,B) \tkzLabelPoints[new,above](C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\begin{document}
\begin{tikzpicture}
\foreach \shiftX/\shiftY/\k in {0/0/1, 5/0/2, 10/0/3, 0/-4/4, 5/-4/5, 10/-4/6} {
\begin{scope}[shift={(\shiftX,\shiftY)}]
\foreach \j in {1,2,3,4} {
\coordinate (u\j) at (\j-1,1);
\coordinate (v\j) at (\j-1,-1);
}
\ifnum\k=1
\draw[dashed] (v1)--(u2) (u1)--(v2);
\fi
\ifnum\k=2
\draw[dashed] (u1)--(v3) (u1)--(v4);
\draw[blue] (v1)--(u2);
\draw[red] (u1)--(v2);
\fi
\ifnum\k=3
\draw[dashed] (v1)--(u3) (v1)--(u4);
\draw[blue] (v1)--(u2) (u1)--(v4);
\draw[red] (u1)--(v2) (u1)--(v3);
\fi
\ifnum\k=4
\draw[dashed] (u2)--(v4) (u4)--(v4);
\draw[blue] (v1)--(u2) (u1)--(v4) (v1)--(u4);
\draw[red] (u1)--(v2) (u1)--(v3) (v1)--(u3);
\fi
\ifnum\k=5
\draw[dashed] (u4)--(v2) (u4)--(v3);
\draw[blue] (v1)--(u2) (u1)--(v4) (v1)--(u4) (u4)--(v4);
\draw[red] (u1)--(v2) (u1)--(v3) (v1)--(u3) (u2)--(v4);
\fi
\ifnum\k=6
\draw[blue] (v1)--(u2) (u1)--(v4) (v1)--(u4) (u4)--(v4) (u4)--(v3);
\draw[red] (u1)--(v2);
\draw[red, very thick] (u1)--(v3) (v1)--(u3) (u2)--(v4) (u4)--(v2);
\fi
\foreach \j in {1,2,3,4} {
\fill (u\j) circle (2pt) node[above] {$u_\j$};
\fill (v\j) circle (2pt) node[below] {$v_\j$};
}
\end{scope}
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes,chains}
\begin{document}
\begin{tikzpicture}[thin]
[node distance=1cm,on grid]\node[circle,inner sep=0.5mm,draw=black,fill=black](v)at(0,0) [label=left:$k$] {};
\node[circle,inner sep=0.5mm,draw=black,fill=black](u1)at(4,2) [label=right:$v_1:$] {};
\node[circle,inner sep=0.5mm,draw=black,fill=black](u2)at(4,0.8) [label=right:$v_2:$] {};
\node[circle,inner sep=0.5mm,draw=black,fill=black](us)at(4,-2.22) [label=right:$v_s:$] {};
\node[circle,inner sep=0.15mm,draw=black,fill=black](i1)at(4,-0.5) {};
\node[circle,inner sep=0.15mm,draw=black,fill=black](i2)at(4,-0.72){};
\node[circle,inner sep=0.15mm,draw=black,fill=black](i3)at(4,-0.94) {};
\draw[thick,color=blue] (4,2) arc(102.53:130.60:9.220);
\draw[thick,color=blue] (4,0.8) arc(90:112.62:10.4);
\draw[thick,color=blue] (0,0) arc(270:292.62:10.4);
\draw[thick,color=blue] (4,-2.22) arc(42.51:79.38:7.236);
\draw[thick,color=blue] (0,0) arc(222.51:259.38:7.236);
\draw[thick,color=blue](v)to(us);
\draw[thick,<->,black] (2.34,1.21) arc(27.31:38.73:2.637);
\draw(2.1,1.9)node {$\alpha_1$};
\draw[thick,<->,black] (2.6,0) arc(0:22.62:2.6);
\draw(2.75,1)node {$\alpha_2$};
\draw[thick,<->,black] (2,-1.7) arc(319.64:342.26:2.625);
\draw(2.6,-0.6)node {$\alpha_s$};
\draw(-1.55,-0.03)node {$u:d_H(u)=$};
\draw(6.08,2.03)node {$d_H(v_1)=\ell_1$};
\draw(6.08,0.83)node {$d_H(v_2)=\ell_2$};
\draw(6.08,-2.19)node {$d_H(v_s)=\ell_s$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[z=-1cm,->,thick]
\draw[color=red] (0,0,0) -- (1,0,0);
\draw[color=blue] (0,0,0) -- (0,1,0);
\draw[color=orange] (0,0,0) -- (0,0,1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-cd}
\usepackage{amssymb, amsmath}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (101,111) -- (317,111) -- (317,221) -- (101,221) -- cycle ;
\draw (100,112) .. controls (95.33,112) and (93,114.33) .. (93,119) -- (93,156) .. controls (93,162.67) and (90.67,166) .. (86,166) .. controls (90.67,166) and (93,169.33) .. (93,176)(93,173) -- (93,213) .. controls (93,217.67) and (95.33,220) .. (100,220) ;
\draw (99,220) .. controls (99,224.67) and (101.33,227) .. (106,227) -- (197,227) .. controls (203.67,227) and (207,229.33) .. (207,234) .. controls (207,229.33) and (210.33,227) .. (217,227)(214,227) -- (308,227) .. controls (312.67,227) and (315,224.67) .. (315,220) ;
\draw [color={rgb, 255:red, 208;
green, 2;
blue, 27 } ,draw opacity=1 ][line width=1.5] (130,112) -- (130,220) ;
\draw [color={rgb, 255:red, 10;
green, 61;
blue, 121 } ,draw opacity=1 ][line width=1.5] (101,180) -- (316,180) ;
\draw (75,157) node [anchor=north west][inner sep=0.75pt] [align=left] {$b$};
\draw (202,234) node [anchor=north west][inner sep=0.75pt] [align=left] {$a$};
\draw (132,136.4) node [anchor=north west][inner sep=0.75pt] [color={rgb, 255:red, 208;
green, 2;
blue, 27 } ,opacity=1 ] {$A$};
\draw (268,161.4) node [anchor=north west][inner sep=0.75pt] [color={rgb, 255:red, 12;
green, 48;
blue, 90 } ,opacity=1 ] {$B$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb, amsmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{backgrounds}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}[/tikz/background rectangle/.style={fill={rgb,1:red,1.0;green,1.0;blue,1.0}, fill opacity={1.0}, draw opacity={1.0}}, show background rectangle]
\begin{axis}[
legend cell align={left},
legend style={at={(0.98, 0.98)}, anchor={north east}, font={\fontsize{18pt}{10.4pt}\selectfont}, line width=1pt, draw opacity=1.0},
axis background/.style={fill=white},
xshift=1.0mm, yshift=-1.0mm,
width=150.4mm, height=99.6mm,
xlabel={Time in s},
xlabel style={at={(ticklabel cs:0.5)}, anchor=near ticklabel, font={\fontsize{26pt}{14.3pt}\selectfont}},
xmode=log, log basis x={10},
xmajorgrids=true,
xmin=0.002249, xmax=7.882259,
xtick={0.01, 0.1, 1.0},
xticklabels={$10^{-2}$,$10^{-1}$,$10^{0}$},
xticklabel style={font={\fontsize{18pt}{10.4pt}\selectfont}},
x grid style={black, draw opacity=0.1, line width=0.5},
axis x line*=left,
x axis line style={line width=1pt},
ylabel={Reconstruction error},
ylabel style={at={(ticklabel cs:0.5)}, anchor=near ticklabel, font={\fontsize{26pt}{14.3pt}\selectfont}},
ymode=log, log basis y={10},
ymajorgrids=true,
ymin=1.374e-5, ymax=9.714e-5,
ytick={1.778279e-5, 3.162277e-5, 5.623413e-5},
yticklabels={$10^{-4.75}$,$10^{-4.50}$,$10^{-4.25}$},
yticklabel style={font={\fontsize{18pt}{10.4pt}\selectfont}},
y grid style={black, draw opacity=0.1, line width=0.5},
axis y line*=left,
y axis line style={line width=1pt}
]
\addplot[color={rgb,1:red,0.0;green,0.6056;blue,0.9787}, line width=2pt, mark=*, mark size=3.0pt]
table[row sep=\\] {
0.00283341 2.10402e-5 \\ 0.00373799 1.95537e-5 \\ 0.00841938 1.90954e-5 \\
0.01018101 1.83609e-5 \\ 0.01894462 1.83739e-5 \\ 0.03130893 1.61641e-5 \\
0.03842680 1.48929e-5 \\ 0.08536121 1.51342e-5 \\ 0.12877814 1.46528e-5 \\
0.20646168 1.45290e-5 \\
};
\addlegendentry{MTSF}
\addplot[color={rgb,1:red,0.8889;green,0.4356;blue,0.2781}, line width=2pt, mark=*, mark size=3.0pt]
table[row sep=\\] {
0.01323825 1.45339e-5 \\ 0.01119239 1.46663e-5 \\ 0.01843389 1.47429e-5 \\
0.02135681 1.46203e-5 \\ 0.02928197 1.46904e-5 \\ 0.03129663 1.46545e-5 \\
0.05138992 1.46515e-5 \\ 0.07041374 1.46178e-5 \\ 0.14232767 1.46559e-5 \\
0.22315145 1.46441e-5 \\
};
\addlegendentry{MTSF+GS}
\addplot[color={rgb,1:red,0.7644;green,0.4441;blue,0.8243}, line width=2pt, mark=*, mark size=3.0pt]
table[row sep=\\] {
0.00809542 6.40472e-5 \\ 0.01774491 6.18611e-5 \\ 0.02247860 3.23603e-5 \\
0.03980310 1.46712e-5 \\ 0.07672043 1.46350e-5 \\ 0.10974329 1.46335e-5 \\
0.09112879 1.46335e-5 \\ 0.10279073 1.46335e-5 \\ 0.10555339 1.46335e-5 \\
0.09911791 1.46335e-5 \\
};
\addlegendentry{$\mathsf{D}^{-1}$+CG}
\addplot[color={rgb,1:red,0.0;green,0.6658;blue,0.681}, line width=2pt, dotted, forget plot]
table[row sep=\\] {
6.256480 1.94368e-6 \\ 6.256480 0.0006867 \\
};
\addplot[color={rgb,1:red,0.9308;green,0.3675;blue,0.5758}, line width=2pt, dotted]
table[row sep=\\] {
6.41696e-7 1.46335e-5 \\ 27625.57 1.46335e-5 \\
};
\addlegendentry{EXACT}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{fp}
\usepackage{tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions,plotmarks}
\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 scatter/.list={1,2,3,4,5,6,7,8},example visualization,style sheet=cross marks] data group {sin functions};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsthm,amsfonts,amssymb,amsmath,epsf, verbatim}
\usepackage{tikz}
\usetikzlibrary{graphs}
\usetikzlibrary{graphs.standard}
\begin{document}
\begin{tikzpicture}[node distance = {25mm}, thick, main/.style = {draw, circle}]
\node[main] (1) {1};
\node[main] (2) [right of=1] {4};
\node[main] (3) [right of=2] {3};
\node[main] (4) [right of=3] {1};
\draw (1) -- (2);
\draw (2) -- (3);
\draw (3) -- (4);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph[branch down=5mm]{ { [fresh nodes] a -> { b -> {c, c}, b -> {c, c}, b -> {c, c}, } }, b' -- b'' };
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [name path=A] {x^3};
\draw [red, name path=HelperLine]
(axis cs:-6,-100) -- (axis cs:6,130);
\draw [
font=\footnotesize,
name intersections={of=A and HelperLine},
]
node [pin={right:
\pgfplotspointgetcoordinates{(intersection-1)}
$(\pgfmathprintnumber[fixed]{
\pgfkeysvalueof{/data point/x}},
\pgfmathprintnumber[fixed]{
\pgfkeysvalueof{/data point/y}})$
}
] at (intersection-1) {}
node [pin={
\pgfplotspointgetcoordinates{(intersection-2)}
$(\pgfmathprintnumber[fixed]{
\pgfkeysvalueof{/data point/x}},
\pgfmathprintnumber[fixed]{
\pgfkeysvalueof{/data point/y}})$
}
] at (intersection-2) {};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A_1B^2-C _ 3 ^ 4}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) -- ++(1,0) to[R] ++(3,0)
to [iloop, mirror, name=I] ++(0,-2)
node[ground] (GND){};
\draw (1,0) to[oscope, v=$v$] ++(0,-2)
node[ground]{};
\draw (I.i) -- ++(-0.5,0) node[oscopeshape, anchor=right, name=O]{};
\draw (O.south) -- (O.south |- GND) node[ground]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot coordinates {
(0,1) (1,2) (0,3) (-1,2)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{chains}
\begin{document}
\begin{tikzpicture}[start chain,node distance=5mm]
\node[draw,on chain]{};
\node[draw,on chain]{Hallo};
\node[draw,on chain]{Welt};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt,cram width=2pt}
\begin{document}
\chemfig{A^{++}_{2}-[,2]B^{-}_3}\vspace{6pt}\chemfig{A-B-[,2]C=[,0.5]D}\vspace{6pt}\chemfig{-=[,1.5]-[,0.75]=[:-20,2]}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\pgfplotsset{yticklabel style={/pgf/number format/fixed,/pgf/number format/precision=3}
,scaled y ticks=false}
\begin{axis}[scale=0.6,ybar,x=2cm,enlargelimits=0.15,legend style={at={(1.8,1.25)},anchor=north,legend columns=-1},ylabel={Avg no of signaling messages},symbolic x coords={SC additions, SC changes, SC releases},xtick=data,x tick label style={rotate=45}]
\addplot[gray!60!gray,fill=gray!40!white]coordinates{(SC additions,0.00873)(SC changes,0.01449)(SC releases,0.00467)};
\addplot[orange!20!orange,fill=orange!80!white]coordinates{(SC additions,0.002911)(SC changes,0.00579)(SC releases,0.00233)};
\legend{Legacy Architecture, Proposed Architecture}
\end{axis}
\begin{axis}[xshift=4cm,scale=0.6,ybar,x=2cm,enlargelimits=0.15,symbolic x coords={SC additions, SC changes, SC releases},xtick=data,x tick label style={rotate=45}]
\addplot[gray!60!gray,fill=gray!40!white]coordinates{(SC additions,0.06687)(SC changes,0.1445)(SC releases,0.0434)};
\addplot[orange!20!orange,fill=orange!80!white]coordinates{(SC additions,0.02229)(SC changes,0.0578)(SC releases,0.0217)};
\end{axis}
\begin{axis}[xshift=8cm,scale=0.6,ybar,x=2cm,enlargelimits=0.15,symbolic x coords={SC additions, SC changes, SC releases},xtick=data,x tick label style={rotate=45}]
\addplot[gray!60!gray,fill=gray!40!white]coordinates{(SC additions,0.12846)(SC changes,0.29216)(SC releases,0.0846)};
\addplot[orange!20!orange,fill=orange!80!white]coordinates{(SC additions,0.04282)(SC changes,0.11686)(SC releases,0.0423)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, i=1<\milli\ampere>] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph [clockwise, clique] { subgraph I_n [n=4] };
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amssymb, amsmath}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{snakes}
\usetikzlibrary{intersections, calc}
\begin{document}
\begin{tikzpicture}
\begin{scope}[xshift=150, xscale=1.2, yscale=1.2]\fill (0,0) circle (1pt);
\node[below] at (0,0) {$p$};
\draw (0,0)--(1,1);
\node[above] at (1, 1) {$l_{p}^{1}$};
\draw (0,0)--(1,0);
\node[right] at (1,0) {$l_{p}^{2}$};
\draw (0,0)--(1.2,-1);
\node[below] at (1.2,-1) {$l_{p}^{3}$};
\draw (0,0)--(-1,-1.2);
\node[below] at (-1, -1.2) {$l_{p}^{4}$};
\draw (0,0)--(-1.2,0.4);
\node[left] at (-1.2, 0.4) {$l_{p}^{5}$};
\draw (0,0)--(-1,1.5);
\node[left] at (-1, 1.5) {$l_{p}^{6}$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\begin{document}
\begin{tikzpicture}[scale=0.65, ->, >=stealth', shorten >=1pt, auto, node distance=2cm, semithick, every node/.style={scale=.8}]
\node[initial, state] (0) {$l_0$};
\node[accepting, state](1) at (0,-3) {$l_1$};
\node[state](2) at (5.5,-1.5) {$l_2$};
\path (0) edge node[right, align=center] {$a,$ \\ $c_{1}> 1\wedge c_{2}> 1,$ \\ $\{c_2\}$} (1)
(1) edge[in= 240, out=120, color=black] node[left, black, align=center] {$a, 0 \leq c_{1} < 3\wedge c_{2} > 1,$ \\ $\{c_1,c_2\}$} (0)
(1) edge[loop below] node[left, align=center] {$b,$ \\ $c_{1}\geq 0 \wedge 0\leq c_{2}< 1,$ \\ $\{c_2\}$} (1)
(0) edge[in= 110, out=50, color=red] node[above, sloped, black] {$a, c_{1}> 1\wedge 0 \leq c_{2}\leq 1, \{c_1,c_2\}$} (2)
(0) edge[in= 140, out=10, color=red] node[above, sloped, black] {$a, 0\leq c_{1}\leq 1\wedge c_{2}\geq 0,\{c_1,c_2\}$} (2)
(0) edge[color=blue] node[above, sloped, black] {$b, c_{1}\geq 0\wedge c_{2}\geq 0, \{c_1,c_2\}$} (2)
(2) edge[in= 40, out=10,loop, color=blue] node[right, black, align=center, pos=0.7] {$a, c_{1}\geq 0\wedge c_{2}\geq 0,$ \\ $\{c_1,c_2\}$} (2)
(2) edge[in= 340, out=310,loop, color=blue] node[right, black, align=center, pos=0.7] {$b, c_{1}\geq 0\wedge c_{2}\geq 0,$ \\ $\{c_1,c_2\}$} (2)
(1) edge[in= 240, out=340, color=red] node[above, sloped, black] {$b, c_{1}\geq 0\wedge c_{2}\geq 1, \{c_1,c_2\}$} (2)
(1) edge[in= 220, out=0, color=red] node[above, sloped, black] {$a, c_{1} \geq 3 \wedge c_{2}\geq 0, \{c_1,c_2\}$} (2)
(1) edge[color=red] node[above, sloped, black] {$a, 0\leq c_{1} < 3\wedge c_{2}\leq 1, \{c_1,c_2\}$} (2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=3,ymin=0,ymax=5]
\pgfplotsextra{
\pgfpathmoveto{\pgfplotspointaxisxy{1}{2}}
\pgfpathlineto{\pgfplotspointaxisxy{2}{4}}
\pgfusepath{stroke}
}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}
\addplot+ [ restrict expr to domain={rawy}{1e0:1.5e1}, ] {exp(x)};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\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=south west outside,
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
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{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\draw[dotted,thick ](-6,0)--(-4.3,0);
\draw[dotted,thick,-latex](-2.3,0)--(-0.1,0) node[black,right]{\footnotesize Re$z$};
\node[below] at (-3.3,0) {\footnotesize $1$};
\draw [dotted,thick,teal](-3.3,0) circle (1.7);
\draw[red](-2.3,0)--(-1,0.9);
\draw [-latex,red] (-2.3,0)--(-1.65,0.45);
\draw [ red] (-4.3, 0)--(-5.6, 0.9);
\draw [-latex, red] (-5.6, 0.9)--(-4.95, 0.45);
\draw [ blue] (-2.3,0)--(-1, -0.9);
\draw [-latex,blue] (-2.3,0)--(-1.65,-0.45);
\draw [blue] (-4.3, 0)--(-5.6, -0.9);
\draw [-latex,blue] (-5.6,- 0.9)--(-4.95, -0.45);
\draw [thick,teal] (-4.3, 0)--(-2.3, 0);
\draw [thick,teal,-latex](-4.3, 0)--(-3.6,0);
\node[] at (-3.3,2.2) {\scriptsize $\partial \mathcal{U}_{r}$};
\node[below] at (-4.3,0) {\footnotesize $z_2$};
\node[below] at (-2.3,0) {\footnotesize $z_1$};
\node at (-5.6,1.2) {\scriptsize $\Sigma_{2}$};
\node at (-5.6,-1.2) {\scriptsize $\overline{\Sigma}_{2}$};
\node at (-1,1.2) {\scriptsize $\Sigma_{1}$};
\node at (-1,-1.2) {\scriptsize $\overline{\Sigma}_{1}$};
\node at (-5.5,0.3) {\scriptsize $\Omega_{2}$};
\node at (-5.5,-0.3) {\scriptsize $\overline{\Omega}_{2}$};
\node at (-1,0.3) {\scriptsize $\Omega_{1}$};
\node at (-1,-0.3) {\scriptsize $\overline{\Omega}_{1}$};
\draw [dotted, -> ] (-1.6, 0) to [out=90, in=0] (-3.3, 1.7);
\node[shape=circle,fill=black, scale=0.15] at (-3.3,0){0} ;
\node[shape=circle,fill=black,scale=0.15] at (-2.3,0) {0};
\node[shape=circle,fill=black,scale=0.15] at (-4.3,0) {0};
\draw[dotted,thick,-latex](0.9,0)--(7,0)node[black,right]{\footnotesize Re$k$};
\node[below] at (4,0) {\footnotesize $0$};
\draw [dotted,thick,teal](4,0) circle (1.9);
\draw [thick,teal] (2.9, 0)--(5.1, 0);
\draw [thick,teal,-latex](2.9, 0)--(3.6,0);
\node[shape=circle,fill=black, scale=0.15] at (4,0){0} ;
\node[shape=circle,fill=black,scale=0.15] at (2.9,0) {0};
\node[shape=circle,fill=black,scale=0.15] at (5.1,0) {0};
\draw[red](5.1,0)--(7.1,1.5);
\draw [-latex,red] (5.1,0)--(6.1,0.75);
\draw [ red] (2.9, 0)--(0.9, 1.5);
\draw [-latex, red] (2.9, 0)--(1.9, 0.75);
\draw[blue](5.1,0)--(7.1,-1.5);
\draw [-latex,blue] (5.1,0)--(6.1,-0.75);
\draw [blue] (2.9, 0)--(0.9,- 1.5);
\draw [-latex, blue] (2.9, 0)--(1.9, -0.75);
\node[below] at (2.9,0) {\footnotesize $k_2$};
\node[below] at (5.1,0) {\footnotesize $k_1$};
\node[] at (4.3, 2.2) {\scriptsize $\partial \hat{\mathcal{U}}_{r}$};
\node at (6,1.4) {\footnotesize $\hat{\Sigma}_1$};
\node at (6,-1.4) {\footnotesize $\hat{\overline{\Sigma}}_1$};
\node at (2,1.4) {\footnotesize $\hat{\Sigma}_2$};
\node at (2,-1.4) {\footnotesize $\hat{\overline{\Sigma}}_2$};
\node at (6.2,0.35) {\scriptsize $\hat{\Omega}_1$};
\node at (6.2,-0.35) {\scriptsize $\hat{\overline{\Omega}}_1$};
\node at (1.8,0.35) {\scriptsize $\hat{\Omega}_2$};
\node at (1.8,-0.35) {\scriptsize $\hat{\overline{\Omega}}_2$};
\draw [dotted, -> ] (5.9, 0) to [out=90, in=0] (4, 1.9);
\node at (-3.3, -2.5 ) { $ (a)$};
\node at (4, -2.5 ) { $ (b)$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs,graphs.standard}
\tikzset{>=stealth}
\begin{document}
\tikz\graph[color class=red,clockwise,n=5]{[clique=red,->]a,b[red],c[red],d,e[red]};
\end{document}