AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,backgrounds,calc,positioning,automata,snakes}
\usepackage{amsmath,amssymb,amsthm,graphicx,caption}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,initial text=]
\tikzstyle{every state}=[draw=black!50,very thick]
\tikzset{every state/.style={minimum size=0pt}
}\tikzstyle{accepting}=[accepting by arrow]
\node(1) {$b_u$};
\node(2)[right of=1,xshift=-8mm]{1};
\draw[blue,->,very thick] (1)--node[midway,black,yshift=2mm]{1}(2);
\node(3)[below of=1,yshift=5mm]{$2$};
\node[teal,left of=3,xshift=1.5cm]{$\frac{2}{1+2\delta}$};
\node(4)[right of=3,xshift=-4mm]{3};
\node(5)[right of=4,xshift=-8mm]{4};
\draw[blue,->,very thick] (4)--node[midway,black,yshift=2mm]{1}(5);
\draw[orange,->,very thick,snake=snake] (3)--node[midway,black,yshift=4mm,xshift=3mm]{$\frac{2}{1+2\delta}$}(4);
\path[orange,->,draw,dashed,thick] (1) -- ($ (3) !.5! (4) $);
\node(6)[below of =3,xshift=4mm]{5};
\node(7)[right of=6,xshift=-3mm]{6};
\draw[orange,->,very thick,snake=snake](6)--node[midway,black,yshift=4mm,xshift=-3mm]{$\frac{1+2\delta}{4\delta}$}(7);
\node[teal,left of=6,xshift=1.5cm]{$\frac{1+2\delta}{4\delta}$};
\node(8)[right of=7,xshift=-8mm]{7};
\draw[blue,->,very thick] (7)--node[midway,black,yshift=2mm]{1}(8);
\path [orange,->,draw,dashed,thick] (4) -- ($ (6) !.5! (7) $);
\node(9)[below of =6]{8};
\node[teal,left of=9,xshift=1.7cm]{1};
\node(10)[right of=9,xshift=-4mm]{$b_w$};
\draw[orange,->,very thick,snake=snake] (9)--node[midway,black,yshift=3mm]{1}(10);
\node(11)[right of =10,xshift=-8mm]{9};
\draw[blue,->,very thick] (10)--node[midway,black,yshift=2mm]{1}(11);
\path [orange,->,draw,dashed,thick] (7) -- ($ (9) !.5! (10) $);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{
every picture/.style={line width=.2pt},
label style/.append style={below,color=teal,font=\scriptsize}
}
\begin{document}
\begin{tikzpicture}[scale=1.2]
\tkzDefPoints{1/3/A,4/2/B}
\tkzDefPointWith[linear normed](A,B)
\tkzGetPoint{C}
\tkzDrawPoints[color=red](A,B,C)
\tkzDrawSegment(A,B)
\tkzLabelSegment(A,C){$1$}
\tkzLabelPoints[above right=3pt](A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{3d, angles, quotes}
\begin{document}
\begin{tikzpicture}[axes/.style={thick,->},
z={(.5,{.5*sqrt(3)})},
y={({.5*sqrt(3)},-.5)},
x={(0,-.5,{.5*sqrt(3)})}]
\draw[axes] (0,0,0) coordinate (O) -- (6,0,0) coordinate (X) node [right]{$x$};
\draw[axes] (O) -- (0,6,0) node [above]{$y$};
\draw[axes,<->] (0,0,-6) coordinate (Z') node [below left] {$-z$}
-- (0,0,6) coordinate (Z) node [above right] {$z$} ;
\pgfmathsetmacro{\sourcex}{5}
\pgfmathsetmacro{\sourcey}{5}
\pgfmathsetmacro{\sourcez}{-2}
\coordinate (Source) at (\sourcex,\sourcey,\sourcez);
\coordinate (Source on xz) at (\sourcex,0,\sourcez);
\begin{scope}[canvas is yz plane at x=0]
\coordinate (SIM) at (-38:4);
\end{scope}
\draw[dotted] (\sourcex,0,\sourcez) -- (Source) -- (0,\sourcey,\sourcez);
\draw[dotted] (\sourcex,0,0) -- (Source on xz) -- (0,0,\sourcez);
\draw[dotted] (0,\sourcey,0) -- (0,\sourcey,\sourcez) -- (0,0,\sourcez);
\pic [draw,angle radius=.6cm,angle eccentricity=1.4,"$\phi$"]
{angle = X--O--Source on xz};
\pic [draw,angle radius=.5cm,angle eccentricity=1.5,"$\beta$"]
{angle = Z'--O--SIM};
\pic [draw,fill=white,angle radius=.7cm,angle eccentricity=.6,"$\theta$"]
{angle = SIM--O--Source};
\draw (O) -- (Source on xz);
\draw[->] (0,0,0) -- (Source) node[above right] {Source};
\draw[->] (0,0) -- (SIM) node[below] {Sim};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{matrix,positioning}
\begin{document}
\begin{tikzpicture}[scale=2]
\begin{scope}[every node/.style={minimum width={width("$v_{2m-1}$")+10pt}}]
\node[circle, draw] (A) at (0,0) {$v_0$};
\node[circle, draw] (B) at (1,0) {$v_1$};
\node[minimum width={10}] (C) at (1.75,0) {$\ldots$};
\node[circle, draw] (D) at (2.5,0) {$v_{2m-2}$};
\node[circle, draw] (E) at (3.5,0) {$v_{2m-1}$};
\end{scope}
\begin{scope}[every node/.style={scale=1.1}]
\end{scope}
\draw (A) -- (B);
\draw (B) -- (C);
\draw (C) -- (D);
\draw (D) -- (E);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[european, scale=0.7, transform shape,
circuitikz/resistors/scale=0.7]

\draw (0,0) to[C, o-*] ++(1,0) coordinate(in)
to[R, -*] ++(0,-3) coordinate(GND)
++(1,0) to[C, *-] ++(0,4) -- ++(1,0) coordinate(div)
to[R, *-*] ++(0,2) coordinate(vdd)
(div) to[R, -*] (div|-GND)
(in) -- ++(2.5,0) node[nigfetd, doublegate, anchor=G1](Q){Q}
(Q.G2) to[short, -*] (Q.G2-|div)
(Q.D) to[R, -*] (Q.D|-vdd)
(Q.D) to[C, *-o] ++(2,0) coordinate(out)
(Q.S) to[R, *-*] (Q.S|-GND) (Q.S) -- ++(1,0) coordinate(Sd)
(Sd) to[C, -*] (Sd |- GND);

\draw (0,0|-GND) -- (out|-GND) (0,0|-vdd) -- (out|-vdd);

\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=.7]
\coordinate (point) at (-0.5,3);
\fill (5.5,4) circle (8pt);
\fill (5.5,1) circle (8pt);
\coordinate [label=above:{$\frac{1}{p}(1,p-l^\prime)\,\,\,\,\frac{1}{p}(1,l^\prime)$}] (VFD) at (5.3,-0.3);
\coordinate [label=above:{$g=0,A$}] (VFE) at (5.6,-0.8);
\coordinate [label=below:{$\frac{1}{p}(1,l)\quad \, \, \frac{1}{p}(1,p-l)$}] (VCC) at (6,5);
\coordinate [label=below:{$g=0, A$}] (VCC2) at (5.5,5.7);
\draw [thick] (5.3,3.6) -- (5.3,1.4);
\draw [thick] (5.7,3.6) -- (5.7,1.4);
\coordinate [label=right:{$p$}] (c1) at (5.7,2.5);
\coordinate [label=left:{$p$}] (c2) at (5.3,2.5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [patch, shader=interp]
table [point meta=\thisrow{c}] {
x y c
0 0 0.2
1 1 0
2 0 1
1 1 0
2 0 -1
3 1 0
2 0 0.5
3 1 1
4 0 0.5
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{automata, positioning,arrows,shapes}
\begin{document}
\begin{tikzpicture}[initial text={},inner sep=1pt,minimum size=0mm]
\node[state,initial left](q0){$q_0$};
\node[state,right= of q0](q1){$q_1$};
\node[state,right= of q1](q2){$q_2$};
\node[state,right= of q2](q3){$q_3$};
\path[->,auto](q0) edge node[below]{$(1,0)$} (q1)(q0) edge[bend left] node{$(0,0)$} (q2)(q1) edge node[below]{$(0,1)$} (q2)(q2) edge[bend left] node{$(1,2)$} (q3)(q3) edge[bend left] node{$(2,4)$} (q2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.6]
\foreach \x in {0,1,2,...,19} {\node at (\x,0) {\(\bullet\)};}
\foreach \x in {1,...,13} {\node at (\x,1) {\(\cdot\)};}
\foreach \x in {1,...,6} {\node at (\x,2) {\(\cdot\)};}
\foreach \x in {0} {\node at (\x,3) {\(\bullet\)};}
\foreach \y in {1,2} {\node at (0,\y) {\(\bullet\)};}
\node at (7,2) {\(\ast\)};
\node at (20,0) {\(\ast\)};
\node at (1,3) {\(\circ\)};
\draw (0,0) -- (20,0) node[below] {\((20,0)\)} -- (7,2) -- (0,3) -- cycle;
\draw[dashed] (20,0) -- (8/3,8/3) node [midway,above,sloped] {\(e_3\), \small parallel to branch cut};
\node at (8/3,8/3) {\(\times\)};
\node at (2,2.8) [above] {\(e_2\)};
\node at (9.5,0) [below] {\(e_z\)};
\node at (0,1.5) [left] {\(e_y\)};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz \datavisualization [school book axes, visualize as line]
data point [x=1, y=1]
data point [x=1, y=2]
data point [x=2, y=2]
data point [x=2, y=0.5];
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\usetikzlibrary{arrows}
\tkzSetUpPoint[size=2]
\begin{document}
\begin{tikzpicture}[line width=.2pt,vect/.style={->,shorten >=1pt,>=latex'}]
\tkzDefPoints{1/1/A,4/2/B,2/2/C}\tkzDefPointWith[colinear=at C,K=sqrt(2)/2](A,B)\tkzGetPoint{D}\tkzDrawPoints[color=red](A,B,C,D)\tkzDrawSegments[vect](A,B C,D)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{color,amssymb,amsthm,amstext,latexsym,amsmath,amscd,amsfonts}
\usepackage{tikz}
\usepackage{tcolorbox}
\usepackage{tikz-cd}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=.7]
\coordinate (PP1) at (-5,3);
\fill (PP1) circle (4pt);
\coordinate (PP2) at (-5,0);
\fill (PP2) circle (4pt);
\coordinate (PP3) at (-6,1.5);
\fill (PP3) circle (4pt);
\coordinate (PP4) at (-4,1.5);
\fill (PP4) circle (4pt);
\draw[very thick](PP1) -- (PP3);
\draw[very thick](PP2) -- (PP3);
\draw[very thick](PP1) -- (PP4);
\draw[very thick](PP4) -- (PP2);
\coordinate[label=right:$m$] (AB) at ($(PP1)!0.5!(PP4)$);
\coordinate[label=left:$n$] (BC) at ($(PP1)!0.5!(PP3)$);
\coordinate[label=right:$n$] (AB) at ($(PP2)!0.5!(PP4)$);
\coordinate[label=left:$m$] (BC) at ($(PP2)!0.5!(PP3)$);
\coordinate[label=above:{$\frac{1}{c}(1,c-l^\prime)$}] (AB) at ($(PP1)$);
\coordinate[label=below:{$\frac{1}{c}(1,c-l)$}] (AB) at ($(PP2)$);
\coordinate[label=left:{$\frac{1}{c}(1,l^\prime)$}] (AB) at ($(PP3)$);
\coordinate[label=right:{$\frac{1}{c}(1,l)$}] (AB) at ($(PP4)$);
\draw[->, thick] (-2.2,1.5) to (-1.8,1.5);
\coordinate (PP1) at (1.2,3);
\fill (PP1) circle (4pt);
\coordinate (PP2) at (1.2,0);
\fill (PP2) circle (4pt);
\coordinate (PP3) at (0.2,1.5);
\fill (PP3) circle (4pt);
\coordinate (PP4) at (1.7,2.2);
\fill (PP4) circle (4pt);
\coordinate (PP5) at (1.7,.8);
\fill (PP5) circle (4pt);
\draw[very thick](PP1) -- (PP3);
\draw[very thick](PP2) -- (PP3);
\draw[very thick](PP2) -- (PP5);
\draw[very thick](PP1) -- (PP4);
\draw[very thick](PP4) -- (PP5);
\coordinate[label=right:$m$] (AB) at ($(PP1)!0.3!(PP4)$);
\coordinate[label=right:{$\quad \quad \quad \frac{m l +n}{c}$}] (AB) at ($(PP3)!0!(PP5)$);
\coordinate[label=left:$n$] (BC) at ($(PP1)!0.5!(PP3)$);
\coordinate[label=right:$n$] (AB) at ($(PP2)!0.3!(PP5)$);
\coordinate[label=left:$m$] (BC) at ($(PP2)!0.5!(PP3)$);
\coordinate[label=above:{$\frac{1}{c}(1,c-l^\prime)$}] (AB) at ($(PP1)$);
\coordinate[label=below:{$\frac{1}{c}(1,c-l)$}] (AB) at ($(PP2)$);
\coordinate[label=left:{$\frac{1}{c}(1,l^\prime)$}] (AB) at ($(PP3)$);
\coordinate[label=right:{$\frac{1}{l}(1,s)$}] (AB) at ($(PP5)$);
\draw[->, thick] (3.6,1.5) to (4,1.5);
\coordinate (PP1) at (7.3,3);
\fill (PP1) circle (4pt);
\coordinate (PP2) at (7.3,0);
\fill (PP2) circle (4pt);
\coordinate (PP3) at (6,1.5);
\fill (PP3) circle (4pt);
\coordinate (PP4) at (7.3,2.2);
\coordinate (PP5) at (7.3,.8);
\draw[very thick](PP1) -- (PP3);
\draw[very thick](PP2) -- (PP3);
\draw[very thick](PP2) -- (PP5);
\draw[very thick](PP1) -- (PP4);
\draw[very thick](PP4) -- (PP5);
\coordinate[label=right:{$\quad \quad \quad \frac{m l +n}{c}$}] (AB) at ($(PP3)!0!(PP5)$);
\coordinate[label=left:$n$] (BC) at ($(PP1)!0.4!(PP3)$);
\coordinate[label=left:$m$] (BC) at ($(PP2)!0.4!(PP3)$);
\coordinate[label=above:{$\frac{1}{l}(1,t)$}] (AB) at ($(PP1)$);
\coordinate[label=left:{$\frac{1}{c}(1,l^\prime)$}] (AB) at ($(PP3)$);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\tikzset{clip even odd rule/.code={\pgfseteorule}}
\begin{document}
\begin{tikzpicture}
\begin{scope}
\clip[clip even odd rule] (0,0) ellipse (2 and 1) (0,0) ellipse (3 and 2);
\fill[blue!20] (0,0) -- (0,3) -- (3,2) -- (1.36,0.75);
\end{scope}
\draw (0,0) ellipse (2 and 1);
\draw (0,0) ellipse (3 and 2);
\draw (0,0) ellipse (4 and 3);
\draw (0,1) -- (0,3);
\draw (0,-1) -- (0,-3);
\draw (2,0) -- (4,0);
\draw (-2,0) -- (-4,0);
\draw (1.36,0.75) -- (3.0,2);
\draw (-1.36,0.75) -- (-3.0,2);
\draw (1.36,-0.75) -- (3.0,-2);
\draw (-1.36,-0.75) -- (-3.0,-2);
\node at (1,1.4) {Here};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{pgfplots}
\pgfplotsset{compat=1.8}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar,
ylabel={Real-Valued Operations},
symbolic x coords={LSTM-FNN-DPA, LSTM-DPA-TA, DPA-FNN, TRFI-FNN, STA-FNN},
xtick=data,
ymode=log,
legend style={at={(0.48,1.2)}, anchor=north, legend columns=-1},
nodes near coords align={vertical},
width=\textwidth,
height=7cm,
grid=major,
cycle list = {red!70,blue!70,red!40,black!10}
]
\addplot+[fill] coordinates { (LSTM-FNN-DPA,13308800) (LSTM-DPA-TA, 12013600) (DPA-FNN,1085600) (TRFI-FNN, 559800) (STA-FNN, 481000) };
\addplot+[fill,text=black!10] coordinates { (LSTM-FNN-DPA,1144800) (LSTM-DPA-TA, 256000) (DPA-FNN,1033600) (TRFI-FNN, 459800) (STA-FNN, 457000) };
\legend{Multiplications/Divisions, Summations/Subtractions}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsthm,amssymb}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[scale = 0.7]
\node (a7) at (14,.5) [circle,draw,scale=0.6]{7};
\node (a6) at (14,1.75) [circle,draw,scale=0.6] {6};
\node (a5) at (15,2.75) [circle,draw,scale=0.6] {5};
\node (a4) at (17,2.75) [circle,draw,scale=0.6]{4};
\node (a3) at (18,1.75) [circle,draw,scale=0.6]{3};
\node (a2) at (18,.5) [circle,draw,scale=0.6] {2};
\node (a1) at (17,-.5) [circle,draw,scale=0.6] {1};
\node (a0) at (15,-.5) [circle,draw,scale=0.6] {0};
\draw (a5) -- (a0);
\draw (a5) -- (a6);
\draw (a5) -- (a7);
\draw (a6) -- (a7);
\node (b7) at (21,.5) [circle,draw,scale=0.6]{7};
\node (b6) at (21,1.75) [circle,draw,scale=0.6] {6};
\node (b5) at (22,2.75) [circle,draw,scale=0.6] {5};
\node (b4) at (24,2.75) [circle,draw,scale=0.6]{4};
\node (b3) at (25,1.75) [circle,draw,scale=0.6]{3};
\node (b2) at (25,.5) [circle,draw,scale=0.6] {2};
\node (b1) at (24,-.5) [circle,draw,scale=0.6] {1};
\node (b0) at (22,-.5) [circle,draw,scale=0.6] {0};
{\color{red}\draw (b3) -- (b2);
\draw (b3) -- (b1);
\draw (b3) -- (b5);
\draw (b3) -- (b6);
\draw (b6) -- (b2);
\draw (b6) -- (b1);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\node (i) at (0,0) {$I$};
\node (x) at (1.2,1) {$X$};
\node (xy) at (-1.2,1) {$X +_I Y$};
\node (xyz) at (-1.2,2.2) {$X +_I Y +_I Z$};
\node (q) at (3,0) {$Q$};
\node (qx) at (3,1) {$q^* X$};
\node (p) at (3,2.2) {$q^*X +_Q P$};
\node[gray] (sp) at (1.2,2.2) {$X +_I s^*P$};
\node (xw) at (0.2,1.5) {$X +_I W$};
\node (xyw) at (-2.8,1.5) {$X +_I Y +_I W$};
\path[->>]
(q) edge node[auto] {$q$} (i)
;
\path[dashed,->,gray]
(i) edge[out=5,in=120,shorten <=0.3cm] node[auto] {$s$} (q)
(sp) edge (xw)
(xyz) edge (xyw)
;
\path[gray]
(x) edge[right hook->] (sp)
;
\path
(x) edge[left hook->] (xw)
(xy) edge[left hook->] (xyw)
(x) edge[left hook->] (xy)
(xy) edge[right hook->] (xyz)
(qx) edge[right hook->] (p)
;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath,amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{automata,arrows,positioning,calc}
\begin{document}
\begin{tikzpicture}[->, auto, semithick, node distance=3.5cm]
\tikzstyle{every state}=[fill=white,draw=black,thick,text=black,scale=0.8]
\node[state] (S1) {$ S=0 $};
\node[state] (S2)[right of=S1] {$ S=1 $};
\node[state] (S3)[right of=S2] {$ S=2 $};
\path (S1) edge[out=160, in=200,looseness=5] node [above=0.25] {$ Z=0 $}(S1) edge[bend left] node [above] {$ Z=1 $} (S2) (S2) edge[bend left] node [above=0.1] {$ Z=0 $} (S1) edge[bend left] node [above] {$ Z=1 $} (S3) (S3) edge[bend left] node [above] {$ Z=0 $} (S1.300);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:30]R-(=[::+60]O)-[::-60]O-*6(--*6(=--*6(-*5(---(-(-[::+60]Me)-[::-60]-[::-60]-[::+60]-[::-60](-[::-60]Me)-[::+60]Me)-)-(-[::+0]Me)---)--)-(-[::+0]Me)---)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usepackage{tkz-tab}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts,amssymb,eucal,amsmath}
\begin{document}
\begin{tikzpicture}
\draw (-3/2, 0) node {\large\textbf{1}};
\draw (3/2, 0) node {\large\textbf{4}};
\draw (-3/2, -2) node {\large\textbf{2}};
\draw (3/2, -2) node {\large\textbf{3}};
\draw [blue,dashed, thick] (-3/2, 0) circle (0.25);
\draw [red,very thick] (-3/2, 0) circle (0.35);
\draw [blue,dashed, thick] (3/2, 0) circle (0.25);
\draw [red,very thick] (3/2, 0) circle (0.35);
\draw [blue,dashed, thick] (-3/2, -2) circle (0.25);
\draw [red,very thick] (-3/2, -2) circle (0.35);
\draw [blue,dashed, thick] (3/2, -2) circle (0.25);
\draw [red,very thick] (3/2, -2) circle (0.35);
\draw [red,very thick] (-1.2,0)--(1.2,0);
\draw [red,very thick] (-1.2,-2)--(1.2,-2);
\draw [blue,dashed, thick] (-3/2,-.3)--(-3/2,-1.7);
\draw [blue,dashed, thick] (3/2,-.3)--(3/2,-1.7);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=2]
\draw[thick,red]
(0,0) coordinate (a)
-- coordinate (ab) (1,.5) coordinate (b)
.. coordinate (bc) controls +(up:1cm) and +(left:1cm) .. (3,1) coordinate (c)
(0,1) -- (2,1) -- coordinate (x) (1,2) -- cycle;
\draw (a) node[below] {start part 1}
(ab) node[below right] {straight segment}
(b) node[right] {end first segment}
(c) node[right] {end part 1}
(x) node[above right] {part 2 (closed)};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2.5em,
bond offset=1pt,
compound sep=5em,
arrow offset=6pt,
}
\begin{document}
\schemestart[-90]
X\arrow
\chemup\{\chemfig{A-[1]B-[7]C}\chemdown\}
\arrow Y
\schemestop
\qquad
\schemestart[-90]
X\arrow
\chemup[\chemfig{A-[1]B-[7]C}\chemdown]
\arrow Y
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[y post scale=1]
\addplot {x};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[y post scale=2]
\addplot {x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5mm]{standalone}
\usetikzlibrary{graphs, graphs.standard}
\tikzset{
every node/.style={draw, circle, very thick},
marko/.style={fill=cyan!50, circle},
}
\begin{document}
\begin{tikzpicture}
\graph [simple, edges={thick}, n=5, radius=2cm, clockwise] {
1; 2; 3; 4[marko]; 5[marko];
subgraph C_n [n=5, name=A, radius=2cm];
subgraph I_n [V={a,b,c,d,e}, name=B, radius=1cm];
(A 5) --[blue] (A 4),
A 1 -- B a,
A 2 -- B b,
A 3 -- B c,
A 4 -- B d,
A 5 -- B e,
B a -- B c,
B a -- B d,
B b -- B e,
B b -- B d,
B e -- B c
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\begin{document}
\begin{tikzpicture}
\begin{axis}[footnotesize,xbar,width=12.0cm,height=6.8cm,enlarge y limits=0.01,enlargelimits=0.07,symbolic y coords={Language specific metrics, Status of dependencies, Microservice’s open file, SLA, Database latency, Endpoint success, Errors and exceptions, Threads, Database connections, Availability, Load balancing, Resource usage},xmin=20,xtick distance=5,xmax=71,ytick=data,nodes near coords,nodes near coords align={horizontal},every node near coord/.append style={font=\footnotesize}]\addplot coordinates {(71,Resource usage) (57,Load balancing) (56,Availability) (54,Database connections) (47,Threads) (46,Errors and exceptions) (44,Endpoint success) (35,Database latency) (33,Microservice’s open file) (33,SLA) (31,Status of dependencies) (23,Language specific metrics)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{trees,backgrounds,positioning}
\begin{document}
\begin{tikzpicture}[
show background rectangle,
background rectangle/.style={fill=gray!10},
every node/.style={draw,thick,anchor=west},
selected/.style={dashed,fill=red!30},
optional/.style={dashed,fill=gray!50},
grow via three points={one child at (0.5,-0.7) and two children at (0.5,-0.7) and (0.5,-1.4)},
edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}
]
\node (ca) {ca}
child { node {root-ca}
child { node {01.pem}}
child { node {02.pem}}
child { node {db} child { node {...}}}
child [missing] {}
child { node {private} child { node {root-ca.key}}}
}
child [missing] {} child [missing] {} child [missing] {} child [missing] {} child [missing] {} child [missing] {}
child { node {root-ca.crt}}
child { node {root-ca.csr}}
child { node {signing-ca}
child { node [selected]{01.pem}}
child { node {02.pem}}
child { node {db} child { node {...}}}
child [missing] {}
child { node {private} child { node {signing-ca.key}}}
}
child [missing] {} child [missing] {} child [missing] {} child [missing] {} child [missing] {}
child { node {root-ca.crt}}
child { node {root-ca.csr}};
\node [below=of ca.center |- current bounding box.south] {certs}
child { node {simple.org.crt}}
child { node {simple.org.csr}}
child { node [optional]{simple.org.key}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}
\node(O)at(0,0){$X$};
\node(D)at(1,1){$X_4$};
\node(C)at(1,-1){$X_3$};
\node(B)at(-1,-1){$X_2$};
\node(A)at(-1,1){$X_1$};
\draw[latex-,red](O)--(D);
\draw[latex-,red](O)--(B);
\draw[latex-,red](C)--(O);
\draw[latex-,red](A)--(O);
\draw[latex-,red](D)--(C);
\draw[latex-,red](B)--(A);
\end{tikzpicture}
\end{document}
\documentclass[tikz,12pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepackage{fouriernc}
\begin{document}
\begin{tikzpicture}[
declare function={
f(\x)=0.5*\x^3+1.5*\x^2-4;
g(\x)=-2*\x^2+8*\x-2;
}
]
\begin{axis}[
axis equal image,
width=10cm,
grid=major,
axis lines=middle,
axis line style={very thick},
grid style={gray!30},
ymin=-5, ymax=7,
xmin=-2.5, xmax=4.2,
yticklabels={}, xticklabels={},
ylabel=$y$, xlabel=$x$,
samples=500
]
\addplot[blue, very thick, domain=-3:2, smooth]{f(x)};
\addplot[blue, very thick, domain=2:4.2, smooth]{g(x)};
\node[above] at (-2, 0) {$-2$};
\node[below left] at (0,-4) {$-4$};
\node[below left] at (0,-2) {$-2$};
\node[left] at (0,6) {$6$};
\node[below right] at (0, 0) {$O$};
\node[above] at (4, 0) {$4$};
\node[below] at (2, 0) {$2$};
\draw[dashed, thick] (2,0) -- (2,6) -- (0,6)
(-2,0) -- (-2,-2) -- (4,-2) -- (4,0);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
surf,
shader=interp,
samples=10,
domain=0:1,
] {x^2*y};
\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{[:150]?*6(=*6(--*6(-N(-CH_3)--(<(=[::+60]O)-[::-60]N(-[::+60]-[::-60])-[::-60]-[::+60])-=)([::-120]<H)---)-*6(-=-=-(-[::-30,1.155]\chembelow{N}{H}?)=))}
\end{document}