AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amstext,amsopn,amssymb, amsfonts, amsthm, mathtools}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\draw[thick,->] (0,0) -- (16,0);
\draw[thick,->] (0,0) -- (0,12);
\node at (-0.5, 0) {$0$};
\node at (-0.5, 5) {$1$};
\node at (-0.5, 10) {$2$};
\node at (14, 0.5) {$\hdots$};
\node at (14, 5.5) {$\hdots$};
\node at (2.5, 11) {$\vdots$};
\draw[draw=black] (0,0) rectangle (05, 05);
\draw[draw=black] (0,0) rectangle (07, 04);
\draw[draw=black] (0,0) rectangle (09, 03);
\draw[draw=black] (0,0) rectangle (11, 02);
\draw[draw=black] (0,0) rectangle (13, 01);
\filldraw (00,00) circle [radius=0.05];
\filldraw (4.9, 4.9) circle [radius=0.05];
\node at (4.5, 4.5) {$x_0^0$};
\filldraw (6.9, 3.9) circle [radius=0.05];
\node at (6.5, 3.5) {$x_1^0$};
\filldraw (8.9, 2.9) circle [radius=0.05];
\node at (8.5, 2.5) {$x_2^0$};
\filldraw (10.9, 1.9) circle [radius=0.05];
\node at (10.5, 1.5) {$x_3^0$};
\filldraw (12.9, 0.9) circle [radius=0.05];
\node at (12.5, 0.5) {$x_4^0$};
\draw[draw=black] (0,5) rectangle (05, 10);
\draw[draw=black] (0,5) rectangle (07, 09);
\draw[draw=black] (0,5) rectangle (09, 08);
\draw[draw=black] (0,5) rectangle (11, 07);
\draw[draw=black] (0,5) rectangle (13, 06);
\filldraw (00, 05) circle [radius=0.05];
\filldraw (4.9, 9.9) circle [radius=0.05];
\node at (4.5, 9.5) {$x_0^1$};
\filldraw (6.9, 8.9) circle [radius=0.05];
\node at (6.5, 8.5) {$x_1^1$};
\filldraw (8.9, 7.9) circle [radius=0.05];
\node at (8.5, 7.5) {$x_2^1$};
\filldraw (10.9, 6.9) circle [radius=0.05];
\node at (10.5, 6.5) {$x_3^1$};
\filldraw (12.9, 5.9) circle [radius=0.05];
\node at (12.5, 5.5) {$x_4^1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
>=stealth,
place/.style={
circle,
draw=blue!50,
fill=blue!20,
thick,
minimum size=6mm
},
transition/.style={
rectangle,
draw=black!50,
fill=black!20,
thick,
minimum size=4mm
}
}
\begin{document}
\begin{tikzpicture}
\node[place] (waiting) {};
\node[place] (critical) [below=of waiting] {};
\node[place] (semaphore) [below=of critical] {};
\node[transition] (leave critical) [right=of critical] {};
\node[transition] (enter critical) [left=of critical] {};
\draw [->] (enter critical.east) -- (critical.west);
\draw [->] (waiting.west) .. controls +(left:5mm) and +(up:5mm)
.. (enter critical.north);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph [simple] {
subgraph K_n [n=5, clockwise];
{2, 3} ->[induced complete bipartite] {4, 5}
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
const plot mark mid,
] coordinates {
(0,0.1) (0.1,0.15) (0.2,0.5) (0.3,0.62)
(0.4,0.56) (0.5,0.58) (0.6,0.65) (0.7,0.6)
(0.8,0.58) (0.9,0.55) (1,0.52)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.65, vrtx/.style args = {#1/#2}{circle, draw, fill=black, inner sep=0pt, minimum size=6pt, label=#1:#2}]
\node (0) [vrtx=left/1] at (0,0) {};
\node (1) [vrtx=above/2] at (2,1) {};
\node (2) [vrtx=above/4] at (4,1) {};
\node (3) [vrtx=above/6] at (6,1) {};
\node (k-3) [vrtx=above/$2k-6$] at (10,1) {};
\node (k-2) [vrtx=above/$2k-4$] at (12,1) {};
\node (k-1) [vrtx=above/$2k-2$] at (14,1) {};
\node (k) [vrtx=right/$2k$] at (16,0) {};
\node (k+1) [vrtx=below/$2k-1$] at (14,-1) {};
\node (k+2) [vrtx=below/$2k-3$] at (12,-1) {};
\node (k+3) [vrtx=below/$2k-5$] at (10,-1) {};
\node (2k-1) [vrtx=below/$7$] at (6,-1) {};
\node (2k) [vrtx=below/$5$] at (4,-1) {};
\node (2k+1) [vrtx=below/$3$] at (2,-1) {};
\node (dotsu) at (8,1) {$\ldots$};
\node (dotsc) at (8,0) {$\ldots$};
\node (dotsl) at (8,-1) {$\ldots$};
\draw (0) edge (1);
\draw (1) edge (2);
\draw (2) edge (3);
\draw (k-3) edge (k-2);
\draw (k-2) edge (k-1);
\draw (k-1) edge (k);
\draw (k) edge (k+1);
\draw (k+1) edge (k+2);
\draw (k+2) edge (k+3);
\draw (2k-1) edge (2k);
\draw (2k) edge (2k+1);
\draw (2k+1) edge (0);
\draw (1) edge (2k);
\draw (2) edge (2k+1);
\draw (2) edge (2k-1);
\draw (3) edge (2k);
\draw (k-3) edge (k+2);
\draw (k-2) edge (k+3);
\draw (k-2) edge (k+1);
\draw (k-1) edge (k+2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amsthm}
\usepackage{amssymb, amsrefs}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \a in {1,...,5}{
\draw[fill] ({sin(\a*72)},{cos(\a*72)}) circle (2pt);
\draw ({sin(\a*72+72)},{cos(\a*72+72)})--({sin(\a*72)},{cos(\a*72)});
\draw (0,0)--({sin(\a*72)},{cos(\a*72)});
};
\draw[fill] (0,0) circle (2pt);
\draw (0,0)--node[below]{$c$} (0,0);
\draw[blue] ({sin(72*0)},{cos(72*0)})--node[above]{$1$} ({sin(72*0)},{cos(72*0)});
\draw[red] ({sin(72*1)},{cos(72*1)})--node[right]{$2$} ({sin(72*1)},{cos(72*1)});
\draw[teal] ({sin(72*2)},{cos(72*2)})--node[below right]{$3$} ({sin(72*2)},{cos(72*2)});
\draw[orange] ({sin(72*3)},{cos(72*3)})--node[below left]{$4$} ({sin(72*3)},{cos(72*3)});
\draw[violet] ({sin(72*4)},{cos(72*4)})--node[left]{$5$} ({sin(72*4)},{cos(72*4)});
\draw[blue, fill] ({sin(72*0)},{cos(72*0)}) circle (2pt);
\draw[red, fill] ({sin(72*1)},{cos(72*1)}) circle (2pt);
\draw[teal, fill] ({sin(72*2)},{cos(72*2)}) circle (2pt);
\draw[orange, fill] ({sin(72*3)},{cos(72*3)}) circle (2pt);
\draw[violet, fill] ({sin(72*4)},{cos(72*4)}) circle (2pt);
\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,
x axis = {label, length=2.5cm},
y axis = {label={[node style={fill=blue!20}]{$x^2$}}},
visualize as smooth line]
data [format=function] {
var x : interval [-3:5];
func y = \value x * \value x;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\begin{document}
\begin{tikzpicture}[>=latex,line width=.2pt]
\draw[->,red](1,4)--(3,2);
\draw[->,blue](1,4)--(4,3);
\draw[->,purple](3,2)--(4,3);
\draw[->,blue](1,4)--(1,1);
\draw[->,purple](3,2)--(1,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{CH_3CH_2-[:-60,,3]C(-[:-120]H_3C)=C(-[:-60]H)-[:60]C|{(CH_3)_3}}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{angles,quotes}
\usetikzlibrary{calc}
\usetikzlibrary{patterns}
\usetikzlibrary{graphs}
\usetikzlibrary{graphs.standard}
\usetikzlibrary{decorations.markings,shapes.geometric,positioning}
\begin{document}
\begin{tikzpicture}[scale=1.3]
\node at (1,5) (a) [circle,draw=black,fill=none,scale=0.7]{$x_1$};
\node at (.6,5) {\small$1$};
\node at (2.75,5) (b) [circle,draw=black,fill=none,scale=0.7]{$x_3$};
\node at (3.2,5) {\small$2_1$};
\node at (3.5,3.5) (c)[circle,draw=black,fill=none,scale=0.7]{$x_6$};
\node at (3.9,3.5) {\small$1$};
\node at (2.75,2) (d) [circle,draw=black,fill=none,scale=0.7]{$x_4$};
\node at (3.2,2) {\small$2_2$};
\node at (1,2) (e) [circle,draw=black,fill=none,scale=0.7]{$x_5$};
\node at (.6,2) {\small$1$};
\node at (.25,3.5) (f)[circle,draw=black,fill=none,scale=0.7]{$x_2$};
\node at (-.2,3.5) {\small$2_3$};
\node at (2.5,3.7) (g) [circle,draw=black,fill=none,scale=0.7]{$y_1$};\node at (2.5,4.1) {\small$2_4$};
\node at (1.3,3.7) (h) [circle,draw=black,fill=none,scale=0.7]{$y_3$};\node at (1.3,4.1) {\small$2_4$};
\node at (1.9,2.8) (i) [circle,draw=black,fill=none,scale=0.7]{$y_2$};\node at (1.9,2.4) {\small$2_4$};
\draw (a) -- (b) -- (c) -- (d) -- (e) -- (f) -- (a);
\draw (a) -- (g) -- (d);
\draw (b) -- (h) -- (e);
\draw (c) -- (i) -- (f);
\node at (7,5.2) (a) [circle,draw=black,fill=none,scale=0.7]{$x_1$}; \node at (7.4,5.2) {\small$1$};
\node at (5.5,4.1) (g) [circle,draw=black,fill=none,scale=0.7]{$y_1$};\node at (5.9,4) {\small$2_1$};
\node at (7,4.1) (h) [circle,draw=black,fill=none,scale=0.7]{$y_2$};\node at (7.4,4) {\small$2_2$};
\node at (9,4.1) (i) [circle,draw=black,fill=none,scale=0.7]{$y_3$};\node at (9.4,4) {\small$2_3$};
\node at (5.5,2.8) (b)[circle,draw=black,fill=none,scale=0.7]{$x_2$}; \node at (5.9,3) {\small$2_2$};
\node at (6.5,2.8) (c) [circle,draw=black,fill=none,scale=0.7]{$x_3$}; \node at (6.8,3) {\small$1$};
\node at (7.5,2.8) (d) [circle,draw=black,fill=none,scale=0.7]{$x_4$}; \node at (7.9,3) {\small$2_3$};
\node at (8.5,2.8) (e) [circle,draw=black,fill=none,scale=0.7]{$x_5$}; \node at (8.9,3) {\small$2_4$};
\node at (9.5,2.8) (f)[circle,draw=black,fill=none,scale=0.7]{$x_6$}; \node at (9.8,3) {\small$1$};
\node at (7,1.5) (j) [circle,draw=black,fill=none,scale=0.7]{}; \node at (6.8,1.3) {\small$2_4$};
\node at (6,1.5) (k) [circle,draw=black,fill=none,scale=0.7]{}; \node at (5.8,1.3) {\small$1$};
\node at (8,1.5) (l) [circle,draw=black,fill=none,scale=0.7]{}; \node at (7.8,1.3) {\small$2_1$};
\node at (9,1.5) (m)[circle,draw=black,fill=none,scale=0.7]{}; \node at (8.8,1.3) {\small$2_1$};
\draw (g) -- (a) -- (h);
\draw (a) -- (i);
\draw (g) -- (b);
\draw (c) -- (h) -- (d);
\draw (f) -- (i) -- (e);
\draw (b) -- (j) -- (c); \draw (j) -- (f);
\draw (b) -- (k) -- (d); \draw (k) -- (e);
\draw (c) -- (l) -- (e);
\draw (d) -- (m) -- (f);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}[scale=1.45]
\draw (0,2) node {$\bullet$};
\draw (1,2) node {$\bullet$};
\draw (2,2) node {$\bullet$};
\draw (1,1) node {$\bullet$};
\draw (2,1) node {$\bullet$};
\draw (2,0) node {$\bullet$};
\draw [->, shorten >=5pt, shorten <=5pt,line width=1pt, blue] (1,2) -- (0,2);
\draw [->, shorten >=5pt, shorten <=5pt,line width=1pt, blue] (2,2) -- (1,2);
\draw [->, shorten >=5pt, shorten <=5pt,line width=1pt, blue] (1,1) -- (2,2);
\draw [ ->, shorten <= 5pt, shorten >= 5pt,line width=1pt, blue] (2,1) -- (1,1);
\draw [->, shorten >=5pt, shorten <=5pt,line width=1pt, blue] (2,0) -- (2,1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (-1,0) .. controls (-1,0.555) and (-0.555,1) .. (0,1)
.. controls (0.555,1) and (1,0.555) .. (1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph [
branch down=5mm,
level 1/.style={nodes=red},
level 2/.style={nodes=green!50!black},
level 3/.style={nodes=blue}]
{
a -> {
b,
c -> {
d,
e -> {f,g},
h
},
j
}
};
\end{document}
\begin{filecontents}{test.txt}
x g1p1 g1p2 g1p3 g2p1 g2p2 g2p3 g3p1 g3p2
0.0 0.00 0.25 0.50 1.00 1.25 1.50 2.00 2.25
0.5 0.25 0.50 0.75 1.50 1.75 2.00 3.00 3.25
1.0 0.50 0.75 1.00 2.00 2.25 2.50 4.00 4.25
1.5 0.75 1.00 1.25 2.50 2.75 3.00 5.00 5.25
2.0 1.00 1.25 1.50 3.00 3.25 3.50 6.00 6.25
2.5 1.25 1.50 1.75 3.50 3.75 4.00 7.00 7.25
\end{filecontents}
\documentclass[border=5pt]{standalone}
\usepackage{etoolbox}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[legend pos=north west]
\foreach \g in {1,2} {
\foreach \p [count=\pi] in {1,2,3} {
\ifnumequal{\pi}{3}{
\addplot table [x=x,y=g\g p\p] {test.txt};
\addlegendentryexpanded{g\g p\p}
}{
\addplot+ [forget plot] table [x=x,y=g\g p\p] {test.txt};
}
}
}
\foreach \p [count=\pi] in {1,2} {
\ifnumequal{\p}{2}{
\addplot table [x=x,y=g3p\p] {test.txt};
\addlegendentryexpanded{g3p\p}
}{
\addplot+ [forget plot] table [x=x,y=g3p\p] {test.txt};
}
}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\node (v1) at (-2.5,2) {$i$};
\node (v2) at (-3.5,3) {$j$};
\node (v3) at (-1.5,3) {$j^\prime$};
\draw[->] (v1) edge node [left,font = \scriptsize]{$f$} (v2);
\draw[->] (v1) edge node [right,font = \scriptsize]{$f^\prime$} (v3);
\draw [->] (v2) edge (v3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[->,shorten >=1pt,auto,thin,scale=0.25]
\node[draw,circle,fill=gray!50] (u1) {$s$};
\node[draw,circle,fill=blue!50] (u3) [above right of=u1] {$v$};
\node[draw,circle,fill=blue!50] (u2) [below right of=u3] {$u$};
\node[draw,fill=gray!50] (t) [right of=u2] {$\tiny t$};
\path[->,thin,gray]
(u1) edge (u2)
(u2) edge[bend left] (u1)
(u1) edge[bend left] (u3)
(u2) edge[bend left] (u3)
(u2) edge (t)
(u3) edge[bend left] (u2)
(u3) edge[bend left] (u1);
\path[->,line width=1.6pt,blue]
(u3) edge[bend left] (u1)
(u2) edge (t);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=1.2,line width=.2pt,vect/.style={->,shorten >=1pt,>=latex'}]
\tkzDefPoints{2/3/A,4/2/B}\tkzDefPointWith[orthogonal normed](A,B)\tkzGetPoint{C}\tkzDrawPoints[color=red,size=2](A,B,C)\tkzDrawSegments[vect](A,B A,C)\tkzMarkRightAngle[fill=gray!20](B,A,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz-cd}
\usepackage{tkz-euclide}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=0.6]
\tkzDefPoint(12,4){A}\tkzDefPoint(12,0){B}\tkzDefPoint(0,0){C}\tkzLabelPoint[left](C){$(0,0)$}\tkzLabelPoint[right](B){$(\frac{\pi}{2},0)$}\tkzLabelPoint[right](A){$(\frac{\pi}{2},\frac{\pi}{6})$}\tkzDrawSegment(A,B)\tkzDrawSegment(A,C)\tkzDrawSegment[style=red](C,B)\tkzLabelLine[pos=0.5, below ](C,B){$s = 0$}\tkzDrawPoints(A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts, amssymb, amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,decorations.pathreplacing,decorations.markings,shapes,calc}
\usetikzlibrary{matrix,arrows,decorations.pathmorphing,backgrounds,decorations.markings,positioning}
\tikzset{labelsize/.style={font=\scriptsize}
}\newcommand{\dcat}[1]{\mathbb{#1}
}
\begin{document}
\begin{tikzpicture}[baseline=-\the\dimexpr\fontdimen22\textfont2\relax ]
\node (TL) at (0,1.5) {$\dcat{D}_2$};
\node (TR) at (1.5,1.5) {$\dcat{D}_1$};
\node (BL) at (0,0) {$\dcat{D}_1$};
\node (BR) at (1.5,0) {$\dcat{D}_0$};
\draw[->] (TL) to node[auto,labelsize](T) {$\pi_2$} (TR);
\draw[->] (TR) to node[auto,labelsize] {$t$} (BR);
\draw[->] (TL) to node[auto,swap,labelsize] {$\pi_1$} (BL);
\draw[->] (BL) to node[auto,swap,labelsize](B) {$s$} (BR);
\draw (TL)++(0.2,-0.6)-- ++ (0.4,0) -- ++(0,0.4);
\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}
\begin{tikzpicture}
\datavisualization [visualize as smooth line,
scientific axes,
all axes={unit length=1cm per 10 units, ticks={few}}]
data [format=function] {
var x : interval [0:100];
func y = sqrt(\value x);
};
\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}
\providecolor{teal}{rgb}{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}
,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}
\tkzDefPoint(0,0){A}\tkzDefPoint(5,0){B}\tkzDefPoint(1,4){C}\tkzDefTriangleCenter[symmedian](A,B,C)\tkzGetPoint{K}\tkzDefTriangleCenter[median](A,B,C)\tkzGetPoint{G}\tkzDefTriangleCenter[in](A,B,C)\tkzGetPoint{I}\tkzDefSpcTriangle[centroid,name=M](A,B,C){a,b,c}\tkzDefSpcTriangle[incentral,name=I](A,B,C){a,b,c}\tkzDrawPolygon(A,B,C)\tkzDrawLines[add=0 and 2/3,new](A,K B,K C,K)\tkzDrawSegments[color=cyan](A,Ma B,Mb C,Mc)\tkzDrawSegments[color=green](A,Ia B,Ib C,Ic)\tkzDrawPoints(A,B,C,K,G,I)\tkzLabelPoints[font=\scriptsize](A,B,K,G,I)\tkzLabelPoints[above,font=\scriptsize](C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw[thick] (0,0) circle (2);
\draw[rotate=45] (1.43, 0) circle (0.56);
\draw[<->,rotate=45] (-1.43,0) -- (-2,0) node[right,pos=0.7] {$\mathring{r}$};
\draw[rotate=45] (-1.43,0) circle (0.56);
\draw[rotate=45,<->] (-2+1.14,0) -- (-0.06,0) node[anchor=north west,pos=0.7] {$X$};
\filldraw[black] (0,0) circle (0.05) node[above] {$0$};
\draw (-0.3,-1.5) node {$H$};
\draw (0.5,1.7) node {$H'$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard,
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [simple] {
subgraph K_n [n=7, clockwise];
{ [induced cycle, ->, edge=red] 2, 3, 4, 6, 7 },
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [surf,mesh/rows=3] coordinates {
(0,0,0) (1,0,0) (2,0,0) (3,0,0)
(0,1,0) (1,1,0.6) (2,1,0.7) (3,1,0.5)
(0,2,0) (1,2,0.7) (2,2,0.8) (3,2,0.5)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzpicture}
\foreach \j in {-2,-1,0,1,2}
\foreach \i in {-2,-1,0,1,2}
\node (\i\j) at (\i,\j) {$\bullet$};
\draw[->, dashed] (-1,-2.5) -- (-1,2.5);
\draw[->, dashed] (-2.5,-1) -- (2.5,-1);
\filldraw[orange] (0,1) circle (3pt);
\filldraw[orange] (-1,1) circle (3pt);
\path[commutative diagrams/.cd, every arrow, every label]
(-1-1) edge[red, line width = 1, <->] (00)
(-10) edge[red, line width = 1, <->] (01)
(0-1) edge[red, line width = 1, <->] (-1-1)
(00) edge[red, line width = 1, <->] (-10)
(01) edge[red, line width = 1, <->] (-11)
(02) edge[red, line width = 1, <->] (12)
(01) edge[red, line width = 1, <->] (02)
(-11) edge[blue, line width = 1, ->] (-20)
(-10) edge[blue, line width = 1, ->] (-2-1)
(-11) edge[blue, line width = 1, ->] (02)
(01) edge[blue, line width = 1, ->] (12)
(11) edge[blue, line width = 1, ->] (22)
(0-1) edge[blue, line width = 1, ->] (10)
(-1-1) edge[blue, line width = 1, ->] (-2-2)
(00) edge[blue, line width = 1, ->] (11)
(0-1) edge[blue, line width = 1, ->] (1-1)
(-1-1) edge[blue, line width = 1, ->] (-2-1)
(-1-1) edge[blue, line width = 1, ->] (-1-2)
(0-1) edge[blue, line width = 1, ->] (0-2)
(00) edge[blue, line width = 1, ->] (0-1)
(01) edge[blue, line width = 1, ->] (00)
(-10) edge[blue, line width = 1, ->] (-1-1)
(-11) edge[blue, line width = 1, ->] (-10)
(-11) edge[blue, line width = 1, ->] (-12);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=0.93]
\node (N) at (-1,0) {$\sigma_0$:};
\node (1) at (0,0) {(\,\,$s_1$};
\node[draw] (2) at (1,0) {$s_2$};
\node[draw] (3) at (2,0) {$s_3$};
\node (n) at (2.4,0) {)};
\node (4) at (3,0) {(\,\,$s_4$\,\,)};
\node (5) at (4,0) {(\,\,$s_5$};
\node[draw] (6) at (5,0) {$s_6$};
\node (7) at (6,0) {{\color{white}(}$s_7$};
\node (8) at (7,0) {{\color{white}(}$s_8$\,\,)};
\node (nn) at (7.6,0) {(};
\node[draw] (9) at (8,0) {$s_9$};
\node (10) at (9,0) {{\color{white}(}$s_{10}$\,\,)};
\node (11) at (10,0) {(\,\,$s_{11}$};
\node (12) at (11,0) {{\color{white}(}$s_{12}$\,\,)};
\draw[->,bend right=80,shorten >=1pt] (2) edge (4);
\draw[->,bend right=80] (6) edge (9);
\draw[->,bend right=80] (9) edge (11);
\draw[->,bend right=80] (3) edge (5);
\draw[->,bend left=55,dashed] (1) edge (3);
\draw[->,bend right=70,dashed] (4) edge (1);
\draw[->,bend right=70,dashed] (5) edge (2);
\draw[->,bend right=60,dashed] (11) edge (6);
\draw[<->,bend right=60,dashed] (10) edge (8);
\draw[<-,dashed,shorten <=1pt] (7) to [out=120,in=60,loop,looseness=4.8] (7);
\draw[<-,dashed,shorten <=1pt] (12) to [out=120,in=60,loop,looseness=4.8] (12);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[pnp](pnp2){Q2}(pnp2.B)node[pnp,xscale=-1,anchor=B](pnp1){}(pnp1)node[left,inner sep=0pt]{Q1}(pnp1.C)node[npn,anchor=C](npn1){Q3}(pnp2.C)node[npn,xscale=-1,anchor=C](npn2){\scalebox{-1}[1]{Q4}}(pnp1.E)--(pnp2.E)(npn1.E)--(npn2.E)(pnp1.B)node[circ]{}|-(pnp2.C)node[circ]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title=Uses lowest $x$ coords for xmin,
xbar,
width=12cm, height=3.5cm, enlarge y limits=0.5,
xlabel={\#participants},
symbolic y coords={no,yes},
ytick=data,
nodes near coords, nodes near coords align={horizontal},
]
\addplot coordinates {(1,no) (9,yes)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amsfonts, amssymb, amsthm}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw (0,0) circle(1pt) node[above left]{$x$};
\draw (0,0)--(3,0)--(3,-1)--(0,0);
\filldraw (3,-1) circle(1pt) node[below right]{$y$};
\draw (1.5,0) node[above] {$a$};
\draw (3,-0.5) node[right] {$b$};
\draw (1.5,-0.5) node[below left] {$c$};
\filldraw (6,0) circle(1pt) node[above left]{$Tx$};
\draw (6,0)--(9,0)--(9,-2.5)--(6,0);
\filldraw (9,-2.5) circle(1pt) node[below right]{$Ty$};
\draw (7.5,0) node[above]{$a$};
\draw (9,-1.25) node[right] {$b+d$};
\draw (7.5,-1.25) node[below left] {$c'$};
\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[npn,bodydiode](npn){1}
++(2,0)node[pnp,bodydiode](npn){};
\draw (0,-2) node[nigbt,bodydiode](npn){2}
++(2,0)node[pigbt,bodydiode](npn){};
\draw (0,-4) node[nfet,bodydiode](npn){3}
++(2,0)node[pfet,bodydiode](npn){};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph { {a, b} ->[complete bipartite]
{c, d, e} --[complete bipartite]
{g, h, i, j} --[complete bipartite]
k };
\end{document}