AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
}
\begin{document}
\chemfig{C|{\color{blue}H_3}-C(=[1]O)-[7]O|{\color{red}H}}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw(-.75,0)--(-.25,0);
\draw(.75,0)--(.25,0);
\draw(.25,0)--(0,.75)--(-.25,0)--(0,-.75)--cycle;
\draw(.95,.2)--(.75,0)--(.95,-.2);
\draw(-.95,.2)--(-.75,0)--(-.95,-.2);
\draw(-.2,.95)--(0,.75)--(.2,.95);
\draw(-.2,-.95)--(0,-.75)--(.2,-.95);
\node at(-1,.1){$\vdots$};
\node at(1,.1){$\vdots$};
\node at(.05,1){$\cdots$};
\node at(.05,-1){$\cdots$};
\fill(0,.75)circle(2pt);
\node at(.21,.77){$d$};
\fill(0,-.75)circle(2pt);
\node at(.2,-.68){$b$};
\fill(.75,0)circle(2pt);
\node at(.75,.17){$c$};
\fill(-.75,0)circle(2pt);
\node at(-.7,.17){$a$};
\draw[fill=white](-.25,0)circle(2pt);
\node at(-.35,.2){$X$};
\draw[fill=white](.25,0)circle(2pt);
\node at(.38,.2){$Y$};
\node at(1.5,0){$\longleftrightarrow$};
\draw(3,-.75)--(3,-.25);
\draw(3,.75)--(3,.25);
\draw(3,.25)--(3.75,0)--(3,-.25)--(2.25,0)--cycle;
\draw(3.95,.2)--(3.75,0)--(3.95,-.2);
\draw(2.05,.2)--(2.25,0)--(2.05,-.2);
\draw(2.8,.95)--(3,.75)--(3.2,.95);
\draw(2.8,-.95)--(3,-.75)--(3.2,-.95);
\node at(2,.1){$\vdots$};
\node at(4,.1){$\vdots$};
\node at(3.05,1){$\cdots$};
\node at(3.05,-1){$\cdots$};
\fill(3,.75)circle(2pt);
\node at(3.25,.75){$d'$};
\fill(3,-.75)circle(2pt);
\node at(3.25,-.75){$b'$};
\fill(3.75,0)circle(2pt);
\node at(3.78,.24){$c'$};
\fill(2.25,0)circle(2pt);
\node at(2.35,.24){$a'$};
\draw[fill=white](3,-.25)circle(2pt);
\node at(3.25,-.4){$Y'$};
\draw[fill=white](3,.25)circle(2pt);
\node at(3.25,.43){$X'$};
\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,
}
\providecommand*\bigskip{\vspace{12pt plus 4pt minus 4pt}}
\begin{document}
\setchemfig{scheme debug=false}
\schemestart
\chemfig{*6(-=-=-=)}\arrow
\chemfig{X=[1]Y}\arrow
\chemfig{S>T}
\schemestop
\bigskip
\setchemfig{scheme debug=true}
\schemestart
\chemfig{*6(-=-=-=)}\arrow
\chemfig{X=[1]Y}\arrow
\chemfig{S>T}
\schemestop
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2.5em,
bond offset=1pt,
compound sep=5em,
arrow offset=6pt,
}
\providecommand*\bigskip{\vspace{12pt plus 4pt minus 4pt}}
\begin{document}
\setchemfig{scheme debug=true}
\schemestart
A\arrow(aa--bb)B\arrow(--cc)C\arrow(--dd)D\arrow E
\schemestop
\bigskip
\schemestart
A\arrow(aa--)B\arrow(bb--)C\arrow(cc--dd)D\arrow E
\schemestop
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) node[potentiometershape, rotate=-90](P){};
\draw (P.wiper) to[L] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (3,2);
\coordinate (a) at (3,2);
\node [circle,draw] (c) at (1,1) [minimum size=40pt] {$c$};
\draw[red] (a) -- (tangent cs:node=c,point={(a)},solution=1) --
(c.center) -- (tangent cs:node=c,point={(a)},solution=2) -- cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[
axis background/.style={
shade,top color=gray,bottom color=white,
},
legend style={fill=white},
]
\addplot {exp(-x)};
\addplot {exp(-4*x)};
\legend{$e^{-x}$,$e^{-4x}$}
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

% Base package for plotting
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

% Required for "patch type=bilinear" and interpolated shading
\usepgfplotslibrary{patchplots}

\begin{document}
  \begin{tikzpicture}
    \begin{axis}[small,view={0}{90}]
      \addplot3 [
      surf,
      shader=interp,
      patch type=bilinear,
      mesh/color input=explicit,
      ] coordinates {
      (0,0,0) [color=blue]   (1,0,0) [color=green]

      (0,1,0) [color=yellow] (1,1,1) [color=red]
    };
  \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{color,soul}
\usetikzlibrary{shapes,arrows,decorations.pathreplacing,angles,quotes,calc}
\tikzset{
font={\fontsize{11pt}{11}\selectfont}}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (154,414.67) -- (475.22,413.67) ;
\draw [shift={(477.22,413.67)}, rotate = 179.82] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (154,414.67) -- (154.11,165.33) ;
\draw [shift={(154.11,163.33)}, rotate = 90.03] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw [dash pattern={on 4.5pt off 4.5pt}] (283.78,282.22) -- (284,421) ;
\draw [color={rgb, 255:red, 6; green, 0; blue, 1 } ,draw opacity=1 ][line width=1.5] [dash pattern={on 5.63pt off 4.5pt}] (154,414.67) -- (235.24,333.24) -- (394.78,173.33) ;
\draw [color={rgb, 255:red, 74; green, 144; blue, 226 } ,draw opacity=1 ][line width=1.5] (154,344.67) -- (284.78,282.22) ;
\draw [color={rgb, 255:red, 74; green, 144; blue, 226 } ,draw opacity=1 ][line width=1.5] (283.78,282.22) -- (392.78,173.33) ;
\draw [dash pattern={on 4.5pt off 4.5pt}] (226.67,412.67) .. controls (232.67,404.67) and (225.67,371.67) .. (199.67,371.67) ;
\draw (204,397) node [color={rgb, 255:red, 0; green, 0; blue, 0 } ,draw opacity=1 ,rotate=-0.34] {$45^{\circ} $};
\draw (98,345) node [font=\footnotesize,color={rgb, 255:red, 0; green, 0; blue, 0 } ,opacity=1 ,rotate=-0.34] {$Minimal\ pension$};
\draw (285,432) node [font=\footnotesize,color={rgb, 255:red, 0; green, 0; blue, 0 } ,opacity=1 ,rotate=-0.34] {$Largest\ pension\ with\ subsidy$};
\draw (482,403) node [anchor=north west][inner sep=0.75pt] [align=left] {Self-funded pension};
\draw (108,140) node [anchor=north west][inner sep=0.75pt] [align=left] {Total pension};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[dvipsnames]{xcolor}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows,shapes,decorations.markings,decorations.pathreplacing,patterns,decorations.pathmorphing}
\tikzset{cd/.style={->,scale=6,>=angle 90,font=\scriptsize}
}\tikzset{graph/.style={->,scale=2,>=triangle 45,font=\scriptsize}
}\tikzset{ob/.style={shape=circle,draw,thick,inner sep=2.75}
}\tikzset{-|->/.style={decoration={markings,mark=at position .5 with {\arrow{|}
},mark=at position 1 with {\arrow{>}}},postaction={decorate}}}\tikzset{every loop/.style={in=60,out=120,looseness=10}
}\tikzset{zxgreen/.style={shape=circle,draw,thick,fill=green}
}\tikzset{zxred/.style={shape=circle,draw,thick,fill=red}
}\tikzset{zxyellow/.style={shape=rectangle,draw,thick,fill=yellow}
}\tikzset{zxblack/.style={shape=diamond,fill=black,inner sep=2.75}
}\tikzset{zxwhite/.style={shape=circle,draw,thick}
}
\begin{document}
\begin{tikzpicture}
\begin{scope}\node (1) at (0,0.5) { \( {}_{j} \bullet \) };
\draw [rounded corners] (-0.5,-0.5) rectangle (0.5,1.5);
\end{scope}
\begin{scope}[shift={(2,0)}]
\node (1) at (0,0.5) {\( {}_{j} \bullet \)};
\node (2) at (2,0) {\( \bullet \)};
\node (3) at (2,0.5) {\( \bullet \)};
\node (4) at (2,1) {\( \bullet \)};
\draw [graph] (1) edge (2) (1) edge (3) (1) edge (4);
\draw [rounded corners] (-0.5,-0.5) rectangle (2.5,1.5);
\end{scope}
\begin{scope}[shift={(6,0)}]
\node (2) at (0,0) {\( \bullet \)};
\node (3) at (0,0.5) {\( \bullet \)};
\node (4) at (0,1) {\( \bullet \)};
\draw [rounded corners] (-0.5,-0.5) rectangle (0.5,1.5);
\end{scope}
\begin{scope}
\node (1) at (0.5,0.5) {};
\node (2) at (1.5,0.5) {};
\node (3) at (4.5,0.5) {};
\node (4) at (5.5,0.5) {};
\draw [cd] (1) edge (2) (4) edge (3);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar, bar width=10pt, width=\textwidth, height=0.7\textwidth, xlabel={Agent}, ylabel={Score (\% out of total possible points)}, symbolic x coords={random, LLM Only, TaskGen}, xtick=data, nodes near coords, ymin=0, ymax=110, legend style={at={(0.5,-0.25)}, anchor=north, legend columns=2}, enlarge x limits={abs=1.5cm}, ylabel near ticks, xticklabel style={rotate=45, anchor=east}, title={Score for each Agent across 6 environments}]
\addplot coordinates {(random,42) (LLM Only,93) (TaskGen,96)};
\addplot coordinates {(random,0) (LLM Only,20) (TaskGen,30)};
\addplot coordinates {(random,0) (LLM Only, 20) (TaskGen,30)};
\addplot coordinates {(random,0) (LLM Only,57) (TaskGen,88)};
\addplot coordinates {(random,0) (LLM Only,0) (TaskGen,0)};
\addplot coordinates {(random,0) (LLM Only,0) (TaskGen,0)};
\legend{Detailed Dense (commands provided), Brief Sparse (commands provided), None Sparse (commands provided), Detailed Dense (commands not provided), Brief Sparse (commands not provided), None Sparse (commands not provided)}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}[scale=0.72]
\begin{axis}[axis x line=center, axis y line=none, xmin=1, xmax=4, ymin=-3.5, ymax=0, scale only axis, height=4\baselineskip, width=\axisdefaultwidth, ticklabel style={anchor=south, yshift=1.33*\pgfkeysvalueof{/pgfplots/major tick length}, font=\small}, every tick/.style={yshift=.5*\pgfkeysvalueof{/pgfplots/major tick length}}, axis line style={-}, title style={yshift=\baselineskip}, xtick={1,2,3,4}, clip=false]\draw[semithick, rounded corners=1pt] (axis cs:1.1904761904761905, 0) |- (axis cs:1.0, -1.5) node[font=\small, fill=white, inner xsep=5pt, outer xsep=-5pt, anchor=east] {HCSA-MDS};
\draw[semithick, rounded corners=1pt] (axis cs:2.5952380952380953, 0) |- (axis cs:1.0, -2.5) node[font=\small, fill=white, inner xsep=5pt, outer xsep=-5pt, anchor=east] {HBA};
\draw[semithick, rounded corners=1pt] (axis cs:2.619047619047619, 0) |- (axis cs:4.0, -2.5) node[font=\small, fill=white, inner xsep=5pt, outer xsep=-5pt, anchor=west] {SAMDS};
\draw[semithick, rounded corners=1pt] (axis cs:3.5952380952380953, 0) |- (axis cs:4.0, -1.5) node[font=\small, fill=white, inner xsep=5pt, outer xsep=-5pt, anchor=west] {HGA-MDS};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
angles,
quotes,
}
\begin{document}
\tikz \draw (3,0) coordinate (A)
-- (0,1) coordinate (B)
-- (1,2) coordinate (C)
pic [draw, "$\alpha$"] {angle};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}[every node/.style={scale=1.5}]
\draw [line width=0.8mm, red,dashed] (0,7.5) circle (2.5cm);
\draw [line width=0.5mm] (0,0) -- (0,12);
\draw[|<->|] [line width=0.5mm, blue, dashed] (-.1,0) -- (-.1,7.5) node[pos=0.6, sloped, above] {$\ell_v$};
\draw [line width=0.5mm] (0,7.5) -- (2,9) node[pos=0.3, sloped, above] {$R$};
\draw[line width=0.5mm] (0,7.5) -- (1.2,5.2) node[pos=0.3, sloped, above] {$R$};
\draw [line width=0.5mm] (0,0) -- (2,9) node[pos=0.15, above] {$\theta~~$};
\draw[|<->|] [line width=0.5mm, blue, dashed] (0.05,0) -- (1.25,5.2) node[pos=0.5, sloped, above] {$\ell_{1}$};
\draw[|<->|] [line width=0.5mm, blue, dashed] (0.0,0) -- (1.9,9.0) node[pos=0.8, sloped, above] {$\ell_{2}$};
\draw[|<->|] [line width=0.5mm, red, dashed] (0.2,0) -- (2.3,9.0) node[pos=0.5, sloped, below] {$\tilde{\ell} $};
\draw [line width=0.6mm, dashed] (0,0) -- (-2.6,7.1) node[pos=0.35, above] {$ ~ ~ ~ ~ ~ \theta_{max}$};
\draw [line width=0.6mm, dashed] (0,7.5) -- (-2.5,7.0) node[pos=0.5, sloped, above] {$R$};
\node[below] at (0,0) {$z$};
\node[above left] at (0,7.5) {$z_{v}$};
\draw [line width=0.8mm, green] (0,0) circle (0.5mm);
\draw [line width=0.8mm, green] (0,7.5) circle (0.5mm);
\draw [line width=0.8mm, green] (0,12) circle (0.5mm);
\node[above] at (0,12) {$z_{s}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes.misc}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\coordinate (S1) at (0,0);
\coordinate (S2) at (4,0);
\coordinate (S4) at (0,4);
\coordinate (S3) at (4,4);
\coordinate (S21) at (5.4,0.7);
\coordinate (S41) at (1.4,4.7);
\coordinate (S31) at (5.4,4.7);
\draw (S1) -- (S2) -- (S3) -- (S4) -- (S1);
\draw (S2) -- (S21) -- (S31) -- (S3);
\draw (S31) -- (S41) -- (S4);
\draw[dashed,->] (5.75,2) -- (7.5,2);
\begin{scope}[shift={(8,0)}]
\coordinate (S1) at (0,0);
\coordinate (S2) at (4,0);
\coordinate (S4) at (0,4);
\coordinate (S3) at (4,4);
\coordinate (S21) at (5.4,0.7);
\coordinate (S41) at (1.4,4.7);
\coordinate (S31) at (5.4,4.7);
\draw (S1) -- (S2) -- (S3) -- (S4) -- (S1);
\draw (S2) -- (S21) -- (S31) -- (S3);
\draw (S31) -- (S41) -- (S4);
\coordinate (U1) at (0,2);
\coordinate (U2) at (4,2);
\coordinate (U3) at (2,0);
\coordinate (U4) at (2,4);
\draw (U1) -- (U2);
\draw (U3) -- (U4);
\coordinate (R1) at (5.4,2.7);
\coordinate (R2) at (4.7,0.35);
\coordinate (R3) at (4.7,4.35);
\draw (U2) -- (R1);
\draw (R2) -- (R3);
\coordinate (W1) at (0.7,4+0.35);
\coordinate (W2) at (3.4,4.7);
\draw (W1) -- (R3);
\draw (W2) -- (U4);
\end{scope}
\draw[dashed,->] (13.75,2) -- (15.5,2);
\begin{scope}[shift={(16,0)}]
\coordinate (S1) at (0,0);
\coordinate (S2) at (4,0);
\coordinate (S4) at (0,4);
\coordinate (S3) at (4,4);
\coordinate (S21) at (5.4,0.7);
\coordinate (S41) at (1.4,4.7);
\coordinate (S31) at (5.4,4.7);
\draw (S1) -- (S2) -- (S3) -- (S4) -- (S1);
\draw (S2) -- (S21) -- (S31) -- (S3);
\draw (S31) -- (S41) -- (S4);
\coordinate (U1) at (0,2);
\coordinate (U2) at (4,2);
\coordinate (U3) at (2,0);
\coordinate (U4) at (2,4);
\draw (U1) -- (U2);
\draw (U3) -- (U4);
\coordinate (R1) at (5.4,2.7);
\coordinate (R2) at (4.7,0.35);
\coordinate (R3) at (4.7,4.35);
\draw (U2) -- (R1);
\draw (R2) -- (R3);
\coordinate (W1) at (0.7,4+0.35);
\coordinate (W2) at (3.4,4.7);
\draw (W1) -- (R3);
\draw (W2) -- (U4);
\coordinate (UU1) at (3,2);
\coordinate (UU2) at (3,4);
\coordinate (UU3) at (2,3);
\coordinate (UU4) at (4,3);
\draw (UU1)-- (UU2);
\draw (UU3) -- (UU4);
\coordinate (RR1) at (4.7,3.35);
\coordinate (RR2) at (4.35,2.175);
\coordinate (RR3) at (4.35,4.175);
\draw (RR1) -- (UU4);
\draw (RR2)-- (RR3);
\coordinate (WW1) at (2+0.35,4.175);
\coordinate (WW2) at (3+0.7,4.35);
\draw (UU2) -- (WW2);
\draw (RR3) -- (WW1);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{calc}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,2);
\coordinate (a) at (0,1);
\coordinate (b) at (3,2);
\coordinate (c) at (2.5,0);
\draw (a) -- (b) -- (c) -- cycle;
\draw[red] (a) -- ($(b)!(a)!(c)$);
\draw[orange] (b) -- ($(a)!(b)!(c)$);
\draw[blue] (c) -- ($(a)!(c)!(b)$);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{shapes.misc}
\tikzset{cross/.style={cross out, draw=black, thick, fill=none, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt}
, cross/.default={3pt}}\newcommand{\vertices}{\coordinate (base) at (0, 1);
\draw (0, 0) node[fill, circle, minimum size = 2mm, inner sep = 0]{}
;
\draw (3, 0) node[fill, circle, minimum size = 2mm, inner sep = 0]{};
\draw (0, 3) node[fill, circle, minimum size = 2mm, inner sep = 0]{};
\draw (3, 3) node[fill, circle, minimum size = 2mm, inner sep = 0]{};
}
\begin{document}
\begin{tikzpicture}[baseline=(base), scale = .4]
\vertices\draw (0, 0) to [out = 120, in = - 120] (0, 3);
\draw (0, 0) to [out = 60, in = - 60] (0, 3);
\draw (0, 0) -- (0, 3);
\draw (0, 3) -- (3, 3);
\draw (0, 0) -- (3, 0);
\node at (1.5,-2){$\sigma = (1,\frac32,\frac52)$};
\node at (1.5,-3.2){$m=2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,1.4) node[cute spdt up](S1){};
\draw (0,0) node[cute spdt up](S2){};
\draw (0,-1) node[cuteclosedswitchshape, yscale=-1](S3){};
\draw [densely dashed] (S1.mid)--(S2.mid)--(S3.mid);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:20,1.5]A-B-C-[:-80,0.7]D-E-F}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[samples=15,width=7cm,xlabel=$x$,ylabel=$f(x)$,extra y ticks={45},legend pos=north west,log plot exponent style/.style={/pgf/number format/fixed,/pgf/number format/use comma,/pgf/number format/precision=2},domain=-5:10]\addplot{exp(x)};
\addplot{exp(2*x)};
\legend{$e^x$,$e^{2x}$}
\end{semilogyaxis}
\end{tikzpicture}
\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) to[V=10V, i_=$i_1$] (2,0);
\end{circuitikz}
\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 A\arrow{->}B\schemestop
\vspace{6pt}
\schemestart A\arrow{-/>}B \schemestop
\vspace{6pt}
\schemestart A\arrow{<-}B \schemestop
\vspace{6pt}
\schemestart A\arrow{<->}B \schemestop
\vspace{6pt}
\schemestart A\arrow{<=>}B \schemestop
\vspace{6pt}
\schemestart A\arrow{<->>}B \schemestop
\vspace{6pt}
\schemestart A\arrow{<<->}B \schemestop
\vspace{6pt}
\schemestart A\arrow{0}B \schemestop
\vspace{6pt}
\schemestart A\arrow{-U>}B \schemestop
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows, automata}
\begin{document}
\begin{tikzpicture}[->]
\node [draw, circle, text width=.5em, text height=0.5em, label=$ $] (Z) at (1,0) {$w'$};
\node [draw, double, circle, text width=.5em, text height=0.5em, label=$c$] (A) at (2,0) {$u$};
\path (Z) edge [above, bend left] node {$q$} (A);
\path (A) edge [below, bend left] node {$p$} (Z);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{amsfonts,latexsym,graphicx,epsfig,amssymb,color}
\usepackage{amsmath,amstext,setspace,enumerate,amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, decorations.markings, quotes}
\usetikzlibrary{shapes.geometric}
\tikzset{currarrow/.style={-Stealth}
}
\begin{document}
\begin{tikzpicture}[scale=0.15]
\tikzset{mid arrow/.style={postaction={decorate, decoration={markings, mark=at position 0.6 with {\arrow{latex}
}}}}}\node (a) at (-5,8.7) {};
\fill [fill=black] (a) circle (0.105) node [above left] {$V_1$};
\node (b) at (-5,-8.7) {};
\fill [fill=black] (b) circle (0.105) node [below left] {$V_2$};
\node (c) at (10,0) {};
\fill [fill=black] (c) circle (0.105) node [above] {$V_3$};
\draw [line width=0.25mm, black] (10,0)--(-5,8.7)--(-5,-8.7)--(10,0);
\node[diamond, draw=red, fill=red, minimum size=0.15cm, inner sep=0] (a) at (-5,8.7) {};
\node (b) at (-5,-8.7) {};
\fill [fill=blue] (b) circle (0.45);
\node[diamond, draw=blue, fill=blue, minimum size=0.15cm, inner sep=0] (c) at (10,0) {};
\draw [line width=0.5mm, blue, mid arrow] (-5,-8.7) -- (10,0);
\draw[dashed] [line width=0.5mm, blue] [-latex] (-5.1,-8.7) -- (-5.1,8.7);
\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[flipflop JK]{JK};
\ctikzset{multipoles/flipflop/clock wedge size=0.1}
\draw (2.3,0) node[flipflop JK]{JK};
\ctikzset{multipoles/flipflop/clock wedge size=0.4}
\draw (4.6,0) node[flipflop JK]{JK};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node [circle,draw] {a} edge [in=30,out=60,loop] ();
\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
A\arrow
\chemleft[\subscheme{B\arrow[-90,2]C}\chemright]
\arrow
D
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title=Example needing fine-tuning,
xlabel=$x$,
ylabel=$y$,
]
\addplot3 [
surf,
mesh/interior colormap={blueblack}{
color=(black) color=(blue)
},
colormap/blackwhite,
domain=0:1,
] {
sin(deg(8*pi*x))* exp(-20*(y-0.5)^2)
+ exp(-(x-0.5)^2*30
- (y-0.25)^2 - (x-0.5)*(y-0.25))
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[inst amp ra] (opamp) {}
(opamp.+) node[left] {$v_+$}
(opamp.-) node[left] {$v_-$}
(opamp.out) node[right] {out}
(opamp.up) node[vcc]{}
(opamp.down) node[vee] {}
(opamp.refv down) node[ground]{}
(opamp.refv up) to[short, -o] ++(0,0.3)
(opamp.ra-) to[R] (opamp.ra+);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amsfonts,amssymb,amscd}
\usepackage[table]{xcolor}
\usepackage[most]{tcolorbox}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\draw[thick] (1.0, 2.0) -- (3.0, 2.0);
\draw[thick] (1.0, 2.0) -- (0.2, 3.2);
\draw[thick] (1.0, 2.0) -- (0.2, 0.8);
\draw[thick] (3.0, 2.0) -- (3.8, 3.2);
\draw[thick] (3.0, 2.0) -- (3.8, 0.8);
\filldraw (1.0, 2.0) circle(2.4pt);
\filldraw (3.0, 2.0) circle(2.4pt);
\filldraw (0.2, 3.2) circle(1.4pt);
\filldraw (0.2, 0.8) circle(1.4pt);
\filldraw (3.8, 3.2) circle(1.4pt);
\filldraw (3.8, 0.8) circle(1.4pt);
\draw (2.0, 2.0) node[label=above:$e_1$]{};
\draw (0.2, 3.2) node[label=left:$v_1$]{};
\draw (0.2, 0.8) node[label=left:$v_2$]{};
\draw (1.0, 2.0) node[label=left:$u_1$]{};
\draw (3.8, 3.2) node[label=right:$v_3$]{};
\draw (3.8, 0.8) node[label=right:$v_4$]{};
\draw (3.0, 2.0) node[label=right:$u_2$]{};
\draw[thick] (11.0, 2.0) -- (13.0, 2.0);
\draw[thick] (11.0, 2.0) -- (10.2, 3.2);
\draw[thick] (13.0, 2.0) -- (10.2, 0.8);
\draw[thick] (13.0, 2.0) -- (13.8, 3.2);
\draw[thick] (11.0, 2.0) -- (13.8, 0.8);
\filldraw (13.0, 2.0) circle(2.4pt);
\filldraw (11.0, 2.0) circle(2.4pt);
\filldraw (10.2, 3.2) circle(1.4pt);
\filldraw (10.2, 0.8) circle(1.4pt);
\filldraw (13.8, 3.2) circle(1.4pt);
\filldraw (13.8, 0.8) circle(1.4pt);
\draw (12.0, 2.0) node[label=above:$e_1$]{};
\draw (10.2, 3.2) node[label=left:$v_1$]{};
\draw (10.2, 0.8) node[label=left:$v_2$]{};
\draw (11.0, 2.0) node[label=left:$u_1$]{};
\draw (13.8, 3.2) node[label=right:$v_3$]{};
\draw (13.8, 0.8) node[label=right:$v_4$]{};
\draw (13.0, 2.0) node[label=right:$u_2$]{};
\draw[dashed, thick, ->] (5.0, 2.0) -- (9.0, 2.0);
\filldraw (8.0, 0.3) circle(0pt);
\end{tikzpicture}
\end{document}