AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.25]
\def\p{3};
\draw[thick] ({-sqrt(3)},-1) -- ({sqrt(3)},-1) -- (0,2) -- cycle;
\draw[dashed,thick] ({sqrt(3)},1) -- ({-sqrt(3)},1);
\draw[dashed,thick] ({-sqrt(3)},1) -- (0,-2);
\draw[dashed,thick] (0,-2) -- ({sqrt(3)},1);
\draw[dashdotted,thick] (0,-2) -- ({-sqrt(3)},-1);
\draw[dashdotted,thick] (0,-2) -- ({sqrt(3)},-1);
\draw[dashdotted,thick] ({sqrt(3)},1) -- ({sqrt(3)},-1);
\draw[dashdotted,thick] ({sqrt(3)},1) -- (0,2);
\draw[dashdotted,thick] ({-sqrt(3)},1) -- (0,2);
\draw[dashdotted,thick] ({-sqrt(3)},1) -- ({-sqrt(3)},-1);
\draw[red,thick,variable=\t,domain={1/(2^(\p-1)+1)}:{2^(\p-1)/(2^(\p-1)+1)}]
plot ( {-sqrt(3)*(1-\t) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))},
{(-(1-\t) -2*\t) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))} )
-- plot ( {sqrt(3)*\t / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))},
{(-2*(1-\t) - \t) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))} )
-- plot ( {sqrt(3) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))},
{(2*\t -1) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))} )
-- plot ( {sqrt(3)*(1-\t) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))},
{((1-\t) + 2*\t) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))} )
-- plot ( {-sqrt(3)*\t / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))},
{(2*(1-\t) + \t)) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))} )
-- plot ( {-sqrt(3) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))},
{(-\t + (1-\t)) / (2^(1/\p) * (\t^(\p/(\p-1))+(1-\t)^(\p/(\p-1)))^((\p-1)/\p))} )
-- cycle;
\draw[blue,thick] ({-sqrt(3)},0) -- ({-sqrt(3)/2},-1.5) -- ({sqrt(3)/2},-1.5) -- ({sqrt(3)},0) -- ({sqrt(3)/2},1.5) -- ({-sqrt(3)/2},1.5) -- cycle;
\draw[orange,thick] ({sqrt(3/2)},{sqrt(1/2)}) -- (0,{sqrt(2)}) -- ({-sqrt(3/2)},{sqrt(1/2)})
-- ({-sqrt(3/2)},{-sqrt(1/2)}) -- (0,{-sqrt(2)}) -- ({sqrt(3/2)},{-sqrt(1/2)}) -- cycle;
\fill (0,0) circle [radius=1.5pt] node[anchor=west] {0};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}
\clip (-2,-2) rectangle (2,2);
\draw [name path=curve 1] (-2,-1) .. controls (8,-1) and (-8,1) .. (2,1);
\draw [name path=curve 2] (-1,-2) .. controls (-1,8) and (1,-8) .. (1,2);
\fill [name intersections={of=curve 1 and curve 2, by={a,b}}]
(a) circle (2pt)
(b) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm,graphicx, algorithm, algorithmic, enumerate, mathrsfs, setspace, tikz, stmaryrd, mathdots, youngtab,epstopdf,comment,bm,hyperref}
\usetikzlibrary{arrows,decorations.markings}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw (0,0)--(1,0)--({1+sqrt(2)/2},{sqrt(2)/2})--({1+sqrt(2)/2},{1+sqrt(2)/2})--({1},{1+sqrt(2)})--({0},{1+sqrt(2)})--({-sqrt(2)/2},{1+sqrt(2)/2})--({-sqrt(2)/2},{sqrt(2)/2})--(0,0);
\draw[shift={(0,1)}] (0,0)--(1,0)--({1+sqrt(2)/2},{sqrt(2)/2})--({sqrt(2)/2},{sqrt(2)/2})--(0,0);
\draw[shift={(1,0)}] (0,0)--({sqrt(2)/2},{sqrt(2)/2})--({sqrt(2)/2},{1+sqrt(2)/2})--(0,1)--(0,0);
\draw (0,0)--(0,1)--({-sqrt(2)/2},{1 + sqrt(2)/2})--({-sqrt(2)/2},{sqrt(2)/2})--(0,0);
\draw (0,0)--(1,0)--(1,1)--(0,1)--(0,0);
\draw[shift={(0,1)}] (0,0)--({sqrt(2)/2},{sqrt(2)/2})--(0,{sqrt(2)})--({-sqrt(2)/2},{sqrt(2)/2})--(0,0);
\draw[shift={({sqrt(2)/2},{1+sqrt(2)/2})}] (0,0)--(1,0)--({1 - sqrt(2)/2},{sqrt(2)/2})--({- sqrt(2)/2},{sqrt(2)/2})--(0,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{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}\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}\providecolor{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,color=teal]\tikzset{every picture/.style={line width=.2pt}
}\tikzset{line style/.style={line width=.2pt}
}
\begin{document}

