AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[scale=1.4]
\clip (-0.5,-1.5) rectangle (8.5,1.5);
\begin{scope}[circle,minimum size=10mm]
\node at (0, 0) [draw=blue!50,fill=blue!20] (s) {$s$};
\node at (1, 0) [draw=red!50,fill=red!20] (1) {$p_1$};
\node at (3, 0) [draw=red!50,fill=red!20] (k-2) {$p_{k - 2}$};
\node at (4, 0) [draw=red!50,fill=red!20] (k-1) {$p_{k - 1}$};
\node at (6, 0) [draw=red!50,fill=red!20] (k) {$p_{k}$};
\node at (5, -1) [draw=black!50] (v1) {$v_1$};
\node at (6, 1) [draw=black!50] (v2) {$v_2$};
\node at (6, -1) [draw=black!50] (v3) {$v_3$};
\node at (7, -1) [draw=black!50] (v4) {$v_4$};
\node at (8, 1) [draw=black!50] (v5) {$v_5$};
\node at (8, 0) [draw=blue!50,fill=blue!20] (t) {$t$};
\end{scope}
\path [every node/.style={font=\sffamily\small, sloped}]
(s) edge [red] node [above] {} (1)
(k-1) edge [red] node [above] {} (k)
(k-2) edge [red] node [above] {} (k-1)
(k-1) edge node [above] {} (v1)
(k-1) edge node [above] {} (v2)
(v2) edge node [above] {} (t)
(v1) edge node [above] {} (k)
(k) edge [red] node [above] {} (t)
(k) edge node [above] {} (v3)
(k) edge node [above] {} (v4)
(v4) edge node [above] {} (t)
(v5) edge node [above] {} (t);
\draw [decorate, decoration={zigzag, segment length=5mm, amplitude=5mm}, red] (1) -- (k-2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0,.5,.5}\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
,label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}
\begin{tikzpicture}[scale=3]
\tkzDefPoints{0/0/A,2/0/B}\tkzDefSquare(A,B)\tkzGetPoints{C}{D}\tkzDefPointBy[rotation=center D angle 45](C)\tkzGetPoint{G}\tkzDefSquare(G,D)\tkzGetPoints{E}{F}\tkzInterLL(B,C)(E,F)\tkzGetPoint{H}\tkzFillPolygon[gray!10](D,E,H,C,D)\tkzDrawPolygon(A,...,D)\tkzDrawPolygon(D,...,G)\tkzDrawSegment(B,E)\tkzMarkSegments[mark=|,size=3pt,color=gray](A,B B,C C,D D,A E,F F,G G,D D,E)\tkzMarkSegments[mark=||,size=3pt,color=gray](B,E E,H)\tkzLabelPoints[left](A,D)\tkzLabelPoints[right](B,C,F,H)\tkzLabelPoints[above](G)\tkzLabelPoints[below](E)\tkzMarkRightAngles(D,A,B D,G,F)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
[12]\usepackage{xcolor}
\usepackage{amsfonts,amssymb,amsmath,amsthm,graphicx,latexsym}
\usepackage{pgfplots}
\usepackage{tikz}
\begin{document}

\begin{tikzpicture}[thick,font=\small]

