AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel={Refinement level $\ell$ ($p=4$)},
ylabel={Condition numbers},
xmin=2, xmax=5,
ymin=3, ymax=200,
xtick={2,3,4,5},
ytick={5,10,20,50,100},
ymajorgrids=true,
grid style=dashed,
legend columns=3,
legend pos=north west,
legend image post style={only marks},
log ticks with fixed point,
xmode=log,
ymode=log,
width=6cm
]
\addplot[color=blue, mark=triangle]
coordinates {
(2,27.6317)(3,35.6262)(4,44.1542)(5,54.0877)
};
\addlegendentry{{\tiny $M_{\mathrm{sD},1}$, $\Pi_{\mathrm{c}}$}};
\addplot[color=red, mark=square]
coordinates {
(2,5.55832)(3,6.7911)(4,8.11693)(5,9.55116)
};
\addlegendentry{{\tiny $M_{\mathrm{sD},1}$, $\Pi_{\mathrm{ce}}$}};
\addplot[color=green , mark=o]
coordinates {
(2,9.28402)(3,11.6908)(4,14.2842)(5,17.1175)
};
\addlegendentry{{\tiny $M_{\mathrm{sD},1}$, $\Pi_{\mathrm{cn}}$}};
\addplot[color=blue, mark=triangle*, densely dotted]
coordinates {
(2,14.3739)(3,17.8053)(4,21.4793)(5,25.3442)
};
\addlegendentry{{\tiny $M_{\mathrm{sD},2}$, $\Pi_{\mathrm{c}}$}};
\addplot[color=red, mark=square*, densely dotted]
coordinates {
(2,3.25594)(3,3.91571)(4,4.58545)(5,5.32687)
};
\addlegendentry{{\tiny $M_{\mathrm{sD},2}$, $\Pi_{\mathrm{ce}}$}};
\addplot[color=green , mark=*, densely dotted]
coordinates {
(2,6.03108)(3,7.39175)(4,8.92729)(5,10.6089)
};
\addlegendentry{{\tiny $M_{\mathrm{sD},2}$, $\Pi_{\mathrm{cn}}$}};
\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) node[wilkinson] (w) {\SI{3}{dB}}
(w.in) to[short,-o] ++(-0.5,0)
(w.out1) to[short,-o] ++(0.5,0)
(w.out2) to[short,-o] ++(0.5,0)
(w.in) node[below left] {\texttt{in}}
(w.out1) node[below right] {\texttt{out1}}
(w.out2) node[above right] {\texttt{out2}}
;
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{siunitx}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[spring] ++(2,0)
to[viscoe, v=V] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm}
\usepackage{amssymb}
\usepackage{graphics,graphicx,xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,shapes.arrows,decorations.pathmorphing,decorations.pathreplacing,decorations.markings,arrows,positioning,patterns,shapes.multipart}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw[thick] (0,0) -- (0,3);
\draw[thick] (0,3) to [controls=+(45:1.7) and +(135:1.7)] (6,3);
\draw[thick] (6,3) -- (6,0);
\draw[thick] (0,0) to [controls=+(30:0.75) and +(150:0.75)] (2,0);
\draw[thick] (2,0) to [controls=+(30:0.25) and +(150:0.25)] (3,0);
\draw[thick] (5,0) to [controls=+(30:0.25) and +(150:0.25)] (6,0);
\foreach \Point in {(0,0), (0,3), (6,3), (6,0), (2,0), (3,0), (5,0)}{\node[scale=1] at \Point {\textbullet};
}\draw node at (3,2) {$a_i$-tile};
\draw node at (-0.5,3.25) {\scalebox{0.8}{$(x,y)$}};
\draw node at (-0.5,-0.25) {\scalebox{0.8}{$(x,y-\log_2(\lambda))$}};
\draw[<->] (0.1,4.25) -- (5.9,4.25);
\draw node at (3,4.5) {$v(a_i)\cdot 2^y$};
\draw[<->] (-0.5,0) -- (-0.5,3);
\draw node at (-1.25,1.5) {\scalebox{0.8}{$\log_2(\lambda)$}};
\draw[<->] (0.1,-0.5) -- (1.9,-0.5);
\draw node at (1,-1) {\scalebox{0.8}{$\frac{1}{\lambda}v(w_1)\cdot 2^y$}};
\draw[<->] (2.1,-0.5) -- (2.9,-0.5);
\draw node at (2.5,-1) {\scalebox{0.8}{$\frac{1}{\lambda}v(w_2)\cdot 2^y$}};
\draw node at (4,-0.5) {$\dots$};
\draw node at (4,0) {$\dots$};
\draw node at (4,-1) {$\dots$};
\draw[<->] (5.1,-0.5) -- (5.9,-0.5);
\draw node at (5.5,-1) {\scalebox{0.8}{$\frac{1}{\lambda}v(w_k)\cdot 2^y$}};
\draw node at (8,2) {$\sigma(a_i)=w_1\dots w_k$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[help lines](0,0)grid(3,2);
\draw(0,0)--(2,1)--(1,0);
\pgftransformscale{.75}\draw[red](0,0)--(2,1)--(1,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, amsthm}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel={$\beta$},
ylabel={Base of the exponent},
grid=both,
grid style={line width=.1pt, draw=gray!10},
major grid style={line width=.2pt,draw=gray!50},
minor tick num=4,
major tick length=0.2cm,
minor tick length=0.1cm,
width=10cm,
height=8cm,
legend pos=north east
]
\addplot[
color=blue,
thick
] coordinates {
(1.0,3.888)
(1.102102102102102,3.635932032387407)
(1.2042042042042043,3.400206209912762)
(1.3003003003003002,3.192325290416278)
(1.4024024024024024,2.985359511631938)
(1.5045045045045045,2.791811799520316)
(1.6006006006006006,2.6211267386397563)
(1.7027027027027026,2.4511930735512926)
(1.8048048048048049,2.2922919085450504)
(1.900900900900901,2.159258463111508)
(2.003003003003003,2.038369270096386)
(2.105105105105105,1.9342896524109883)
(2.201201201201201,1.8487837459404162)
(2.303303303303303,1.768824037029142)
(2.4054054054054053,1.6982212060789603)
(2.5015015015015014,1.6389761592597487)
(2.6036036036036037,1.5825457200626174)
(2.7057057057057055,1.5318835076539876)
(2.801801801801802,1.4887621119134098)
(2.903903903903904,1.4471702030728564)
(3.0,1.411522633744856)
(3.1021021021021022,1.376926911078322)
(3.204204204204204,1.3453299423423417)
(3.3003003003003,1.3180342663222058)
(3.4024024024024024,1.2913577643380272)
(3.5045045045045047,1.2668369187473285)
(3.6006006006006004,1.2455372754613754)
(3.7027027027027026,1.2246202028787556)
(3.804804804804805,1.2053100245130006)
(3.900900900900901,1.1884758701358473)
(4.003003003003003,1.1718937035602328)
(4.105105105105105,1.1565458871621561)
(4.201201201201201,1.1431395658436299)
(4.303303303303304,1.129914732328135)
(4.405405405405405,1.1176625545462735)
(4.501501501501501,1.1069558968960236)
(4.603603603603604,1.096395531302492)
(4.7057057057057055,1.086618744449023)
(4.801801801801801,1.0780860470115021)
(4.903903903903904,1.0696857787806604)
(5.0,1.0623683950617284)
(5.102102102102102,1.0551818595084157)
(5.2042042042042045,1.048566227813104)
(5.3003003003003,1.0428319320985726)
(5.402402402402402,1.037233658919995)
(5.504504504504505,1.032117839911807)
(5.6006006006006,1.0277210423830903)
(5.702702702702703,1.023471558334133)
(5.804804804804805,1.0196360030340854)
(5.900900900900901,1.016386500483607)
(6.003003003003003,1.0132995101089057)
(6.105105105105105,1.0105726785207625)
(6.201201201201201,1.0083212656281195)
(6.303303303303303,1.0062500789855864)
(6.405405405405405,1.0044964059005503)
(6.501501501501502,1.003124774562243)
(6.603603603603603,1.0019527143766531)
(6.7057057057057055,1.0010640458914846)
(6.801801801801802,1.0004775520795712)
(6.903903903903904,1.0001110424978685)
(7.0,1.0)
};
\addlegendentry{Our Results}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{3d}
\begin{document}
\begin{tikzpicture}[scale=2,->=stealth]
\node[inner sep= -1pt] (w1) at (xyz spherical cs:longitude=0,latitude=0,radius=1) {\tiny $ $};
\node[inner sep= -1pt] (y0) at (xyz spherical cs:longitude=45,latitude=0,radius=1) {\small$ $};
\node[inner sep= -1pt] (v1) at (xyz spherical cs:longitude=90,latitude=0,radius=1) {\tiny $.$};
\node[inner sep= -1pt] (x0) at (xyz spherical cs:longitude=135,latitude=0,radius=1) {\tiny $.$};
\node[inner sep= -1pt] (w0) at (xyz spherical cs:longitude=180,latitude=0,radius=1) {\tiny $.$};
\node[inner sep= -1pt] (y1) at (xyz spherical cs:longitude=225,latitude=0,radius=1) {\tiny $.$};
\node[inner sep= -1pt,left] (v0) at (xyz spherical cs:longitude=270,latitude=0,radius=1) {\tiny $.$};
\node[inner sep= -1pt] (x1) at (xyz spherical cs:longitude=315,latitude=0,radius=1) {\tiny $ $};
\node[inner sep= -1pt] (u1) at (xyz spherical cs:longitude=0,latitude=90,radius=1) {\tiny $a_2$};
\node[inner sep= -1pt] (u0) at (xyz spherical cs:longitude=0,latitude=-90,radius=1) {\tiny $a_0 $};
\draw[-,dotted, out=40, in=185] (x1.75) to (w1.west);
\draw[- ,dotted,out=235, in=90] (x1.220) to (v0.north);
\draw[-, out=125, in=270] (y1.140) to (v0.south);
\draw[-, out=320, in=175] (y1.285) to (w0.west);
\draw[-, out=220, in=5] (x0.255) to (w0.east);
\draw[-, out=55, in=270] (x0.40) to (v1.south);
\draw[-,dotted, out=140, in=355] (y0.105) to (w1.east);
\draw[white, line width=2pt] (w1.255) .. controls +(0,0,0.4) and +(0,0.4,0) .. (u1.north);
\draw[-,dotted] (w1.255) .. controls +(0,0,0.4) and +(0,0.4,0) .. (u1.north);
\draw[-,dotted] (w0.240) .. controls +(0,0,0.4) and +(0,-0.4,0) .. (u1.south);
\draw[-,dotted] (w0.45) .. controls +(0,0,-0.4) and +(0,-0.4,0) .. (u0.south);
\draw[-,dotted] (w1.20) .. controls +(0,0,-0.2) and +(0,0.4,0) .. (u0.north);
\draw[-,dotted, out=305, in=90] (y0.320) to (v1.north);
\draw[-] (v0.60) .. controls +(0,0,-0.4) and +(-0.4,0,0) .. (u0.west);
\draw[-] (v0.225) .. controls +(0,0,0.3) and +(-0.3,0,0) .. (u1.west);
\draw[-] (v1.240) .. controls +(0,0,0.3) and +(0.4,0,0) .. (u1.east);
\draw[-] (v1.45) .. controls +(0,0,-0.2) and +(0.3,0,0) .. (u0.east);
\node[left] at (v0) {\tiny $v_1$};
\node[below] at (w0) {\tiny $a_1$};
\node[right] at (v1) {\tiny $v_2$};
\node at (0,-1.3) {Convex polyhedron};
\begin{scope}[xshift=3.7cm,yshift=0cm]
\node at (-1,0.4) {Stereographic projection};
\node at (-1,0) {$\Rightarrow$};
\node[inner sep=1pt, circle] (00) at (0,0) {\tiny $v_1$};
\node[inner sep=1pt, circle] (10) at (2,0) {\tiny $v_2$};
\draw[-] (00)--(10) ;
\draw[-] (00)--(10);
\draw[-] (10) .. controls +(-1,+0.6) .. (00);
\draw[-] (10) .. controls +(-1,+0.6) .. (00);
\node[below] at (1,-0.46) {\tiny $a_2$};
\node[above] at (1,0.46) {\tiny $a_0$};
\node[below] at (1,-0.02) {\tiny $a_1$};
\draw[-] (10) .. controls +(-1,-0.6) .. (00);
\draw[-] (10) .. controls +(-1,-0.6) .. (00);
\node at (1.2,-1.25) {Polyhedral graph};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[
vx/.style={draw, circle, inner sep=0pt, outer sep=0pt, fill, minimum size=2pt}
]
\draw (0,0) ellipse (1.5 and 3);
\node[vx, label=left:$C_u(v)_{1,1}$](a11) at ($(0,0)+(45:1.5 and 3)$){};
\node[vx, label=left:$C_u(v)_{1,2}$](a12) at ($(0,0)+(15:1.5 and 3)$){};
\node[vx, label=left:$C_u(v)_{2,1}$](a21) at ($(0,0)+(-15:1.5 and 3)$){};
\node[vx, label=left:$C_u(v)_{2,2}$](a22) at ($(0,0)+(-45:1.5 and 3)$){};
\draw (5,0) ellipse (1.5 and 3);
\node[vx, label=right:$C_v(u)_{4,2}$](b11) at ($(5,0)+(135:1.5 and 3)$){};
\node[vx, label=right:$C_v(u)_{4,1}$](b12) at ($(5,0)+(165:1.5 and 3)$){};
\node[vx, label=right:$C_v(u)_{3,2}$](b21) at ($(5,0)+(195:1.5 and 3)$){};
\node[vx, label=right:$C_v(u)_{3,1}$](b22) at ($(5,0)+(225:1.5 and 3)$){};
\draw (a11) edge node foreach \i in {1,...,6}[pos=0.14*\i, vx](c\i){} (b12);
\draw (a21) edge node foreach \i in {1,...,6}[pos=0.14*\i, vx](d\i){}(b21);
\foreach \i in {1,2,5,6}
{
\draw (c\i)-- ++(0, 1) node foreach \j in {0.3, 0.6, 1}[pos=\j, vx]{};
\draw (d\i)-- ++(0, -1) node foreach \j in {0.3, 0.6, 1}[pos=\j, vx]{};
}
\node[vx, label=above left:$C_u(w)_{1,2}$](e11) at ($(0,0)+(135:1.5 and 3)$){};
\node[vx, label=above left:$C_u(w)_{1,1}$](e12) at ($(0,0)+(165:1.5 and 3)$){};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
arrows,
arrows.meta,
positioning
}
\tikzset{>=stealth}
\begin{document}
\tikz {
\node [draw] (A) {A};
\node [draw] (B) [right=of A] {B};
\draw [-{>>[sep=2pt]}] (A) to [bend left=45] (B);
\draw [- >> ] (A) to [bend right=45] (B);
}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{automata,shapes.multipart}
\tikzset{state/.style={draw,circle,minimum size=.6cm}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines](0,0)grid(3,2);
\node[state without output]{$q_0$};
\node[state with output]at(2,0){$q_1$\nodepart{lower}$00$};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{amsmath, amssymb}
\usepackage{mathptmx}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[baseline={(0,0)}]
\coordinate (a) at (0,0);
\coordinate (b) at (1.5,-1.7);
\coordinate (gd) at (2,0);
\coordinate (gu) at (2,1);
\coordinate (ti) at (1,2);
\coordinate (tj) at (3,2);
\coordinate (bi) at (1,-1);
\coordinate (bj) at (3,-2.5);
\filldraw[black] (a) circle (2pt);
\filldraw[black] (b) circle (2pt);
\filldraw[black] (gd) circle (2pt);
\filldraw[black] (gu) circle (2pt);
\draw[->] (bi) to [out=180,in=315] node[midway,right] {\(i\)} (a) to [out=120, in=180] node[midway,above] {\(i\)} (ti);
\draw[->] (ti) to [out=0,in=135] (gu) to [out=45,in=180] node[midway,right] {\(j\)} (tj);
\draw[->] (tj) to [out=0, in=0] (bj);
\draw[->] (bj) to [out=180,in=300] (b) to [out=60, in=315] node[midway,right] {\(j\)} (gd) to [out=225, in=0] (bi);
\draw[-] (b) to [out=160,in=260] node[midway,below left] {\(p\)} (a);
\draw[-] (gd) -- node[midway,right] {\(r\)} (gu);
\node[left=3pt of a] {\(\alpha\)};
\node[below left=2pt of b] {\(\overline{\beta}\)};
\node[above=3pt of gu] {\(\bar\gamma\)};
\node[below=3pt of gd] {\(\gamma\)};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,decorations.markings,matrix,shapes}
\newcommand{\diagram}[3]{\matrix (#1) [matrix of math nodes,row sep={#2}
,column sep={#3},text height=1.5ex,text depth=0.25ex]}
\begin{document}
\begin{tikzpicture}
\diagram{d}{3em}{4em}{X_1 & Y_1 & Z_1 & \Sigma X_1 \\ X_2 & Y_2 & Z_2 & \Sigma X_2 \\};
\path[->, font = \scriptsize, auto] (d-1-1) edge node{$u_1$} (d-1-2) (d-1-2) edge node{$v_1$} (d-1-3) (d-1-3) edge node{$w_1$} (d-1-4) (d-2-1) edge node{$u_2$} (d-2-2) (d-2-2) edge node{$v_2$} (d-2-3) (d-2-3) edge node{$w_2$} (d-2-4) (d-1-1) edge node{$\alpha$} (d-2-1) (d-1-2) edge node{$\beta$} (d-2-2) (d-1-3) edge node{$\gamma$} (d-2-3) (d-1-4) edge node{$\Sigma \alpha$} (d-2-4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\large\setchemfig{atom sep=2em}
\fboxsep=-0.2pt \fboxrule0.2pt
\renewcommand\printatom[1]{\fbox{\ensuremath{\mathrm#1}}}
\chemfig{A^1-B-C-D}
\vspace{6pt}
\chemfig{E_1-F-G-H}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, positioning, automata}
\tikzset{state/.style={draw,circle,minimum size=0.6cm}
,initial text={}}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,>={Stealth[round]
}]\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$};
\path[->](q_0)edge node[above left]{0}(q_1)edge node[below left]{1}(q_2)(q_1)edge[loop above]node{0}()(q_2)edge[loop below]node{1}();
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (H1) at (0,0) {$A_1\ | \ \{a_{1i} | i <= D\}$};
\node (H2) at (5,0) {$\dots$};
\node (H3) at (10,0) {$A_N\ | \ \{a_{Ni} | i <= D\}$};
\node (H1H2) at (0,1.5) {$A_1 \cap A_2 \ | \ \{ a_{1i} \cap a_{2j}| i,j \leq D\}$};
\node (H2H3) at (5,1.5) {$\dots$};
\node (H1H3) at (10,1.5) {$A_1 \cap A_N \ | \ \{ a_{1i} \cap a_{Nj}| i,j \leq D\}$};
\node (R2) at (5,-1.5) {$\mathbb{R}^R$};
\node (END) at (5, 2) {$\vdots$};
\node (END2) at (0, 2) {$\vdots$};
\node (END3) at (10, 2) {$\vdots$};
\node (FEND1) at (5, 2.5) {$\bigcap_{k=1}^R A_k\ | \ \{ \bigcap_{k} a_{kd_k} | d_1,\dots, d_k \leq D\} $};
\node (FEND2) at (0, 2.5) {$\dots$};
\node (FEND3) at (10, 2.5) {$\dots$};
\draw (H1) -- (H1H2);
\draw (H2) -- (H1H2);
\draw (H2) -- (H2H3);
\draw (H3) -- (H2H3);
\draw (H1) -- (H1H3);
\draw (H3) -- (H1H3);
\draw (H1) -- (R2);
\draw (H2) -- (R2);
\draw (H3) -- (R2);
\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

\chemfig{@{a1}=_[@{db}::30]-[@{sb}::-60]@{dnl}\charge{90=\|}{X}}
\arrow{<->}

\chemfig{\chemabove{\vphantom{X}}{\ominus}-[::30]=_[::-60]
\chemabove{X}{\scriptstyle\oplus}}
\schemestop


\chemmove[->]{

\draw(db).. controls +(100:5mm) and +(145:5mm).. (a1);

\draw[shorten <=3pt,shorten >=1pt](dnl) .. controls +(90:4mm)
and +(45:4mm) .. (sb);
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsthm,amssymb,amsmath}
\usepackage{xcolor}
\usepackage{pgf,tikz}
\begin{document}
\begin{tikzpicture}
\node [draw, shape=circle,fill=black,scale=0.5] (b1) at (2,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b2) at (3,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b3) at (4,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b4) at (5,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b5) at (7,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b6) at (8,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b7) at (9,5) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b8) at (10,6) {};
\node [draw, shape=circle,fill=black,scale=0.5] (b9) at (10,8) {};
\node [draw, shape=circle,fill=black,scale=0.5] (a2) at (8,7) {};
\node [draw, shape=circle,fill=black,scale=0.5] (a1) at (3.5,7) {};
\node [draw, shape=circle,fill=black,scale=0.5] (c1) at (3.5,3) {};
\node [draw, shape=circle,fill=black,scale=0.5] (c2) at (2.5,1) {};
\node [draw, shape=circle,fill=black,scale=0.5] (c3) at (4.5,1) {};
\draw(a1)--(a2);
\draw(a1)--(b1);
\draw(a1)--(b2);
\draw(a1)--(b3);
\draw(a1)--(b4);
\draw(a2)--(b5);
\draw(a2)--(b6);
\draw(a2)--(b7);
\draw(a2)--(b8)--(b9)--(a2);
\draw(c1)--(b1);
\draw(c1)--(b2);
\draw(c1)--(b3);
\draw(c1)--(b4);
\draw(c1)--(c2)--(c3)--(c1);
\node at (8,7.35) {$3$} {};
\node at (3.5,7.35) {$2$} {};
\node at (10.25,6) {$0$} {};
\node at (10.25,8) {$0$} {};
\node at (1.8,4.7) {$0$} {};
\node at (2.8,4.7) {$0$} {};
\node at (4.2,4.7) {$0$} {};
\node at (5.2,4.7) {$0$} {};
\node at (3,3) {$2$} {};
\node at (2.25,1) {$1$} {};
\node at (4.75,1) {$1$} {};
\node at (7,4.7) {$0$} {};
\node at (8,4.7) {$0$} {};
\node at (9,4.7) {$0$} {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\providecommand*\bigskip{\vspace{12pt plus 4pt minus 4pt}}
\begin{document}
\large
\chemfig{A-.-B}\quad
\chemfig{A-\chemskipalign.-B}
\vspace{6pt}
\bigskip
\fboxsep=0pt
\renewcommand\printatom[1]{\fbox{\ensuremath{\mathrm{#1}}}}
\chemfig{A-.-B}\quad
\chemfig{A-\chemskipalign.-B}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\definesubmol\X2{#1-#2-#3-#(3pt,3pt)#4}
\chemfig{A-!\X{M}{N}-B}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[legend style={at={([yshift=30pt]0.5,1)},anchor=north,text width=1in,cells={align=left},minimum height=2mm},legend columns=3,xmin=0,xmax=10,ymin=0,ymax=10]\addplot[red,line width=5pt,domain=0:10]{x};
\addlegendentry{$x$}\addplot[black,line width=5pt,domain=0:10]{(x-5)^2};
\addlegendentry{$(x-5)^2$}\addplot[yellow,line width=5pt,domain=0:10]{10-(x-5)^2};
\addlegendentry{$10-(x-5)^2$}\addplot[orange,line width=5pt,domain=0:10]{10-x};
\addlegendentry{$10-x$}\addplot[green,line width=5pt,domain=0:10]{5};
\addlegendentry{\begin{minipage}[b]{3in}long long long long long entry\end{minipage}}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{pgfplots}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=0.8\linewidth,xlabel={$\lambda$ values},ylabel={PPL},xmin=0, xmax=1.0,ymin=30, ymax=70,xtick={0,0.2,0.4,0.6,0.8,1.0},ytick={40,50,60,70},legend pos=north west,ymajorgrids=true,grid style=dashed,]\addplot[color=blue,mark=square,]coordinates {(0, 61.84)(0.4, 44.15)(0.5, 45.26)(0.6, 45.28)(1.0, 45.61)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.0, style=thick]
\def\vr{3pt}
\path (0,0) coordinate (x1);
\path (0,4) coordinate (x2);
\path (1,1) coordinate (x3);
\path (1,3) coordinate (x4);
\path (3,1) coordinate (x5);
\path (3,3) coordinate (x6);
\path (4,0) coordinate (x7);
\path (4,4) coordinate (x8);
\draw[thick,->] (0,4) -- (0,0.1);
\draw[thick,->] (0,0) -- (0.9,0.9);
\draw[thick,->] (1,1) -- (2.9,1);
\draw[thick,dotted, ->] (1,1) -- (1,2.85);
\draw[thick,dotted, ->] (1,3) -- (0.1,3.9);
\draw[thick,dotted, ->] (0,4) -- (3.9,4);
\draw[thick,densely dotted, ->] (3,3) -- (3,1.1);
\draw[thick,densely dotted, ->] (3,1) -- (3.9,0.1);
\draw[thick,densely dotted, ->] (4,0) -- (0.1,0);
\draw[thick,dashed, ->] (4,0) -- (4,3.9);
\draw[thick,dashed, ->] (4,4) -- (3.1,3.1);
\draw[thick,dashed, ->] (3,3) -- (1.1,3);
\draw (x1) [fill=white] circle (\vr);
\draw (x2) [fill=gray] circle (\vr);
\draw (x3) [fill=gray] circle (\vr);
\draw (x4) [fill=white] circle (\vr);
\draw (x5) [fill=white] circle (\vr);
\draw (x6) [fill=gray] circle (\vr);
\draw (x7) [fill=gray] circle (\vr);
\draw (x8) [fill=white] circle (\vr);
\draw (0.4,2) ellipse (1cm and 3cm);
\draw (3.6,2) ellipse (1cm and 3cm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amssymb,amsmath,amsthm}
\usepackage{tikz}
\usetikzlibrary{calc,snakes}
\usetikzlibrary{decorations.pathmorphing}
\tikzset{
bigblue/.style={circle, draw=blue!80,fill=blue!40,thick, inner sep=1.5pt, minimum size=5mm},
bigred/.style={circle, draw=red!80,fill=red!40,thick, inner sep=1.5pt, minimum size=5mm},
bigblack/.style={circle, draw=black!100,fill=black!40,thick, inner sep=1.5pt, minimum size=5mm},
bluevertex/.style={circle, draw=blue!100,fill=blue!100,thick, inner sep=0pt, minimum size=2mm},
redvertex/.style={circle, draw=red!100,fill=red!100,thick, inner sep=0pt, minimum size=2mm},
blackvertex/.style={circle, draw=black!100,fill=black!100,thick, inner sep=0pt, minimum size=2mm},
whitevertex/.style={circle, draw=black!100,fill=white!100,thick, inner sep=0pt, minimum size=2mm},
smallblack/.style={circle, draw=black!100,fill=black!100,thick, inner sep=0pt, minimum size=1mm},
}
\begin{document}
\begin{tikzpicture}[every loop/.style={},scale=1.2]
\node[blackvertex,label={270:$u$}] (u) at (2,0) {};
\node[blackvertex,label={270:$v$}] (v) at (3,0) {};
\node[blackvertex,label={270:$w$}] (w) at (4,0) {};
\node[blackvertex,label={0:$u'$}] (u') at (2,1) {};
\node[blackvertex,label={0:$v'$}] (v') at (3,1) {};
\node[blackvertex,label={0:$w'$}] (w') at (4,1) {};
\draw[thick,dashed,red] (u') -- (u);
\draw[thick,dashed,red] (v') -- (v);
\draw[thick,dashed,red] (w') -- (w);
\draw[thick,blue] (u) -- (v);
\draw[thick,blue] (u) to[bend right=40] (w);
\path (0,0) node {$G$};
\path (1,0) node {\ldots};
\draw[line width=1.1pt] (2,0) ellipse (2.5cm and 0.75cm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\def\emptydisk{\chemskipalign\tikz\draw(0,0)circle(2pt);}
\def\fulldisk{\chemskipalign\tikz\fill(0,0)circle(2pt);}
\chemfig{A-\emptydisk-\fulldisk-B}
\vspace{6pt}
\chemfig{A-#(,0pt)\emptydisk-#(0pt,0pt)\fulldisk-#(0pt)B}
\end{document}