\begin{tikzpicture}
\tkzDefPoints{0/0/A,4/0/B}\tkzDrawSegment[vector style](A,B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\definesubmol{&}{-[,,,,draw=none]}
\definesubmol{&&}{-[,,,2,draw=none]}
\chemfig{*6((-HO)-=*6(!&!{&&}HN(-CH_3)-[,,2]-(<OH)-)-=-(-HO)=)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{multipoles/rotary/arrow=both}\draw(0,0)--++(1,0)node[rotary switch <-=8 in 120 wiper 40,anchor=in](A){};
\draw(3,0)--++(1,0)node[rotary switch,anchor=in](B){};
\draw[red](A.out 4)-|(3,0);
\draw[blue](A-out 2.n)--++(0,0.5)-|(B-out 1.n);
\draw(B.out 3)--++(1,0)node[rotary switch -=5 in 90 wiper 15,anchor=in](C){};
\draw(C.out 3)--++(1,0)node[rotary switch ->,xscale=-1,anchor=out 3](D){};
\draw[green,dashed](B.mid)--++(-.5,-1)-|(C.mid);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
surf,
shader=flat,
samples=10,
domain=0:1,
] {x^2*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\tikzset{tdax/.style={muxdemux,muxdemux def={NL=2,Lh=3,NR=1,Rh=0,NB=4,NT=5}
,font=\scriptsize\ttfamily}}
\begin{document}
\tikzset{tdax/.style={muxdemux,muxdemux def={NL=2,Lh=3,NR=1,Rh=0,NB=4,NT=5}
,font=\scriptsize\ttfamily}}
\begin{circuitikz}
\draw(0,0)node[tdax]{TDA1}(2.5,0)node[tdax,muxdemux def={Rh=0.5},draw only top pins={1,4-5}]{TDA2};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colormap/cool]
\addplot3 [surf,samples=10,domain=0:1,shader=interp]
{x*(1-x)*y*(1-y)};
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[colormap/cool]
\addplot3 [surf,samples=25,domain=0:1,shader=flat]
{x*(1-x)*y*(1-y)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\tikzset{every node/.style={fill=white,circle,minimum size=0.35cm}
}\node[draw,diamond] (v) at (-1,1) {};
\node (v1) at (-2,1) {};
\node[draw] (x') at (0,0) {};
\node[draw] (x'') at (1,1) {};
\node[draw] (x1) at (-1,-2) {};
\node[draw] (x2) at (1,-2) {};
\node (x11) at (-1.5,-3) {};
\node (x12) at (-0.5,-3) {};
\node[draw] (x13) at (-2,-1.4) {};
\node[draw] (x14) at (-2,-2.6) {};
\node (x21) at (1.5,-3) {};
\node (x22) at (0.5,-3) {};
\node[draw] (x23) at (2,-1.4) {};
\node[draw] (x24) at (2,-2.6) {};
\node[draw,rectangle] (x''1) at (2,0.75) {};
\node[draw,rectangle] (x''2) at (2,1.25) {};
\node[draw,rectangle] (x-12) at (0,-2) {};
\node[draw,rectangle] (x31) at (-3,-1.1) {};
\node[draw,rectangle] (x32) at (-3,-1.7) {};
\node[draw,rectangle] (x33) at (-3,-2.3) {};
\node[draw,rectangle] (x34) at (-3,-2.9) {};
\node[draw,rectangle] (x41) at (3,-1.1) {};
\node[draw,rectangle] (x42) at (3,-1.7) {};
\node[draw,rectangle] (x43) at (3,-2.3) {};
\node[draw,rectangle] (x44) at (3,-2.9) {};
\path (v) edge[dashed] (v1) edge[-] (x'') edge[-] (x');
\path (x') edge[dashed] (x'') edge[dashed] (x1) edge[dashed] (x-12) edge[dashed] (x2);
\path (x'') edge[dashed] (x''1) edge[dashed] (x''2);
\path (x1) edge[dashed] (x-12) edge[dashed] (x11) edge[dashed] (x12) edge[-] (x13) edge[-] (x14);
\path (x2) edge[dashed] (x-12) edge[dashed] (x21) edge[dashed] (x22) edge[-] (x23) edge[-] (x24);
\path (x13) edge[dashed] (x31) edge[dashed] (x32);
\path (x14) edge[dashed] (x33) edge[dashed] (x34);
\path (x23) edge[dashed] (x41) edge[dashed] (x42);
\path (x24) edge[dashed] (x43) edge[dashed] (x44);
\path (x11) -- node{\ldots} (x12);
\path (x21) -- node{\ldots} (x22);
\path (x13) -- node[rotate=90]{\ldots} (x14);
\path (x23) -- node[rotate=90]{\ldots} (x24);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\coordinate (00) at (0,0); \coordinate (10) at (1,0); \coordinate (0-1) at (0,-1);
\coordinate (11) at (1,1); \coordinate (01) at (0,1); \coordinate (02) at (0,2);
\coordinate (-13) at (-1,3);
\draw [step=1, gray] (-2.3,-2.3) grid (2.3,4.3);
\draw [line width=0.06cm] (0-1)--(10) ; \draw [line width=0.06cm] (10)--(11) ;
\draw [line width=0.06cm] (11)--(-13) ; \draw [line width=0.06cm] (-13)--(0-1) ;
\draw [line width=0.025cm] (00) circle [radius=0.25] ;
\draw [line width=0.05cm, fill=black] (00) circle [radius=0.1] ; \draw [line width=0.05cm, fill=black] (10) circle [radius=0.1] ;
\draw [line width=0.05cm, fill=black] (0-1) circle [radius=0.1] ;
\draw [line width=0.05cm, fill=black] (11) circle [radius=0.1] ; \draw [line width=0.05cm, fill=black] (01) circle [radius=0.1] ;
\draw [line width=0.05cm, fill=black] (02) circle [radius=0.1] ; \draw [line width=0.05cm, fill=black] (-13) circle [radius=0.1] ;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}

\begin{circuitikz}[scale=3, transform shape]

\fill[cyan] (0,0) rectangle (4.1,-0.6);
\ctikzset{open poles fill=red}\tikzset{open poles opacity=0.5}

\draw[fill opacity=0.8] (0,0) to[generic, fill=white, -o] ++(2,0) --++(0,-0.5);
\draw (2.2,0) -- ++(0.5,0) node[ocirc, anchor=180, fill opacity=0.5]{};
\draw (3,0) node[ocirc, fill opacity=0.5](B){} (B.0) --++(0.5,0) (B.-90) --++(0,-0.5);
\draw (3.6,0) -- ++(0.2,0) node[ocirc, fill=white, fill opacity=0.5, anchor=180]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath,latexsym,amscd,amsfonts}
\usepackage{xcolor}
\usepackage[utf8x]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,calc,positioning,fit}
\tikzstyle{vertex} = [fill,shape=circle,node distance=80pt]\tikzstyle{edge} = [fill,opacity=.5,fill opacity=.5,line cap=round, line join=round, line width=50pt]\tikzstyle{elabel} = [fill,shape=circle,node distance=30pt]
\begin{document}
\begin{tikzpicture}
\coordinate (v1) at (0,0) {};
\coordinate (v2) at (2,0) {};
\coordinate (v3) at (4,0) {};
\coordinate (v4) at (6,0) {};
\foreach \v in {v1,v2,v3,v4}{\node [circle, minimum size=0.4cm, line width=0pt] (\v') at (\v) {};
}\filldraw [draw=black, fill=red, opacity=0.2] (v1'.270) -- (v3'.270) arc (-90:90:0.2) -- (v2'.90) arc (90:90:0.2) -- (v1'.90) arc (90:270:0.2) -- cycle;
\filldraw [draw=black, fill=blue, opacity=0.2] (v2'.90) -- (v4'.90) arc (90:-90:0.2) -- (v3'.-90) arc (-90:-90:0.2) -- (v2'.-90) arc (-90:-270:0.2) -- cycle;
\filldraw [draw=black, fill=cyan, opacity=0.2] plot [smooth, tension=2] coordinates {(v1'.180) (3,1.2) (v4'.0)} arc(0: -90:0.2) -- (v3'.270) arc(270:180:0.2) plot [smooth, tension=2] coordinates {(v3'.180) (2,0.8) (v1'.0)} arc(0:-180:0.2);
\filldraw [draw=black, fill=yellow, opacity=0.2] plot [smooth, tension=2] coordinates {(v1'.180) (3,-1.2) (v4'.0)} arc(0:180:0.2) plot [smooth, tension=2] coordinates {(v4'.180) (4,-0.8) (v2'.0)} arc(0:90:0.2) -- (v1'.90) arc(90:180:0.2);
\foreach \l in {1,...,4}{\filldraw [black] (v\l) circle (2pt) node [label=below:$v_\l$] {};
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\begin{document}
\begin{tikzpicture}[->,>=stealth,shorten >=1pt,auto,node distance=5cm,thick,node/.style={circle,draw}]
\node[node] at (3,2.5) (00) {$\substack{0\\0}$};
\node[node] at (4,4.5) (01) {$\substack{0\\1}$};
\node[node] at (5,2.5) (11) {$\substack{1\\1}$};
\node[node] at (1.5,0.5) (02) {$\substack{0\\2}$};
\node[node] at (6.5,0.5) (12) {$\substack{1\\2}$};
\node[node] at (4,0.7) (22) {$\substack{2\\2}$};
\path (00) edge (01) edge (02) edge [bend right=5] (12) (11) edge (12) edge (01) edge [bend right=5] (02) (22) edge (02) edge (12) edge [bend right=5] (01) (01) edge [loop above] node {$\substack{0\\1}$\,$\substack{\\ ,}$\,$\substack{1\\0}$} (01) edge (11) edge [bend left=5] (22) edge [bend right=50] node {$\substack{0\\2}$\,$\substack{\\ ,}$\,$\substack{2\\0}$} (02) edge [bend left=90] node {$\substack{1\\2}$\,$\substack{\\ ,}$\,$\substack{2\\1}$} (12) edge (00) (12) edge [loop right] node {$\substack{1\\2}$\,$\substack{\\ ,}$\,$\substack{2\\1}$} (12) edge (22) edge [bend left=5] (00) edge [bend right=50] node {$\substack{0\\1}$\,$\substack{\\ ,}$\,$\substack{1\\0}$} (01) edge [bend left=90] node {$\substack{0\\2}$\,$\substack{\\ ,}$\,$\substack{2\\0}$} (02) edge (11) (02) edge [loop left] node {$\substack{0\\2}$\,$\substack{\\ ,}$\,$\substack{2\\0}$} (02) edge (00) edge [bend left=5] (11) edge [bend right=50] node {$\substack{1\\2}$\,$\substack{\\ ,}$\,$\substack{2\\1}$} (12) edge [bend left=90] node {$\substack{0\\1}$\,$\substack{\\ ,}$\,$\substack{1\\0}$} (01) edge (22);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\node [nmos](A) at (0,3) {};
\node [nfet](B) at (0,1.5) {};
\node [pigbt](C) at (0,0) {};
\foreach \myn in {A, B, C}
\draw[color=red] (\myn.centergap)
node[ocirc]{} -- ++(1,0)
node[right, font=\tiny]{centergap};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*6((-HO)-=*6(--HN---)-=-(-HO)=)}
\end{document}