\path (0,0) node[] (a) {11} (0.5,0) node[] (b) {10} (1,0) node[] (c) {9} (1.5,0) node[] (d) {8} (2,0) node[] (e) {7} (2.5,0) node[] (f) {6} (3,0) node[] (g) {5} (3.5,0) node[] (h) {4} (4,0) node[] (i) {3} (4.5,0) node[] (j) {2} (5,0) node[] (k) {1};
\draw (a) -- +(0,1) -| (f);
\draw (g) -- +(0,1) -| (i);
\draw (k)-- +(0,1);
\draw (d)-- +(0,0.7);
\draw (b) -- +(0,0.8) -| (e);
\draw (b) -- +(0,0.8) -| (c);
\draw (h) -- +(0,0.8) -| (j);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
matrix,
circuits.logic.CDH
}
\begin{document}
\begin{tikzpicture}[circuit logic CDH,
tiny circuit symbols,
every circuit symbol/.style={
fill=white,draw}]
\matrix[column sep=7mm]
{
\node (i0) {0}; & & \\
& \node [and gate] (a1) {}; & \\
\node (i1) {0}; & & \node [or gate] (o) {};\\
& \node [nand gate] (a2) {}; & \\
\node (i2) {1}; & & \\
};
\draw (i0.east) -- ++(right:3mm) |- (a1.input 1);
\draw (i1.east) -- ++(right:3mm) |- (a1.input 2);
\draw (i1.east) -- ++(right:3mm) |- (a2.input 1);
\draw (i2.east) -- ++(right:3mm) |- (a2.input 2);
\draw (a1.output) -- ++(right:3mm) |- (o.input 1);
\draw (a2.output) -- ++(right:3mm) |- (o.input 2);
\draw (o.output) -- ++(right:3mm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amssymb,url,mathdots,verbatim,psfrag,color,mathtools}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{calc,decorations}
\pgfdeclaredecoration{arrows}{draw}{\state{draw}[width=\pgfdecoratedinputsegmentlength]{\path[every arrow subpath/.try] \pgfextra{\pgfpathmoveto{\pgfpointdecoratedinputsegmentfirst}\pgfpathlineto{\pgfpointdecoratedinputsegmentlast}};
}}\tikzset{every arrow subpath/.style={->, draw, ultra thick}
}
\begin{document}
\begin{tikzpicture}[scale=.45,baseline=(current bounding box.center)]
\draw[->,thick] (-5.75,0)--(3.75,0) node[right]{$x$};
\draw[->,thick] (0,-6.75)--(0,0.75) node[above]{$y$};
\draw[dotted,thick] (-0.75,0.75)--(3.75,-3.75) node[right]{\tiny $x+y=0$};
\draw[dotted,thick] (0.25,0.75)--(3.75,-2.75) node[right]{\tiny $x+y=1$};
\draw [help lines,step=1cm,dashed] (-5.75,-6.75) grid (3.75,0.75);
\fill[red] (0,0) circle (5pt);
\fill (-2,0) circle (5pt) node[right]{$A_1$};
\fill (-5,-1) circle (5pt) node[right]{$A_2$};
\fill (0,-2) circle (5pt) node[left]{$A_1$};
\fill (-1,-5) circle (5pt) node[left]{$A_2$};
\fill (3,-2) circle (5pt) node[right]{$E_1$};
\fill (2,-1) circle (5pt) node[right]{$E_2$};
\path[decoration=arrows, decorate] (0,-2) --++ (1,-1)--++(1,1) --++ (0,1);
\path[decoration=arrows, decorate] (-1,-5) --++ (1,1)--++(1,-1)--++(1,1)--++(1,1)--++(0,1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em, bond offset=1pt, cram width=2pt}
\begin{document}
\chemfig[cram width=2pt]{HO-[2,0.5,2]?<[7,0.7]-[,,,, line width=2pt]>[1,0.7]-[3,0.7]O-[4]?}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{color, amsthm, textcase, setspace, amssymb, lineno, amsmath, amsfonts, latexsym, fancyhdr, longtable, ulem}
\usepackage{tikz,tikz-3dplot}
\usetikzlibrary{decorations.markings, arrows.meta}
\begin{document}
\begin{tikzpicture}
[decoration={markings,mark=at position 0.6 with
{\arrow{Stealth}}}]
\draw (.5,1.5) -- (2.5,1.5);
\draw (.5,.75) -- (2.5,.75);
\draw (.5,.75) -- (.5,1.5);
\draw (2.5,.75) -- (2.5,1.5);
\draw (4.5,1.5) -- (6.5,1.5);
\draw (4.5,.75) -- (6.5,.75);
\draw (4.5,.75) -- (4.5,1.5);
\draw (6.5,.75) -- (6.5,1.5);
\draw (2.6,1.5) -- (4.4,1.5);
\draw (2.6,.75) -- (4.4,.75);
\draw (2.6,.75) -- (2.6,1.5);
\draw (4.4,.75) -- (4.4,1.5);
\draw (.5,-.25) -- (4.5,-.25);
\draw (.5,.6) -- (4.5,.6);
\draw (.5,.6) -- (.5,-.25);
\draw (4.5,.6) -- (4.5,-.25);
\draw (1,1.25) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (1+) {};
\draw (2,1.25) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (2+) {};
\draw (3,1.25) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (3+) {};
\draw (4,1.25) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (4+) {};
\draw (5,1.25) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (5+) {};
\draw (6,1.25) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (6+) {};
\draw (7,1.25) node[draw,circle,fill=white,minimum size=5pt,inner sep=0pt] (7+) {};
\draw (1,0) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (1-) {};
\draw (2,0) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (2-) {};
\draw (3,0) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (3-) {};
\draw (4,0) node[draw,circle,fill=black,minimum size=5pt,inner sep=0pt] (4-) {};
\draw (5,0) node[draw,circle,fill=white,minimum size=5pt,inner sep=0pt] (5-) {};
\draw (6,0) node[draw,circle,fill=gray,minimum size=5pt,inner sep=0pt] (6-) {};
\draw (7,0) node[draw,circle,fill=gray,minimum size=5pt,inner sep=0pt] (7-) {};
\draw (1+) to (6+);
\draw (1-) to (4-);
\draw [dashed] (1+) to [bend left=60] (6+);
\draw [dashed] (2+) to [bend left=60] (5+);
\draw [dashed] (3+) to [bend left=60] (4+);
\draw [dashed] (1-) to [bend right=60] (4-);
\draw [dashed] (2-) to [bend right=60] (3-);
\node at (.5,-.5) {$D'$};
\node at (.5,1.75) {$A'$};
\node at (3.5,1.75) {$C'$};
\node at (6.5,1.75) {$B'$};
\node at (1,1) {$w_1^+$};
\node at (2,1) {$w_2^+$};
\node at (3,1) {$w_3^+$};
\node at (4,1) {$w_4^+$};
\node at (5,1) {$w_5^+$};
\node at (6,1) {$w_6^+$};
\node at (1,.35) {$w_1^-$};
\node at (2,.35) {$w_2^-$};
\node at (3,.35) {$w_3^-$};
\node at (4,.35) {$w_4^-$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb, amsmath,amsthm}
\usepackage{mathrsfs, yfonts, color, calligra}
\usepackage{pgffor}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro{\ul}{0.7};
\draw[->] (1.1*\ul,4.9*\ul)--(1.9*\ul,4.1*\ul);
\draw[->] (2.1*\ul,3.9*\ul)--(2.9*\ul,3.1*\ul);
\draw[dotted] (3.1*\ul,2.9*\ul)--(3.9*\ul,2.1*\ul);
\draw[->] (4.1*\ul,1.9*\ul)--(4.9*\ul,1.1*\ul);
\draw[->] (5.1*\ul,0.9*\ul)--(5.9*\ul,0.1*\ul);
\draw[->] (3.1*\ul,4.9*\ul)--(3.9*\ul,4.1*\ul);
\draw[->] (4.1*\ul,3.9*\ul)--(4.9*\ul,3.1*\ul);
\draw[dotted] (5.1*\ul,2.9*\ul)--(5.9*\ul,2.1*\ul);
\draw[->] (6.1*\ul,1.9*\ul)--(6.9*\ul,1.1*\ul);
\draw[->] (7.1*\ul,0.9*\ul)--(7.9*\ul,0.1*\ul);
\draw[->] (5.1*\ul,4.9*\ul)--(5.9*\ul,4.1*\ul);
\draw[->] (6.1*\ul,3.9*\ul)--(6.9*\ul,3.1*\ul);
\draw[dotted] (7.1*\ul,2.9*\ul)--(7.9*\ul,2.1*\ul);
\draw[->] (8.1*\ul,1.9*\ul)--(8.9*\ul,1.1*\ul);
\draw[->] (9.1*\ul,0.9*\ul)--(9.9*\ul,0.1*\ul);
\draw[->] (2.1*\ul,4.1*\ul)--(2.9*\ul,4.9*\ul);
\draw[->] (3.1*\ul,3.1*\ul)--(3.9*\ul,3.9*\ul);
\draw[->] (4.1*\ul,4.1*\ul)--(4.9*\ul,4.9*\ul);
\draw[->] (5.1*\ul,3.1*\ul)--(5.9*\ul,3.9*\ul);
\draw[->] (5.1*\ul,1.1*\ul)--(5.9*\ul,1.9*\ul);
\draw[->] (6.1*\ul,0.1*\ul)--(6.9*\ul,0.9*\ul);
\draw[->] (7.1*\ul,1.1*\ul)--(7.9*\ul,1.9*\ul);
\draw[->] (8.1*\ul,0.1*\ul)--(8.9*\ul,0.9*\ul);
\fill[fill=black] (1*\ul,5*\ul) node[] {${\scriptscriptstyle (3,m-1)}$};
\fill[fill=black] (2*\ul,4*\ul) node[] {${\scriptscriptstyle (3,m-2)}$};
\fill[fill=black] (3*\ul,3*\ul) node[] {${\scriptscriptstyle (3,m-3)}$};
\fill[fill=black] (4*\ul,2*\ul) node[] {${\scriptscriptstyle (3,3)}$};
\fill[fill=black] (5*\ul,1*\ul) node[] {${\scriptscriptstyle (3,2)}$};
\fill[fill=black] (6*\ul,0*\ul) node[] {${\scriptscriptstyle (3,1)}$};
\fill[fill=black] (3*\ul,5*\ul) node[] {${\scriptscriptstyle (2,m-1)}$};
\fill[fill=black] (4*\ul,4*\ul) node[] {${\scriptscriptstyle (2,m-2)}$};
\fill[fill=black] (5*\ul,3*\ul) node[] {${\scriptscriptstyle (2,m-3)}$};
\fill[fill=black] (6*\ul,2*\ul) node[] {${\scriptscriptstyle (2,3)}$};
\fill[fill=black] (7*\ul,1*\ul) node[] {${\scriptscriptstyle (2,2)}$};
\fill[fill=black] (8*\ul,0*\ul) node[] {${\scriptscriptstyle (2,1)}$};
\fill[fill=black] (5*\ul,5*\ul) node[] {${\scriptscriptstyle (1,m-1)}$};
\fill[fill=black] (6*\ul,4*\ul) node[] {${\scriptscriptstyle (1,m-2)}$};
\fill[fill=black] (7*\ul,3*\ul) node[] {${\scriptscriptstyle (1,m-3)}$};
\fill[fill=black] (8*\ul,2*\ul) node[] {${\scriptscriptstyle (1,3)}$};
\fill[fill=black] (9*\ul,1*\ul) node[] {${\scriptscriptstyle (1,2)}$};
\fill[fill=black] (10*\ul,0*\ul) node[] {${\scriptscriptstyle (1,1)}$};
\draw[dotted] (0,2.5*\ul)--(2.2*\ul,2.5*\ul);
\draw[dotted] (8.5*\ul,2.5*\ul)--(11*\ul,2.5*\ul);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{graphicx, color}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{decorations.pathmorphing, decorations.text}
\usepackage{xcolor}
\tikzset{vertex/.style={ fill=black, draw=black, circle, inner sep=1pt, minimum size = 3pt }
}
\begin{document}
\begin{tikzpicture}[scale=.65]
\begin{scope}\draw(0,0) circle(1) ;
\draw(-1, 0) node{$\bullet$} [left]node{$x$};
\draw(1, 0) node{$\bullet$} [right]node{$x'$};
\draw(-.7, .7) node{$\bullet$} [above left]node{$y$};
\draw(.7, .7) node{$\bullet$} [above right]node{$z$};
\draw(0, -1.4) node{A} ;
\end{scope}
\begin{scope}[xshift = 4cm]
\draw(0,0) circle(1) ;
\draw(-1, 0) node{$\bullet$} [left]node{$x$};
\draw(1, 0) node{$\bullet$} [right]node{$x'$};
\draw(-.7, -.7) node{$\bullet$} [below left]node{$y$};
\draw(.7, .7) node{$\bullet$} [above right]node{$z$};
\draw(0, -1.4) node{B} ;
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts,amsmath,amssymb,amscd,amsxtra,amsthm,verbatim,calc}
\usepackage{tikz}
\usetikzlibrary{cd}
\usetikzlibrary{patterns}
\usetikzlibrary{backgrounds}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=2pt,minimum height=2pt]
\node (a)[point] at (0,0) {};
\node (b)[point] at (2,0) {};
\node (c)[point] at (1,1.7) {};
\node[point] at (3,0.85) {};
\draw (a.center) -- (b.center) -- (c.center) -- cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts}
\usepackage{amssymb}
\usepackage{tcolorbox}
\usepackage{tikz,float,upgreek, subcaption}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\draw[gray, stealth-,very thick] (-3,3) -- (0,0);
\draw[gray, -stealth,very thick](0,0) -- (3,3);
\draw[gray, stealth-stealth,very thick] (-4,0) -- (4,0);
\filldraw[brown,ultra thick] (0,0) -- (.8,0);
\filldraw[blue,ultra thick] (0,0) -- (-1.1,0);
\filldraw[pink,ultra thick] (.8,0) -- (1.7,0);
\filldraw[yellow,ultra thick] (1.7,0) -- (3.3,0);
\filldraw[red,ultra thick] (-1.1,0) -- (-2.4,0);
\filldraw (0,0) circle (2pt);
\filldraw (.8,0) circle (2pt);
\filldraw (1.7,0) circle (2pt);
\filldraw (-1.1,0) circle (2pt);
\filldraw (3.3,0) circle (2pt);
\filldraw (-2.4,0) circle (2pt);
\node[anchor=north] at (0.5,0) {\tiny $R_1$};
\node[anchor=north] at (-0.5,0) {\tiny $R_2$};
\node[anchor=north] at (1.25,0) {\tiny $R_3$};
\node[anchor=north] at (-1.8,0) {\tiny $R_4$};
\node[anchor=north] at (2.45,0) {\tiny $R_5$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{arrows.meta,bending,decorations.markings}
\tikzset{attach arrow/.style={decoration={markings,mark=at position 0 with {\pgfextra{\pgfmathsetmacro{\tmpArrowTime}
{\pgfkeysvalueof{/tikz/arc arrow/length}/(\pgfdecoratedpathlength)}\xdef\tmpArrowTime{\tmpArrowTime}}},mark=at position {#1-3*\tmpArrowTime} with {\coordinate(@1);
},mark=at position {#1-2*\tmpArrowTime} with {\coordinate(@2);
},mark=at position {#1-\tmpArrowTime} with {\coordinate(@3);
},mark=at position {#1+\tmpArrowTime/2} with {\coordinate(@4);
\draw[-{Stealth[length=\pgfkeysvalueof{/tikz/arc arrow/length},bend]}]plot[smooth]coordinates{(@1)(@2)(@3)(@4)};
}},postaction=decorate},attach arrow/.default=.5,arc arrow/.cd,length/.initial=2mm}
\begin{document}
\begin{tikzpicture}
\draw[-stealth](-2,0)--(4,0);
\draw[-stealth](0,-2)--(0,4);
\draw[semithick,attach arrow/.list={.1,.3,.55,.8}](0,.5)arc[start angle=270,end angle=0,radius=1]to[out=-90,in=90](.5,0)arc[start angle=180,end angle=450,radius=1]to[out=180,in=0]cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\tikzset{gp2 node/.style={draw, circle, thick, minimum width=0.64cm}}
\begin{document}
\begin{tikzpicture}
\node (a) at (0,0) [gp2 node] {x};
\node (b) at (1.25,0) [gp2 node] {y};
\node (c) at (2.5,0) [gp2 node] {z};
\node (d) at (3.375,0) {$\Rightarrow$};
\node (e) at (4.25,0) [gp2 node] {x};
\node (f) at (5.5,0) [gp2 node] {y};
\node (g) at (6.75,0) [gp2 node] {z};
\node (A) at (0,-.45) {\tiny{1}};
\node (B) at (1.25,-.45) {\tiny{2}};
\node (C) at (2.5,-.45) {\tiny{3}};
\node (E) at (4.25,-.45) {\tiny{1}};
\node (F) at (5.5,-.45) {\tiny{2}};
\node (G) at (6.75,-.45) {\tiny{3}};
\draw (a) edge[->,thick] node[above] {a} (b)
(b) edge[->,thick] node[above] {b} (c)
(e) edge[->,thick] node[above] {a} (f)
(f) edge[->,thick] node[above] {b} (g)
(e) edge[->,thick,bend left=40] (g);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=.5]
\tkzDefPoint(0,0){O}
\tkzDefPoint(2,0){A}
\foreach \ang in {5,10,...,360}{
\tkzDefPoint(\ang:2){M}
\tkzDrawCircle(M,A)
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath,amsthm,amsfonts,amssymb,braket}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{decorations.text}
\begin{document}
\begin{tikzpicture}
\newcommand{\scaling}{1.2}
\newcommand{\circlesize}{1.5}
\draw [fill = white, opacity = 0] (-0.3*\scaling,-0.7*\scaling) rectangle (1.3*\scaling,-2.3*\scaling);
\draw [fill = blue, opacity = 0.15] (0*\scaling,-1*\scaling) rectangle (1*\scaling,-2*\scaling);
\draw [line width=0.3mm] (0.00*\scaling , -1.50*\scaling) -- (0.00*\scaling , -1.00*\scaling) node[midway,xshift=1.5mm, yshift=1mm] {\tiny \em Z } ;
\draw [line width=0.3mm] (0.00*\scaling , -1.50*\scaling) -- (0.00*\scaling , -1.00*\scaling) node[midway,xshift=1.5mm, yshift=-1mm] {\tiny \em Z } ;
\node at (0.50*\scaling , -1.50*\scaling) [above] () {\tiny \em Z};
\node at (1.00*\scaling , -1.50*\scaling) [above] () {\tiny \em X};
\draw (0.00*\scaling , -1.00*\scaling) node[circle, draw, line width = 0.2mm, fill=white, minimum size = \circlesize mm, inner sep = 0]{};
\draw (1.00*\scaling , -1.00*\scaling) node[circle, draw, line width = 0.2mm, fill=white, minimum size = \circlesize mm, inner sep = 0]{};
\draw (0.00*\scaling , -1.50*\scaling) node[fill, circle, minimum size = \circlesize mm, inner sep = 0]{};
\draw (0.50*\scaling , -1.50*\scaling) node[fill, circle, minimum size = \circlesize mm, inner sep = 0]{};
\draw (1.00*\scaling , -1.50*\scaling) node[fill, circle, minimum size = \circlesize mm, inner sep = 0]{};
\draw (0.5*\scaling, -2.3*\scaling) node[]{\small 1Z};
\end{tikzpicture}
\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[line cap=round, line join=round]
\foreach[count=\i]\p in {0.1,0.345,0.5,0.9}{
\begin{scope}[shift={(2.5*\i,3.5)}]
\node at (1,1.5) {$p=\p$};
\draw[clip] (0,0) rectangle (2,3);
\draw[fill=yellow,fill opacity=0.5] (4*\p,3) -| (0,3-6*\p) -- cycle;
\end{scope}
\begin{scope}[shift={(2.5*\i,0)}]
\node at (1,1.5) {$p=\p$};
\draw[clip] (0,0) rectangle (2,3);
\draw[fill=yellow,fill opacity=0.5] (-3,3) |- ({-3+5*\p},0) --++ (3,3) -- cycle;
\end{scope}}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\usepgfplotslibrary{ternary}
\pgfplotsset{width=9.5cm, height=9.5cm}
\begin{document}
\begin{tikzpicture}[xscale=-1]
\begin{ternaryaxis}[
ternary limits relative=false,
xlabel=x,
ylabel=y,
zlabel=z,
xmin=0,
xmax=100,
ymin=0,
ymax=100,
zmin=0,
zmax=100,
clip=false,
disabledatascaling,
label style={sloped}
]
\end{ternaryaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={Cycle color between successive plots, then marks},
cycle multi list={
mark list\nextlist
blue,red
},
samples=3,
legend entries={0,...,20},
legend pos=outer north east,
]
\addplot {x};
\addplot {x-1};
\addplot {x-2};
\addplot {x-3};
\addplot {x-4};
\addplot {x-5};
\addplot {x-6};
\addplot {x-7};
\addplot {x-8};
\addplot {x-9};
\addplot {x-10};
\addplot {x-11};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm}
\usepackage{xcolor}
\usepackage{tikz,pgfplots,float}
\pgfplotsset{compat=1.7}
\usetikzlibrary{arrows,backgrounds,positioning,fit}
\begin{document}
\begin{tikzpicture}[scale = 0.7]
\begin{axis}[axis background/.style={fill=gray!10},grid=major,xmin=-1,xmax=9,ymin=-1,ymax=9,clip = false, axis lines=center, xtick={1,...,8} , ytick = {1,...,8}, xticklabels={,,3,,5,,},axis line style={draw=none},axis line style={draw=none}, yticklabels={,,3,,5,,}]\addplot[line width=0.4mm,domain=1:5 , color=blue]{3};
\addplot[line width=0.4mm,domain=3:7, color=blue]{5};
\addplot [line width=0.4mm,mark=none,color = blue] coordinates {(3,3) (3,7)};
\addplot [line width=0.4mm,mark=none,color = blue] coordinates {(5,1) (5,5)};
\node at (axis cs:2,5) {\large $R_4$};
\node at (axis cs:4,4) {\large $R_5$};
\node at (axis cs:5,6) {\large $R_3$};
\node at (axis cs:6,3) {\large $R_2$};
\node at (axis cs:3,2) {\large $R_1$};
\addplot[color=black,->] coordinates {(0,0) (8,0)};
\addplot[color=black,->] coordinates {(0,0) (0,8)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{etoolbox,color}
\usepackage{tikz}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (138.46,20.71) -- (87.75,84) ;
\draw [fill={rgb, 255:red, 0; green, 0; blue, 0 } ,fill opacity=1 ] (134.75,21.71) .. controls (134.75,20.22) and (135.97,19) .. (137.46,19) .. controls (138.96,19) and (140.18,20.22) .. (140.18,21.71) .. controls (140.18,23.21) and (138.96,24.43) .. (137.46,24.43) .. controls (135.97,24.43) and (134.75,23.21) .. (134.75,21.71) -- cycle ;
\draw (113.11,52.36) -- (136.59,85.36) ;
\draw (87.75,84) -- (108.75,118) -- (66.75,118) -- cycle ;
\draw (136.59,85.36) -- (156.5,117) -- (116.68,117) -- cycle ;
\draw [fill={rgb, 255:red, 155; green, 155; blue, 155 } ,fill opacity=1 ] (135.75,20.71) -- (191.32,85.71) ;
\draw (191.32,85.71) -- (213.05,117) -- (169.59,117) -- cycle ;
\draw [fill={rgb, 255:red, 0; green, 0; blue, 0 } ,fill opacity=1 ] (110.75,52.71) .. controls (110.75,51.22) and (111.97,50) .. (113.46,50) .. controls (114.96,50) and (116.18,51.22) .. (116.18,52.71) .. controls (116.18,54.21) and (114.96,55.43) .. (113.46,55.43) .. controls (111.97,55.43) and (110.75,54.21) .. (110.75,52.71) -- cycle ;
\draw [fill={rgb, 255:red, 0; green, 0; blue, 0 } ,fill opacity=1 ] (84.75,83.71) .. controls (84.75,82.22) and (85.97,81) .. (87.46,81) .. controls (88.96,81) and (90.18,82.22) .. (90.18,83.71) .. controls (90.18,85.21) and (88.96,86.43) .. (87.46,86.43) .. controls (85.97,86.43) and (84.75,85.21) .. (84.75,83.71) -- cycle ;
\draw [fill={rgb, 255:red, 0; green, 0; blue, 0 } ,fill opacity=1 ] (133.75,85.75) .. controls (133.73,84.25) and (134.93,83.02) .. (136.43,83) .. controls (137.93,82.98) and (139.16,84.18) .. (139.18,85.68) .. controls (139.2,87.18) and (138,88.41) .. (136.5,88.43) .. controls (135,88.45) and (133.77,87.25) .. (133.75,85.75) -- cycle ;
\draw [fill={rgb, 255:red, 0; green, 0; blue, 0 } ,fill opacity=1 ] (188.75,85.71) .. controls (188.75,84.22) and (189.97,83) .. (191.46,83) .. controls (192.96,83) and (194.18,84.22) .. (194.18,85.71) .. controls (194.18,87.21) and (192.96,88.43) .. (191.46,88.43) .. controls (189.97,88.43) and (188.75,87.21) .. (188.75,85.71) -- cycle ;
\draw (142,5) node [anchor=north west][inner sep=0.75pt] {$r_{T}$};
\draw (65,63) node [anchor=north west][inner sep=0.75pt] {$x_{1}$};
\draw (130.75,62.71) node [anchor=north west][inner sep=0.75pt] {$x_{2}$};
\draw (190,58) node [anchor=north west][inner sep=0.75pt] {$x_{k}$};
\draw (76,95) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] {${\textstyle x_{1}^{\downarrow T}}$};
\draw (124,95) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] {${\textstyle x_{2}^{\downarrow T}}$};
\draw (181,96) node [anchor=north west][inner sep=0.75pt] [font=\scriptsize] {${\textstyle x_{k}^{\downarrow T}}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
    % 定义半径
    \def\R{3}
    
    % 1. 绘制外部圆弧：从 30度 顺时针绕到 360度 (即回到 0度)
    % 这样会在右上角留下一个 30度的缺口
    \draw[thick] (30:\R) arc (30:360:\R);
    
    % 2. 绘制内部的分隔线
    % 垂直线 (上下贯穿)
    \draw[thick] (0,-\R) -- (0,\R);
    % 水平线 (左半部分)
    \draw[thick] (-\R,0) -- (0,0);
    
    % 3. 绘制缺口处的两条径向线
    % 一条指向正右 (0度)，一条指向右上 (30度)
    \draw[thick] (0,0) -- (0:\R);
    \draw[thick] (0,0) -- (30:\R);
    
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
circuits.ee.IEC
}
\begin{document}
\tikz [circuit ee IEC]
\node [resistor,ohm=5] {};
\end{document}