AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.75]
\draw (1,0) to [out=55,in=125] (4,0);
\foreach \i in {1,...,4}{\draw [fill] (\i,0) circle (0.05);
\node [below] at (\i,0) {\i};
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{tikzmark}
\begin{document}
\begin{tikzpicture}[remember picture, overlay]
\draw [->] ({pic cs:a}) +(0,5pt) coordinate (c) [out=45, in=135] to (c -| {pic cs:b});
\draw [<-] ({pic cs:a}) +(0,-5pt) coordinate (d) [out=-45, in=-135] to (d -| {pic cs:b});
\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[spdt] (Sw) {}
(Sw.in) node[left] {in}
(Sw.out 1) node[right] {out 1}
(Sw.out 2) node[right] {out 2};
\end{circuitikz}
\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,
shader=interp,
] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{tikz-cd}
\usepackage{xcolor}
\usetikzlibrary{matrix,arrows,backgrounds,shapes.misc,shapes.geometric,patterns,calc,positioning,shapes,decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw (-4,0)node{$K$};
\draw (-2.5,0)node{$K^{2}$};
\draw (-1,1.15)node{$K$};
\draw (-1,-1.15)node{$K$};
\draw (0.5,0)node{$K^{2}$};
\draw (2,1.15)node{$K$};
\draw (2,-1.15)node{$K$};
\draw[->][line width=0.5pt] (-2.72,0) -- (-3.85,0)
node[pos=0.5,above] {{\tiny $ \begin{bmatrix}
1&0\\
\end{bmatrix} $}};
\draw[->][line width=0.5pt] (-2.27,0.18) -- (-1.15,1)
node[pos=0.5,left] {{\tiny $ \begin{bmatrix}
0&1\\
\end{bmatrix} $}};
\draw[->][line width=0.5pt] (-1.15,-1.1) -- (-2.35,-0.1)
node[pos=0.5,below] {{\tiny $ \begin{bmatrix}
1\\
0
\end{bmatrix} $}};
\draw[->][line width=0.5pt] (-1,0.95) -- (-1,-0.95)
node[pos=0.5,left] {$0$};
\draw[->][line width=0.5pt] (0.3,0.15) -- (-0.85,1)
node[pos=0.5,right] {{\tiny $ \begin{bmatrix}
0&1\\
\end{bmatrix} $}};
\draw[->][line width=0.5pt] (-0.855,-1.05) -- (0.27,-0.15)
node[pos=0.5,above] {{\tiny $ \begin{bmatrix}
1\\
0
\end{bmatrix} $}};
\draw[->][line width=0.5pt] (-0.85,1.15) -- (1.85,1.15)
node[pos=0.5,above] {$0$};
\draw[<-][line width=0.5pt] (-0.85,-1.15) -- (1.85,-1.15)
node[pos=0.5,below] {$0$};
\draw[->][line width=0.5pt] (1.85,1) -- (0.72,0.17)
node[pos=0.35,below] {{\tiny $ \begin{bmatrix}
1\\
0
\end{bmatrix} $}};
\draw[->][line width=0.5pt] (0.65,-0.1) -- (1.85,-1)
node[pos=0.65,right]{{\tiny $ \begin{bmatrix}
0&1\\
\end{bmatrix} $}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tkz-euclide}

\tkzSetUpPoint[size=2,color=black]
\tkzSetUpLine[line width=.2pt,color=black]

\begin{document}
\begin{tikzpicture}
    % 定义 8 个点
    \foreach \pt in {1,2,...,8} {
        \tkzDefPoint(\pt*20:3){P_\pt}
    }
    
    % 使用 PolySeg (折线段) 而不是 Polygon (多边形)
    % 必须手动列出点，因为该命令不支持省略号
    \tkzDrawPolySeg[color=black](P_1,P_2,P_3,P_4,P_5,P_6,P_7,P_8)
    
    % 绘制点
    \tkzDrawPoints[color=black](P_1,P_...,P_8)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{arrows.meta, bending}
\begin{document}
\begin{tikzpicture}
\node (M) at (0,0) [circle, draw]{$M$};
\node (A) at (0,-1.5) [circle, draw]{$A$};
\draw[->] (M) to (A) {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,2)node[rotary switch ->,color=blue]{};
\ctikzset{tripoles/spdt/width=1.6,fill=cyan,multipoles/rotary/shape=osquarepole}\draw(0,0)node[rotary switch ->]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\begin{scope}[every node/.style={circle,color=blue,thick,draw,minimum size=0.4cm}]\node(1) at (0,0) {$r$};
\node(2) at (2,-1) {};
\node(3) at (-2,-1) {};
\node(4) at (2,-2.5) {};
\node(5) at (-2,-2.5) {};
\node(6) at (0,-4) {$t$};
\end{scope}\path(1) edge node [above] {\small 2} (2);
\path(1) edge node [above] {\small 0} (3);
\path(2) edge node [right] {\small 4} (4);
\path(3) edge node [left] {\small 0} (5);
\path(4) edge[bend left=30] node [right] {\small $-M$} (6);
\path(4) edge[bend right=30] node [above] {\small 25} (6);
\path(5) edge[bend left=30] node [above] {\small 25} (6);
\path(5) edge[bend right=30] node [left] {\small $-M$} (6);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{automata,positioning,arrows}
\tikzset{->, >=stealth, node distance=3cm}
\begin{document}
\begin{tikzpicture}
\node[state, initial](q0){$0$};
\node[state, above right of=q0](q1){$0$};
\node[state, below right of=q0](q2){$0$};
\node[state, below right of=q1](q3){$0$};
\node[state, right of=q3](q4){$0$};
\node[state, right of=q4](q5){$1$};
\draw
(q0) edge[bend left, above] node{$0$} (q1)
(q1) edge[bend left, below] node{$0$} (q0)
(q0) edge[below left] node{$1$} (q2)
(q2) edge[loop below] node{$0,1$} (q2)
(q1) edge[above right] node{$1$} (q3)
(q3) edge[below right] node{$1$} (q2)
(q3) edge[above] node{$0$} (q4)
(q4) edge[loop above] node{$0$} (q4)
(q4) edge[bend left, above] node{$1$} (q5)
(q5) edge[bend left, below] node{$1$} (q4)
(q5) edge[loop above] node{$0$} (q5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [contour prepared] table {
2 2 0.8
0.857143 2 0.6
1 1 0.6
2 0.857143 0.6
2.5 1 0.6
2.66667 2 0.6
0.571429 2 0.4
0.666667 1 0.4
1 0.666667 0.4
2 0.571429 0.4
3 0.8 0.4
0.285714 2 0.2
0.333333 1 0.2
1 0.333333 0.2
2 0.285714 0.2
3 0.4 0.2
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[every node/.style={draw}]
\draw (0,0) node {A} -- (1,1) node {B};
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage{amsmath}
\usetikzlibrary{arrows}
\tikzset{
diagram/.style={
font=\small,auto,scale=1.5,-latex,
baseline=(current bounding box.center)}
}
\begin{document}
\begin{tikzpicture}[diagram, xscale=2.5]
\node (n0) at (0,0) {$\mathcal{V} \otimes L $};
\node (n1) at (1,0) {$\mathcal{V} \otimes \mathcal{E} \otimes L$};
\node (n2) at (2,0) {$\mathcal{V} \otimes L $};
\draw[->,rounded corners] (n0) -- +(0,.5) -| node[pos=.25] {$\alpha_t$} (n2);
\draw[->] (n0) to node[swap] {$\mathsf{flow}_t \otimes \alpha$} (n1);
\draw[->] (n1) to node[swap] {$\mathsf{eval} \otimes id_L$} (n2);
\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}
\setchemfig{scheme debug=true}
\schemestart A\arrow{->[*{0}up][*{0}down]}[90]B\schemestop
\qquad
\schemestart A\arrow{->[*{0}up][*{0}down]}[45]B\schemestop
\qquad
\schemestart A\arrow{->[*{0}up][*{0}down]}[-45]B\schemestop
\qquad
\schemestart A\arrow{->[*{0}up][*{0}down]}[-90]B\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[latex-latex] (-7.5,0) -- (6.5,0);
\draw (-7,3pt) -- (-7,-3pt) node[below] {$U_{n-1}$};
\node at (-7, 11pt) {$-(n-1)$};
\node[below] at (-6,-6pt) {\dots};
\draw (-5,3pt) -- (-5,-3pt) node[below] {$U_i$};
\node at (-5, 11pt) {$-i$};
\node[below] at (-4,-6pt) {\dots};
\draw (-3,3pt) -- (-3,-3pt) node[below] {$U_2$};
\node at (-3, 11pt) {$-2$};
\draw (-2,3pt) -- (-2,-3pt) node[below] {$U_1$};
\node at (-2, 11.5pt) {$0$};
\draw (-1,3pt) -- (-1,-3pt) node[below] {$U_2$};
\node at (-1, 11.5pt) {$2$};
\node[below] at (0,-6pt) {\dots};
\draw (1,3pt) -- (1,-3pt) node[below] {$U_i$};
\node at (1, 11.5pt) {$i$};
\node[below] at (2,-6pt) {\dots};
\draw (3,3pt) -- (3,-3pt) node[below] {$U_{n-1}$};
\node at (3, 11.5pt) {$n-1$};
\draw (4,3pt) -- (4,-3pt) node[below] {$U_n$};
\node at (4, 11pt) {$n$};
\draw (4.9,3pt) -- (4.9,-3pt) node[below] {$U_1$};
\node at (4.9, 11.5pt) {$n+1$};
\draw (6,3pt) -- (6,-3pt) node[below] {$U_{n-1}$};
\node at (6, 11.5pt) {$n+2$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base,tkz-euclide}
\definecolor{teal}{rgb}{0,0.5,0.5}
\definecolor{darkgray}{rgb}{0.4,0.4,0.4}
\definecolor{lightgray}{rgb}{0.8,0.8,0.8}
\tkzSetUpColors[background=white,text=black]\tkzSetUpCompass[color=orange,line width=.2pt,delta=10]\tkzSetUpArc[color=gray,line width=.2pt]\tkzSetUpPoint[size=2,color=teal]\tkzSetUpLine[line width=.2pt]\tikzset{every picture/.style={line width=.2pt}
,new/.style={color=orange,line width=.2pt},label angle style/.append style={color=teal,font=\footnotesize},label style/.append style={below,color=teal,font=\scriptsize},line style/.style={line width=.2pt},mybox/.style={draw=gray,fill=gray!10,very thick,rectangle,rounded corners,inner sep=10pt,inner ysep=10pt},title/.style={fill=gray,text=white,font=\bfseries,right=10pt}}
\begin{document}
\begin{tikzpicture}[scale=1]
\tkzDefPoint(0,0){A}\tkzDefPoint(3,0){B}\tkzDefPoint(0.5,2.5){C}\tkzDefCircle[euler](A,B,C)\tkzGetPoint{N}\tkzDefSpcTriangle[feuerbach,name=F](A,B,C){_a,_b,_c}\tkzDefSpcTriangle[excentral,name=J](A,B,C){_a,_b,_c}\tkzDefSpcTriangle[extouch,name=T](A,B,C){_a,_b,_c}\tkzLabelPoints[below left](J_a,J_b,J_c)\tkzClipBB\tkzShowBB\tkzDrawCircle[purple](N,F_a)\tkzDrawPolygon(A,B,C)\tkzDrawPolygon[new](F_a,F_b,F_c)\tkzDrawCircles[gray](J_a,F_a J_b,F_b J_c,F_c)\tkzDrawPoints[blue](J_a,J_b,J_c,F_a,F_b,F_c,A,B,C)\tkzLabelPoints(A,B,F_c)\tkzLabelPoints[above](C)\tkzLabelPoints[right](F_a)\tkzLabelPoints[left](F_b)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt}
\begin{document}
\chemfig{*6((-HO)-=-(-)=-(-HO)=)}
\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}
\setchemfig{scheme debug=true}
\schemestart
A\arrow
\subscheme{B\arrow[-90,2]C}
\arrow
D
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
scatter,
scatter src=y,
samples=40,
visualization depends on=
{5*cos(deg(x)) \as \perpointmarksize},
scatter/@pre marker code/.append style=
{/tikz/mark size=\perpointmarksize},
]
{sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\tikz \fill[fill=yellow!80!black]
(0,0) node {first node}
-- (1,1) node[ellipse,draw, behind path] {second node}
-- (0,2) node[circle,fill=red!20] {third node};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.0,x=1.0cm,y=1.0cm,>=latex,font=\footnotesize]
\clip
(0,-5) -- (5,0) -- (5,2.5) -- (0,5) -- (-5,0) -- (-5,-2.5) -- cycle;
\foreach \Value in {-5,...,5}
{
\draw[-,thin,dashed,domain=-5:5] plot (\x,{(\x)+\Value});
\draw[-,thin,dashed,domain=-5:5] plot (\x,{(-1/2)*(\x)+\Value});
}
\draw[->,very thick] (0,0) -- (.666,.666) node[above left] {$\mathbf{u}$};
\draw[->,very thick] (0,0) -- (.666,-.333) node[below ] {$\mathbf{v}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{folding}
\begin{document}
\tikz \pic [folding line length=6mm, numbered faces, transform shape]
{ tetrahedron truncated folding };
\end{document}
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\tikzset{
vertex/.style={circle,opacity=.8,fill=black!25,minimum size=20pt,inner sep=0pt},
edge/.style={draw,thick,-,auto},
weight/.style={font=\small},
}
\begin{scope}[x=283,y=222]
\foreach \pos/\name/\label in {
(0.13,0.21)/1/0,
(0.46,0.09)/2/$\infty$,
(0.43,0.59)/3/$\infty$,
(0.93,0.63)/4/$\infty$,
(0.58,0.88)/5/$\infty$,
(0.18,0.8)/6/$\infty$} {
\node[vertex,label=\label] (\name) at \pos {$\name$};
}
\foreach \source/\dest/\weight in {
1/2/7, 1/3/9, 1/6/14, 2/4/15, 2/3/10, 3/4/11, 3/6/2, 4/5/6, 5/6/9} {
\path[edge] (\source) -- node[weight] {$\weight$} (\dest);
}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{tikzpicture}[]

\draw (0,0) node[op amp](A){};


\ctikzset{tripoles/op amp/port width=1,
tripoles/op amp/width=1.19,
}


\draw (2.5,0) node[op amp](B){};


\draw
(A.out) node[red, circ]{} (A.+) node[blue, circ]{}
(B.out) node[red, circ]{} (B.+) node[blue, circ]{};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
patchplots
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
patch,
patch type=bilinear,
mesh/color input=explicit mathparse,
mesh/colorspace explicit color output=cmyk,
domain=0:1,
samples=30,
point meta={
symbolic={
(sin(deg(x*pi*2))+1)/2,
(sin(deg(y*pi*2))+1)/2,
0
}
},
] {sin(deg(x*pi*2))+sin(deg(y*pi*2))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{perspective}
\begin{document}
\begin{tikzpicture}[isometric view,perspective={p={(4,0,0)},q={(0,4,0)}}]
\node[fill=red,circle,inner sep=1.5pt,label=above:p]at(4,0,0){};
\foreach\i in{0,...,100}{\filldraw[fill=gray](tpp cs:x=\i,y=0,z=0)--(tpp cs:x=\i+0.5,y=0,z=0)--(tpp cs:x=\i+0.5,y=2,z=0)--(tpp cs:x=\i,y=2,z=0)--cycle;
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view={60}{30}]
\addplot3+ [
domain=0:5*pi,
samples=60,
samples y=1,
] (
{sin(deg(x))},
{cos(deg(x))},
{2*x/(5*pi)}
);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\pgfdeclarelayer{edgelayer}\pgfdeclarelayer{nodelayer}\pgfsetlayers{edgelayer,nodelayer,main}
\begin{document}
\begin{tikzpicture}[vertex/.style={circle, inner sep=2pt, fill=black}, blossom/.style={diamond, inner sep=2pt, fill=green!70!black}, branch/.style={very thick, brown}, gem/.style={green!70!black}, scale=1.5]
\begin{pgfonlayer}{nodelayer}\node [style=vertex, label=above right:$c_2$] (1) at (-3, -1) {};
\node [style=vertex, label=right:$c_1$] (4) at (-3, -0) {};
\node [style=vertex, label=above left:$c_3$] (5) at (-2, -1) {};
\node [style=blossom, label=right:$c$] (11) at (-3, 0.5) {};
\end{pgfonlayer}
\begin{pgfonlayer}
{edgelayer}\draw [branch] (4) to (1);
\draw [branch] (5) to (1);
\draw[gem] (11) to (4);
\clip[use as bounding box] (-3.5,-1.5) rectangle (-1.5,1);
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt,tikz]{standalone}
\usetikzlibrary{fit,positioning,calc,arrows,backgrounds}
\tikzset{
my/.style={draw=green,thick,fill=white,circle,minimum width=.5cm},
>=latex
}
\begin{document}
\begin{tikzpicture}
\node[my] (s1) {$S_1$};
\node[my,right=1 of s1] (a12) {$a_1^2$};
\node[my,above=1 of a12] (a11) {$a_1^1$};
\node[my,below=1 of a12] (a1n) {$a_1^n$};
\node at ($(a12)!.5!(a1n)$) {\vdots};
\node[above=.5 of a11] (A1) {$A_1$};
\begin{pgfonlayer}{background}
\node[fit=(A1)(a1n),draw=green,thick,fill=gray!40] {};
\end{pgfonlayer}
\foreach \x in {12,11,1n} \draw[->] (s1) -- (a\x);
\begin{scope}[xshift=3.5cm]
\node[my] (s2) {$S_2$};
\node[my,right=1cm of s2] (a22) {$a_2^2$};
\node[my,above=1 of a22] (a21) {$a_2^1$};
\node[my,below=1 of a22] (a2m) {$a_2^m$};
\node at ($(a22)!.5!(a2m)$) {\vdots};
\node[above=.5 of a21] (A2) {$A_2$};
\begin{pgfonlayer}{background}
\node[fit=(A2)(a2m),draw=green,thick,fill=gray!40] {};
\end{pgfonlayer}
\foreach \x in {22,21,2m} \draw[->] (s2) -- (a\x);
\end{scope}
\foreach \x in {12,11,1n} \draw[->] (a\x) -- (s2);
\node[my,xshift=7cm] (s3) {$S_3$};
\foreach \x in {1.5,0,-1.5} \draw[->] (s3) --+ (1,\x) node[right] {\ldots};
\foreach \x in {22,21,2m} \draw[->] (a\x) -- (s3);
\begin{scope}[xshift=9.5cm]
\node[my] (a22) {$a_k^1$};
\node[my,above=1 of a22] (a21) {$a_k^2$};
\node[my,below=1 of a22] (a2m) {$a_k^t$};
\node at ($(a22)!.5!(a2m)$) {\vdots};
\node[above=.5 of a21] (A2) {$A_k$};
\begin{pgfonlayer}{background}
\node[fit=(A2)(a2m),draw=green,thick,fill=gray!40] {};
\end{pgfonlayer}
\node[my,right=1 of a22] (slast) {$S_{k+1}$};
\foreach \x in {22,21,2m} \draw[->] (a\x) -- (slast);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz, margin=3.141592mm]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
node distance = 12mm,
dot/.style = {
circle,
fill=black,
fill opacity=0.1,
inner sep=3pt,
node contents={}
}
]
\node (n1) [dot, label=left:2016, label={[xshift=3mm]right:bar}, label=below right:foo];
\node (n2) [dot, label=left:2017, label={[xshift=3mm]right:bar}, label=below right:foo, below=of n1];
\draw[shorten >=2pt, shorten <=2pt] (n1) -- (n2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis on top=true,
axis x line=middle,
axis y line=middle,
]
\addplot+ [fill] {x^3} \closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[semithick, baseline=-3pt, circuit ee IEC, every resistor/.style={circuit symbol size=width 2 height .75}]
\draw (0,0) to[resistor] ++(1,0) |- ++(.1,.25) coordinate (a) ++(-.1,-.25) |- +(.1,-.25) coordinate (b);
\draw[-o] (a) to[resistor] ++(1,0) -- ++(.1,0) node[contact] {} -- ++(.5,0);
\draw[-o] (b) to[resistor] ++(1,0) -- ++(.1,0) node[contact] {} -- ++(.5,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[ school book axes, visualize as smooth line,
x axis={ticks={major={at={1, 1.5, 2}}}}]
data [format=function] {
var x : interval [-1.25:2];
func y = \value x * \value x / 2;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\coordinate(O) at (0,0);
\coordinate[left=20mm of O](P);
\coordinate[label={[fill=white]right:$m$},right=15mm of O](Q);
\coordinate(A) at (110:2);
\coordinate[left=of A](R);
\coordinate[label={[fill=white]right:$\ell$},right=of A](S);
\draw[draw=blue!30,latex-latex] (P) -- (Q);
\draw[draw=blue!30,latex-latex] (R) -- (S);
\draw (O) -- (A);
\draw[-latex] (O) -- (-70:1) coordinate (C);
\draw[-latex] (A) -- +(110:1) coordinate[label={[fill=white]above left:$k$}] (B);
\node[above right] at (A) {$\scriptstyle{x}$};
\node[below left] at (A) {$\scriptstyle{y}$};
\node[above left] at (O) {$\scriptstyle{z_{1}}$};
\node[above right] at (O) {$\scriptstyle{z_{2}}$};
\node[below right] at (O) {$\scriptstyle{z_{3}}$};
\node[below left] at (O) {$\scriptstyle{z_{4}}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows,arrows.meta,backgrounds,calc,patterns,positioning,shapes,shadows}
\pgfdeclarelayer{bg}\pgfsetlayers{bg,main}\tikzset{arc/.style = {->, semithick, >={[round,sep]Stealth}
},triangle/.style = {regular polygon, regular polygon sides = 3, inner sep = 0.5pt},funcvar/.style = {ellipse, draw, fill = gray!15, minimum size = 0.6cm},function/.style = {rectangle, draw, fill = cyan!70, minimum size = 0.6cm}}
\begin{document}
\begin{tikzpicture}
\node[funcvar, align = center, inner sep = 2pt] (rv1) {$v_1$};
\node[funcvar, align = center, inner sep = 2pt, below right = 0.75cm and 0.5cm of rv1] (rv3) {$v_3$};
\node[funcvar, align = center, inner sep = 2pt, above right = 0.75cm and 0.5cm of rv3] (rv2) {$v_2$};
\node[left = 0cm of rv1] (sign_rv1) {$+$};
\node[right = 0cm of rv2] (sign_rv2) {$+$};
\node[below = 0cm of rv3] (sign_rv3) {$\text{'$+$'} \oplus \text{'$-$'} = \text{'$?$'}$};
\draw (rv1) edge[arc, gray] node[left] {$+$} (rv3);
\draw (rv2) edge[arc, gray] node[right] {$-$} (rv3);
\draw (sign_rv1) edge[arc, dashed, gray!50, bend right] node[black, left, xshift = -0.1cm] {$\text{'$+$'} \otimes \text{'$+$'} = \text{'$+$'}$} (rv3);
\draw (sign_rv2) edge[arc, dashed, gray!50, bend left] node[black, right, xshift = 0.1cm] {$\text{'$+$'} \otimes \text{'$-$'} = \text{'$-$'}$} (rv3);
\end{tikzpicture}
\end{document}
\documentclass[border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[scale=.5]
\pgfmathsetmacro{\a}{3}
\pgfmathsetmacro{\b}{2.5}
\draw[thick,black] (-\a,0)--(0,-\b)--(\a,0)--(0,\b)--(-\a,0);
\draw[thick,black] (0,-\b)--(0,\b);
\draw[thick,black,dashed] (-\a,0)--(\a,0);
\draw[very thick,brown,-Stealth] (\a/4,-\b/4) .. controls (0,-\b/3) .. (-\a/4,-\b/4);
\draw[very thick,brown,-Stealth] (-\a/4,\b/4) .. controls (0,\b/3) .. (\a/4,\b/4);
\filldraw[red] (\a/4,-\b/4) circle (.2cm);
\filldraw[red] (-\a/4,\b/4) circle (.2cm);
\filldraw[blue] (\a/4,\b/4) circle (.2cm);
\filldraw[blue] (-\a/4,-\b/4) circle (.2cm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tkzSetUpColors[background=white,text=black]\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]\tkzSetUpArc[color=gray,line width=.2pt]\tkzSetUpPoint[size=2,color=teal]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
,new/.style={color=orange,line width=.2pt},label angle style/.append style={color=teal,font=\footnotesize},label style/.append style={below,color=teal,font=\scriptsize},line style/.style={line width=.2pt}}
\begin{document}

\begin{tikzpicture}
\tkzDefPoints{0/0/A,5/0/B,3/2/C}\tkzDrawPolygon(A,B,C)\tkzDrawPoints(A,B,C)\tkzLabelPoints(A,B)\tkzLabelPoints[above right](C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{positioning,automata,arrows}
\newcommand{\mc}{\ensuremath{\mathit{,
}}}
\begin{document}
\begin{tikzpicture}[shorten >=0pt,node distance=1.5cm,on grid,auto,semithick]
\node[state,label=left:$\{a\}\{b\}$] (q_0) {$\top$};
\node[state,label=left:$\{a\mc b\}$] (q_1) [below=of q_0] {$\top$};
\node[state,label=left:$\{b\}\{a\}$] (q_2) [below=of q_1] {$\top$};
\path (q_0) edge node {$b$} (q_1) (q_1) edge node {$a$} (q_2);
\end{tikzpicture}
\end{document}