AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows, positioning, automata}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid]
\node[state] (q_0) {$s_0$};
\node[state] (q_1) [right=of q_0] {$s_1$};
\node[state] (q_2) [right=of q_1] {$s_2$};
\path[->] (q_0) edge node [above] {0} (q_1)
edge [loop above] node {$\varepsilon$} ()
edge [bend right] node [below] {$(0+1)1^\ast$} (q_2)
(q_1) edge node [above] {$1 1^\ast$} (q_2);
\path[->] (q_1) edge [loop above] node {$\varepsilon$} ();
\path[->] (q_2) edge [loop above] node {$1^\ast$} ();
\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 [
scientific axes,
all axes={length=3cm},
x axis={ticks={stack}},
visualize as smooth line
]
data [format=function] {
var x : interval [0:2];
func y = \value x * \value x;
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\begin{scope}
\ctikzset{bipoles/cuteswitch/thickness=0.5,
bipoles/cuteswitch/shape=circ}
\draw (0,2) node[cute spdt up](S1){};
\ctikzset{bipoles/cuteswitch/thickness=0.25,
bipoles/cuteswitch/shape=emptyshape}
\draw (0,0) node[cute spdt up](S2){};
\draw (S2.cin) node[draw, inner sep=2pt]{};
\draw (S2.cout 1) node[draw, inner sep=2pt]{};
\draw (S2.cout 2) node[draw=red, inner sep=2pt]{};
\end{scope}
\draw (0,-2) node[cuteclosedswitchshape, yscale=-1](S3){};
\draw [densely dashed] (S1.mid)--(S2.mid)--(S3.mid);
\end{circuitikz}
\end{document}
\documentclass[border=1cm,tikz]{standalone}
\begin{document}
\begin{tikzpicture}[p/.style={circle,draw,inner sep=.4ex}]
\node[p,ball color=red,label=left:$mX_1$](a){};
\node[p,ball color=white,label=left:$X_1$](b)at(1,1){};
\draw(b)--(a);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{colorbrewer}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colormap access=piecewise constant,
colormap/RdPu-6,
colorbar horizontal,
]
\addplot3 [
surf,
] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=1pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}
\draw [decoration={markings,mark=at position 0.5 with {\arrow{<}}},postaction={decorate},blue] (150:1.5) -- (0,0);
\draw [decoration={markings,mark=at position 0.5 with {\arrow{<}}},postaction={decorate},blue] (30:1.5) -- (0,0);
\draw [decoration={markings,mark=at position 0.5 with {\arrow{<}}},postaction={decorate},blue] (0,0) -- (-90:1.5);
\draw [dashed] (0,0) to [out=-120,in=90] (-0.2,-0.5) -- node [left] {\footnotesize{$m$}} (-0.2,-1.5);
\draw [dashed] (0,0) to [out=180,in=-30] (-0.5,0.05) -- node [below left] {\footnotesize{$m$}} (-1.5,0.6);
\draw [dashed] (0,0) to [out=60,in=-150] (0.2,0.35) -- node [above] {\footnotesize{$m$}} (1.2,0.95);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\ctikzset{logic ports=ieee,logic ports/scale=0.7}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[dipchip](C){IC}(C.pin 8)node[or port,anchor=in 1,color=red](A){IC2A};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title=CMYK shading]
\addplot [
patch,
shader=interp,
mesh/color input=explicit,
mesh/colorspace explicit color output=cmyk,
data cs=polar,
]
coordinates {
(90,4) [color=red]
(210,4) [color=green]
(-30,4) [color=blue]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0)node[en amp, en amp text={
${\triangleright}$ \small 200}](E){}
(E.out) node[right] {$v_{\mathrm{out}}$}
(E.-) node[left] {$v_{\mathrm{in}-}$}
(E.+) node[left] {$v_{\mathrm{in}+}$} ;
\end{circuitikz}
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{chemfig}
\usetikzlibrary{matrix}
\setchemfig{
atom sep=2.5em,
bond offset=1pt,
compound sep=5em,
arrow offset=6pt,
}
\begin{document}
\schemestart
A\arrow(--[left delimiter={[}, right delimiter={]}])
\subscheme{B\arrow[-90,2]C}
\arrow
D
\schemestop
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\ctikzset{logic ports=ieee,logic ports/scale=0.7,logic ports origin=center}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[and port](myand){}(myand.in 1)node[anchor=east]{1}(myand.in 2)node[anchor=east]{2}(myand.out)node[anchor=west]{3};
\draw[<-](myand.center)--++(1,-1)node{center};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{amplifiers/plus={}}
\ctikzset{amplifiers/minus={}}
\draw (0,2.2) node[gm amp](A){$G_\mathrm{m}$};
\draw (0,0) node[fd op amp](A){};
\node [font=\small\bfseries, right] at(A.bin up) {1};
\node [font=\small\bfseries, right] at(A.bin down) {2};
\node [font=\small\bfseries, below] at(A.bout up) {3};
\node [font=\small\bfseries, above] at(A.bout down) {4};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[thick, node distance=1.5cm, circ/.style={draw, circle, minimum size=20pt}]
\node[circ] at (0, 0) (top) {};
\node[circ] at (-1cm, -1cm) (toptrue) {};
\node[circ] at (1cm, -1cm) (topfalse) {};
\node[circ] at (-2cm, -2cm) (true) {$1$};
\node[circ] at (2cm, -2cm) (false) {$0$};
\node[circ] at (-1cm, -3cm) (bottomtrue) {};
\node[circ] at (1cm, -3cm) (bottomfalse) {};
\node[circ] at (0, -4cm) (bottom) {};
\node[circ] at (3cm, 0) (p1) {};
\node[circ] at (3cm, -1cm) (p2) {};
\node[circ] at (3cm, -2cm) (p3) {};
\node[circ] at (3cm, -3cm) (p4) {};
\node[circ] at (3cm, -4cm) (p5) {};
\node (ind) at (0, 0.8cm) {};
\node (outd) at (0, -4.8cm) {};
\node (inp) at (3cm, 0.8cm) {};
\node (outp) at (3.8cm, -4.8cm) {};
\node (outw) at (4.2cm, -2.2cm) {};
\node at (0, -2cm) (var) {$x_i$};
\draw (top) to (toptrue);
\draw (toptrue) to (true);
\draw (true) to (bottomtrue);
\draw (bottomtrue) to (bottom);
\draw (top) to (topfalse);
\draw (topfalse) to (false);
\draw (false) to (bottomfalse);
\draw (bottomfalse) to (bottom);
\draw (p1) to (p2);
\draw (p2) to (p3);
\draw (p3) to (p4);
\draw (p4) to (p5);
\draw (bottom) to (p5);
\draw (ind) to (top);
\draw (bottom) to (outd);
\draw (inp) to (p1);
\draw (p4) to [out=350, in=90] (outp);
\draw (p5) to (outw);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[xbar interval,x=0.5cm,y=0.5cm]
\draw[color=red,fill=red!80]
plot coordinates {(3,0) (2,1) (4,1.5) (1,4) (2,6) (2,7)};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsgen, amstext,amsbsy,amsopn, amsthm, amsfonts,amssymb,amscd,amsmath,euscript,enumerate,url,verbatim,calc,oldgerm,mathrsfs,bm}
\usepackage{tikz}
\tikzset{->-/.style={decoration={markings,mark=at position #1 with {\arrow{>}
}},postaction={decorate}}}\usetikzlibrary{shapes,backgrounds,calc,decorations.markings}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\tikzset{->-/.style={decoration={markings,mark=at position .5 with {\arrow{>}
}},postaction={decorate}}}\draw [thick,<-](0.5,4)node [right]{$\rho$} --(0.5,2.8) ;
\draw [thick] (8.7,0.1) to [out=178,in=275](3.3,4);
\node [right] at (3.3,3.9){S};
\draw[thick] (5,-0.2)--(5,4);
\draw [dashed,thick] (3,-0.2)--(3,4.02);
\draw[thick,->] (0.5,-0.2)--(8.9,-0.2);
\node[right] at (8.4,-0.5){$\upsilon$};
\node[right] at (8.25,0.35) {R};
\node[right] at (5,3.9){J};
\draw[->] (3,0)--(2.5,-0.8);
\node[right] at (5,1.35) {$ (\rho_{l}, \upsilon_{l}) $};
\node[right] at (1.8,2.6) {I};
\node[right] at (4,2.6) {II};
\node[right] at (6.2,2.6) {III};
\node[right] at (0.1,-1.2) {$ \upsilon=-A\left( \frac{-1}{a}\right) ^{\Gamma }+\upsilon_{l} +A\left( \frac{\rho_{l}}{1-a\rho_{l}}\right) ^{\Gamma }-\frac{B}{\rho_{l}^{\kappa}}$};
\node[right] at (4.4,-0.5) {$\upsilon=\upsilon_{l}$};
\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,
mesh/color input=explicit mathparse,
domain=0:1,
samples y=2,
point meta={symbolic={wave=363+x*(814-363)}},
] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\ctikzset{bipoles/length=1.4cm}
\begin{circuitikz}[scale=1.2]
\draw
(0,0) node[anchor=east] {B}
to[short, o-*] (1,0)
to[R=20<\ohm>, *-*] (1,2)
to[R=10<\ohm>, v=$v_x$] (3,2) -- (4,2)
to[cI=$\frac{\si{\siemens}}{5} v_x$, *-*] (4,0) -- (3,0)
to[R=5<\ohm>, *-*] (3,2)
(3,0) -- (1,0)
(1,2) to[short, -o] (0,2) node[anchor=east]{A};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

% Base packages
\usepackage{pgfplots}
\usepackage{pgfplotstable} % Required for \thisrow and table processing
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [
surf,
shader=interp,
mesh/color input=explicit mathparse,
point meta={symbolic={x,\thisrow{y},0}},
] table {
x y
0 0
1 0

0 1
1 1
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{colorbrewer}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colormap={brewer}{
color=(RdPu-B) color=(RdPu-E)
color=(RdPu-G) color=(RdPu-I)
color=(RdPu-K)
},
enlargelimits=false,
colorbar as palette,
]
\addplot [
matrix plot,
nodes near coords,mark=*,
point meta=explicit,
colormap access=direct,
] coordinates {
(0,0) [0] (1,0) [1] (2,0) [2] (3,0) [NaN]
(0,1) [3] (1,1) [4] (2,1) [5] (3,1) [99]
(0,2) [3.5] (1,2) [-1] (2,2) [2.99] (3,2) [3]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\def\silly{
\tikzdatavisualizationset{major={at={
2,3,5,7,11,13}}}
}
\begin{document}
\def\silly{
\tikzdatavisualizationset{major={at={
2,3,5,7,11,13}}}
}
\begin{tikzpicture}
\datavisualization [
scientific axes, visualize as scatter,
x axis={tick placement strategy=\silly}
]
data {
x, y
0, 0
15, 15
};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{siunitx}
\begin{document}
\begin{circuitikz}[american inductors]
\def\coordx(#1)[#2:#3]#4{node[circle, #4, draw, inner sep=1pt,pin={[#4, overlay, inner sep=0.5pt, font=\scriptsize, pin distance=#2cm, pin edge={#4, overlay,}]#3:#1}](){}}
\draw (-2,0) (0, 0) node[transformer](T){};
\foreach \a/\d/\t in {L1.midtap/0.2/180, L1.south west/0.2/180, L1.south east/0.2/180,
L2.south/0.2/0, L2.south west/0.2/0, L2.south east/0.2/0}
\path (T-\a) \coordx(T-\a)[\d:\t]{red};
\ctikzset{cute inductors}
\draw (4, 0) node[transformer](T){};
\foreach \a/\d/\t in {L1.a/0.2/-120, L1.b/0.2/120,
L2.midtap/0.5/0, L2.south west/0.2/0, L2.south east/0.2/0}
\path (T-\a) \coordx(T-\a)[\d:\t]{blue};
\node[font=\small\ttfamily,above] at (T.north) {inductors/coils=5};
\draw (8, 0) node[transformer, circuitikz/inductors/coils=6](T){};
\foreach \a/\d/\t in {L2.a/0.2/120, L2.b/0.2/-120,
L2.midtap/0.2/0, L2.south west/0.2/0, L2.south east/0.2/0}
\path (T-\a) \coordx(T-\a)[\d:\t]{red};
\node[font=\small\ttfamily,above] at (T.north) {inductors/coils=6};
\end{circuitikz}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}
\draw[black, thick, densely dashed] (1em, 0) -- (2em, 0);
\draw[black, thick, densely dashed] (7em, 0) -- (6em, 0);
\draw[black, thick, densely dashed] (4em, 2em) -- (4em, -2em);
\draw[black, thick] (4em, 0) circle (2em);
\draw[black, thick, fill=white] (4em, 0) circle (0.8em);
\node at (2em, 0)[circle, fill, inner sep=.1em]{};
\node at (6em, 0)[circle, fill, inner sep=.1em]{};
\node at (4em, 2em)[circle, fill, inner sep=.1em]{};
\node at (4em, -2em)[circle, fill, inner sep=.1em]{};
\node at (4em, 0.8em)[circle, fill, inner sep=.1em]{};
\node at (4em, -0.8em)[circle, fill, inner sep=.1em]{};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.6]
\node (e1) at (0,9){$\bullet$};
\node (e2) at (10,-6){$\bullet$};
\node (e3) at (-10,-6){$\bullet$};
\draw (e1.center) to (e2.center) to (e3.center) to (e1.center);
\node (xy1) at (10/3,4){$\bullet$};
\node (xy2) at (20/3,-1){$\bullet$};
\node (xz1) at (-5,1.5){$\bullet$};
\node (yz1) at (-10+4,-6){$\bullet$};
\node (yz2) at (-10+8,-6){$\bullet$};
\node (yz3) at (-10+12,-6){$\bullet$};
\node (yz4) at (-10+16,-6){$\bullet$};
\small\node[draw, fill=white] (a1) at (-2/6,9-5/2){$1$};
\node[draw, fill=white] (a2) at (-4/6,9-10/2){$26$};
\node[draw, fill=white] (a3) at (-6/6,9-15/2){$21$};
\node[draw, fill=white] (a4) at (-8/6,9-20/2){$16$};
\node[draw, fill=white] (a5) at (-10/6,9-25/2){$11$};
\draw (e1.center) to node[fill=white] {$6$} (a1) to node[fill=white] {$6$} (a2) to node[fill=white] {$6$} (a3) to node[fill=white] {$6$} (a4) to node[fill=white] {$6$} (a5) to node[fill=white] {$6$} (yz2.center);
\node[draw, fill=white] (iz1) at (-16/3,-1){$23$};
\node[draw, fill=white] (iz2) at (-17/3,-3.5){$13$};
\draw[dashed] (xz1.center) to node[fill=white] {$3$} (iz1) to node[fill=white] {$3$} (iz2) to node[fill=white] {$3$} (yz1.center);
\draw[dashed] (xz1.center) to node[fill=white] {$25$} (a1);
\draw[dashed] (iz1) to node[fill=white] {$28$} (a1);
\draw[dashed] (iz1) to node[fill=white] {$15$} (a3);
\draw[dashed] (iz2) to node[fill=white] {$18$} (a3);
\draw[dashed] (iz2) to node[fill=white] {$5$} (a5);
\draw[dashed] (yz1.center) to node[fill=white] {$8$} (a5);
\node[draw, fill=white] (c1) at (-1+11/3,-1){$19$};
\node[draw, fill=white] (c2) at (-1+22/3,-3.5){$17$};
\node[draw, fill=white] (dp1) at (9/3,1.5){$\begin{array}{c} 29 \\ 22\end{array}$};
\node[draw, fill=white] (dp2) at (7/3,-3.5){$\begin{array}{c} 14 \\ 7\end{array}$};
\draw(e3.center) to node[fill=white] {$20$} (iz1) to node[fill=white] {$20$} (a2);
\draw(e3.center) to node[fill=white] {$10$} (iz2) to node[fill=white] {$10$} (a4);
\draw(e2.center) to node[fill=white] {$15$} (c2) to node[fill=white] {$15$} (c1) to node[fill=white] {$15$} (a3);
\draw[dashed] (xy2.center) to node[fill=white] {$2$} (c2) to node[fill=white] {$2$} (yz4.center);
\draw[dashed] (xy1.center) to node[fill=white] {$4$} (dp1) to node[fill=white] {$4$} (c1) to node[fill=white] {$4$} (dp2) to node[fill=white] {$4$} (yz3.center);
\draw[dashed] (a5) to node[fill=white] {$5$} (dp2) to node[fill=white] {$5$} (c2);
\draw[dashed] (a5) to node[fill=white] {$9$} (yz3.center);
\draw[dashed] (a4) to node[fill=white] {$12$} (dp2) to node[fill=white] {$12$} (yz4.center);
\draw[dashed] (a4) to node[fill=white] {$10$} (c1);
\draw[dashed] (a2) to node[fill=white] {$20$} (dp1) to node[fill=white] {$20$} (xy2.center);
\draw[dashed] (a1) to node[fill=white] {$25$} (xy1.center);
\draw[dashed] (a1) to node[fill=white] {$27$} (dp1) to node[fill=white] {$27$} (c2);
\draw[dashed] (a2) to node[fill=white] {$24$} (c1);
\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}
\catcode`\_11
\definearrow4{-.>}{
\edef\pt_radius{\ifx\empty#4\empty 2pt\else #4\fi}
\CF_arrowshiftnodes{#3}
\expandafter\draw\expandafter[\CF_arrowcurrentstyle,-CF](\CF_arrowstartnode)--(\CF_arrowendnode)
coordinate[midway](mid@point);
\filldraw(mid@point)circle(\pt_radius);
\CF_arrowdisplaylabel{#1}{0.5}{+}{\CF_arrowstartnode}{#2}{0.5}{-}{\CF_arrowendnode}
}
\catcode`\_8
\schemestart
A \arrow{-.>} B \arrow{-.>[above][below][][1pt]} C \arrow{-.>[][below]}[30] D \arrow{-.>[above][][5pt][1.5pt]} E
\schemestop
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\tikzset{
help lines/.style={gray,very thin},
>=stealth
}
\begin{document}
\begin{tikzpicture}
\draw [help lines] (0,0) grid (3,3);
\coordinate (a) at (1,0);
\coordinate (b) at (3,2);
\draw[->] (a) -- (b);
\coordinate (c) at ($ (a)!1! 10:(b) $);
\draw[->,red] (a) -- (c);
\fill ($ (a)!.5! 10:(b) $) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[-,>=stealth',auto,node distance=2cm,thick,main node/.style={circle,draw,font=\sffamily\bfseries,scale=0.75},new node/.style={circle,fill=black,text=white,draw,font=\sffamily\bfseries,scale=0.75}]
\node[main node] (0) {000};
\node[main node] (1) [above right of=0] {001};
\node[main node] (2) [below right of=1] {010};
\node[main node] (4) [below right of=0] {100};
\node[main node] (5) [right of=2] {101};
\node[main node] (6) [below right of=5] {110};
\node[main node] (3) [above right of=5] {011};
\node[main node] (7) [below right of=3] {111};
\path[every node/.style={font=\sffamily\small}] (0) edge node [left] {} (1) (1) edge node [left] {} (3) edge node [right] {} (2) (2) edge node {} (5) edge node [right] {} (4) (3) edge node [right] {} (6) edge node [right] {} (7) (4) edge node [left] {} (0) edge node [right] {} (1) (5) edge node [right] {} (3) (6) edge node [right] {} (5) edge node [right] {} (4) (7) edge node [right] {} (6);
\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}
\schemestart
A
\arrow([red]--[fill=blue,semitransparent,text opacity=1,
inner sep=10pt,rounded corners=2mm])
B
\schemestop
\bigskip
\schemestart
A\arrow(--foo[yshift=5mm])B
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[line width=0.66pt,nscomp/.style={{Circle[length=1.5mm,sep=-0.75mm]
}-{Stealth[length=2.5mm,inset=0.5mm]}},scomp/.style={{Circle[length=1.5mm,sep=-0.75mm]}-{Circle[length=1.5mm,sep=-0.75mm]}},baseline=(current bounding box.center)]
\begin{scope}[y=-0.66cm,x=0.45cm]
\draw(0,0)edge[shift={(1,0)},scomp]+(0,1)--++(2,0)edge[shift={(1,0)},scomp]+(0,2)--++(4,0)--+(0.2,0)..controls+(1,0)and+(-1,0)..+(1.8,1)--++(2,1)(0,1)--++(4,0)edge[shift={(1,0)},scomp]+(0,1)--++(2,0)--+(0.2,0)..controls+(1,0)and+(-1,0)..+(1.8,-1)--++(2,-1)(0,2)--++(8,0);
\node at(1,2.5){$[1,2]$};
\node at(3,2.5){$[1,3]$};
\node at(5,2.5){$[2,3]$};
\node at(7,2.5){$(1,2)$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[table]{xcolor}
\usepackage{amsmath, amsthm}
\usepackage{amsfonts,amssymb}
\usepackage{tikz}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}[scale=3]
\draw[thick,variable=\t,domain=-1.2:1.2,samples=50] plot ({\t*\t-1},{\t*\t*\t-\t});
\draw[thick] (0,-0.6)--(0,0.6);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{tikzpicture}[thick]
\draw[-latex] (0,0) -- (4,0) node[right, text width=5em] {$X$};
\draw[-latex] (0,0) -- (0,4) node[right, text width=5em] {$Y$};
\begin{scope}[rotate around={20:(3,2)},draw=red]
\draw[->] (3,2) -- (7,2) node[right, text width=5em] {$X'$};
\draw[->] (3,2) -- (3,6) node[right, text width=5em] {$Y'$};
\end{scope}\draw[->, postaction={decorate, decoration={text along path, text align={center},text={${\overrightarrow{R}}{\;
}$}}}] (0,0) -- (3,2) node[right, text width=5em] () {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\usetikzlibrary{calc}
\begin{document}
\begin{circuitikz}[american,cute inductors]
\node[op amp](A1){\texttt{OA1}};
\draw(A1.-)to[short]++(0,1)coordinate(tmp)to[R,l_=$R$](tmp-|A1.out)to[short](A1.out);
\draw(tmp)to[short]++(0,1)coordinate(tmp)to[C=$C$](tmp-|A1.out)to[short](A1.out);
\draw(A1.+)to[battery2,invert]++(0,-2.5)node[ground](GND){};
\draw(A1.-)to[L=$L$]++(-2,0)coordinate(tmp)to[sV,l=$v_s$,fill=yellow](tmp|-GND)node[ground]{};
\draw(A1.out)to[R=$R_s$]++(2,0)coordinate(bb)to[I,l_=$I_B$,invert]++(0,2)node[vcc](VCC){};
\draw(bb)to[D,l=$D$,*-]++(0,-2)coordinate(bb1)to[R=$R_m$]++(0,-2)node[vee](VEE){};
\draw(bb)--++(1,0)node[npn,anchor=B](Q1){Q1};
\draw(bb1)--++(1,0)node[pnp,anchor=B](Q2){Q2};
\draw(Q1.E)--(Q2.E)($(Q1.E)!0.5!(Q2.E)$)to[short,*-o,name=S]++(2.5,0)node[right]{$v_{o_Q}$};
\draw(S.s)to[european resistor,l=$Z_L$,*-](S.s|-GND)node[ground]{};
\draw(Q1.C)--(Q1.C|-VCC)node[vcc]{\SI{5}{V}};
\draw(Q2.C)--(Q2.C|-VEE)node[vee]{\SI{-5}{V}};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=0.1pt]{standalone}
\usetikzlibrary{3d}
\begin{document}
\begin{tikzpicture}[x={(0.5cm,0.5cm)},
y={(0.95cm,-0.25cm)},
z={(0cm,0.9cm)}]
\begin{scope}[canvas is yz plane at x=-1]
\shade[left color=black,right color=black!60] (-1,-1) rectangle (1,1);
\end{scope}
\begin{scope}[canvas is xz plane at y=1]
\shade[right color=gray!70,left color=gray!20] (-1,-1) rectangle (1,1);
\end{scope}
\begin{scope}[canvas is yx plane at z=1]
\shade[top color=gray,bottom color=gray!40] (-1,-1) rectangle (1,1);
\end{scope}
\node[anchor=south] at (current bounding box.north) {$- + $};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern,circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[cute spdt up](S1){}(S1.in)node[left]{in}(S1.out 1)node[right]{out 1}(0,-2)node[cute spdt up,/tikz/circuitikz/bipoles/cuteswitch/height=0.8](S2){}(S2.in)node[left]{in}(S2.out 2)node[right]{out 2};
\draw[red](S1-in.s)--(S2-in.n);
\draw[blue](S1-out 2.s)--(S2-out 1.n);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows,decorations.pathreplacing,shapes.geometric,calc,decorations.pathmorphing}
\tikzset{gauge/.style={inner sep=1mm,draw=none,fill=white,minimum size=2mm,circle, draw}
, flavour/.style={draw=none,minimum size=0.3mm,fill=white, regular polygon,regular polygon sides=4,draw}}
\begin{document}
\begin{tikzpicture}[xscale=.7,yscale=.7]
\node[flavour,label=above:{1}] (10) at (4,1) {};
\node[gauge,label=below:{1}] (0) at (0,0) {};
\node[gauge,label=below:{1}] (1) at (1,0) {};
\node (2) at (2,0) {$\cdots$};
\node[gauge,label=below:{1}] (3) at (3,0) {};
\node[gauge,label=below:{1}] (4) at (4,0) {};
\node[flavour,label=above:{1}] (0a) at (0,1) {};
\draw (0)--(0a);
\draw (0)--(1)--(2)--(3) (3.6,0.2)--(3.4,0)--(3.6,-0.2) (4)--(10);
\draw[transform canvas={yshift=-2pt}] (3)--(4);
\draw[transform canvas={yshift=0pt}] (3)--(4);
\draw[transform canvas={yshift=2pt}] (3)--(4);
\node at (3.5,.5) {$k$};
\end{tikzpicture}
\end{document}