AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows.meta, angles, quotes}
\begin{document}
\begin{tikzpicture}[scale=0.8, line width=1.4]
\draw [black] (4,3) circle (2.5);
\draw [<->] (-0.5,3) -- (8.5,3);
\draw (4,0) -- (4,6);
\draw [->] (4,3) -- (6.3,3.98);
\foreach \x/\y in {4/5.5, 5/5.29, 6/4.5, 3/5.29, 2/4.5}
\draw [red, fill=red!10] (\x,\y) circle (0.1);
\foreach \x/\y in {4/0.5, 5/0.71, 6/1.5, 3/0.71, 2/1.5}
\draw [green, fill=green!10] (\x,\y) circle (0.1);
\foreach \x in {-0.1, 0.9, 6.9, 7.9}
\draw [fill=black!10] (\x,2.9) rectangle +(0.2,0.2);
\node at (5,3.5) [anchor=south]{$k_0$};
\node at (8,3.1) [anchor=south]{$m /R_1$};
\node at (4,6) [anchor=south]{$k_m$};
\node at (-0.5,3) [anchor=east]{$-\infty$};
\node at (8.5,3) [anchor=west]{$+\infty$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization data group {function classes} = {
data [set=log, format=function] {
var x : interval [0.2:2.5];
func y = ln(\value x);
}
data [set=lin, format=function] {
var x : interval [-2:2.5];
func y = 0.5*\value x;
}
data [set=squared, format=function] {
var x : interval [-1.5:1.5];
func y = \value x*\value x;
}
data [set=exp, format=function] {
var x : interval [-2.5:1];
func y = exp(\value x);
}
};
\tikz \datavisualization [
scientific axes,
visualize as smooth line/.list=
{log, lin, squared, exp},
legend={label style={node style=draw}},
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$,
node style={circle, draw=red}}},
squared={label in legend={text=$x^2$}},
exp= {label in legend={text=$e^x$}},
style sheet=strong colors]
data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{cd, shapes}
\usepackage[colorinlistoftodos]{todonotes}
\begin{document}
\begin{tikzpicture}[scale=.35, roundnode/.style={circle, fill=black!60, inner sep=1.5pt, minimum width=4pt}, triangnode/.style={regular polygon,regular polygon sides=3, fill=black!60, inner sep=1.5pt, outer sep = 0pt}]
\node at (-2, -1.3) {$\Big ($};
\node[roundnode] (a1) at (0,0) {};
\node[roundnode] (a2) at (0, -1.5) {};
\node[roundnode] (a3) at (0,-3) {};
\node[triangnode] (a4) at (0,-4.5) {};
\node[roundnode] (b1) at (2,0) {};
\node[roundnode] (b2) at (2, -1.5) {};
\node[triangnode] (b3) at (2,-3) {};
\node[roundnode] (c1) at (4,0) {};
\node[roundnode] (c2) at (4,-1.5) {};
\node[roundnode] (c3) at (4,-3) {};
\node[triangnode] (c4) at (4,-4.5) {};
\node[roundnode] (d1) at (6,0) {};
\node[triangnode] (d2) at (6,-1.5) {};
\node at (6.9, -1.8) {,};
\node at (10,-1.3) {$\{ 1, 6, 7\} \Big)$};
\draw (a1) -- (a2) -- (a3) -- (a4);
\draw (b1) -- (b2) -- (b3);
\draw (c1) -- (c2) -- (c3) -- (c4);
\draw (d1) -- (d2);
\draw[dashed, gray!80, thin, ->] (6.5, -.75) to [out= 10,in=0, looseness = 1.5] (3, 2);
\draw[dashed, gray!80, thin] (3, 2) to [out= 180,in=170, looseness = 1.5] (-.5, -.75);
\draw[dashed, gray!80, thin] (.5, -.75) -- (1.5, -.75);
\draw[dashed, gray!80, thin] (2.5, -.75) -- (3.5, -.75);
\draw[dashed, gray!80, thin] (4.5, -.75) -- (5.5, -.75);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=1]
\draw (0,0) -- (9,0);
\draw [very thick] (9,0) -- (10,0);
\draw (2,0) -- (2,-1);
\draw (0,0) node {$\bullet$};
\draw (1,0) node {$\bullet$};
\draw (2,0) node {$\bullet$};
\draw (3,0) node {$\bullet$};
\draw (4,0) node {$\bullet$};
\draw (5,0) node {$\bullet$};
\draw (6,0) node {$\bullet$};
\draw (7,0) node {$\bullet$};
\draw (8,0) node {$\bullet$};
\draw (9,0) node {$\bullet$};
\draw (10,0) node {$\bullet$};
\draw (2,-1) node {$\bullet$};
\draw (2,-1) node [left]{$A_{4}$};
\draw (0,0) node [above]{$A_{1}$};
\draw (1,0) node [above]{$A_{2}$};
\draw (2,0) node [above]{$A_{3}$};
\draw (3,0) node [above]{$A_{5}$};
\draw (4,0) node [above]{$A_{6}$};
\draw (5,0) node [above]{$A_{7}$};
\draw (6,0) node [above]{$A_{8}$};
\draw (7,0) node [above]{$A_{9}$};
\draw (8,0) node [above]{$A_{10}$};
\draw (9,0) node [above]{$A_{11}$};
\draw (10,0) node [above]{$A_{12}$};
\end{tikzpicture}
\end{document}
\documentclass[border=2pt]{standalone}
\usepackage{tkz-euclide}
\tkzSetUpPoint[fill=black, size=3pt]
\tikzset{font={\fontsize{10pt}{12}\selectfont}}
\begin{document}

\begin{tikzpicture}

\foreach \pt in {0,1,...,6} {
\tkzDefPoint(\pt*360/7 + 90:1){v_\pt}
}

\tkzDefPoint(0,0.33){t}
\tkzDefPoint(0.46,-0.4){u_1}
\tkzDefPoint(-0.46,-0.4){u_6}


\tkzDrawPolySeg(v_1,v_2,v_3,v_4,v_5,v_6,v_0)
\tkzDrawSegments(t,v_0 t,u_1 t,u_6)

\foreach \pt in {0,2,3,4,5,6} {
\tkzDrawSegment(u_1,v_\pt)
}
\foreach \pt in {0,1,2,3,4,5} {
\tkzDrawSegment(u_6,v_\pt)
}

\tkzDrawPoints(v_0,v_...,v_6)
\tkzDrawPoints(t,u_1,u_6)


\tkzLabelPoint[above](v_0){$u$}
\tkzLabelPoint[above left](v_1){$v$}
\end{tikzpicture}

\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{angles,quotes,calc,patterns,graphs,graphs.standard,decorations.markings,shapes.geometric,positioning}
\begin{document}
\begin{tikzpicture}[scale=1]
\node at (2,2) (a) [circle,draw=black,fill=none,scale=0.7]{};
\node at (1.732,3) (b) [circle,draw=black,fill=none,scale=0.7]{};
\node at (1,3.732) (c) [circle,draw=black,fill=none,scale=0.7]{};
\node at (0,4) (d) [circle,draw=black,fill=none,scale=0.7]{};
\node at (-1,3.732) (e) [circle,draw=black,fill=none,scale=0.7]{};
\node at (-1.732,3) (f) [circle,draw=black,fill=none,scale=0.7]{};
\node at (-2,2) (g) [circle,draw=black,fill=none,scale=0.7]{};
\node at (-1.732,1) (h) [circle,draw=black,fill=none,scale=0.7]{};
\node at (-1,0.268) (i) [circle,draw=black,fill=none,scale=0.7]{};
\node at (0,0) (j) [circle,draw=black,fill=none,scale=0.7]{};
\node at (1,0.268) (k) [circle,draw=black,fill=none,scale=0.7]{};
\node at (1.732,1) (l) [circle,draw=black,fill=none,scale=0.7]{};
\draw (a) -- (b) -- (c) -- (d) -- (e) -- (f) -- (g) -- (h) -- (i) -- (j) -- (k) -- (l) -- (a);
\draw (c) .. controls (0,3.5) .. (e);
\draw (g) .. controls(-1.2,1.2) .. (i);
\draw (a) .. controls(1.2,1.2) .. (k);
\node at (7,3.8) (s) [circle,draw=black,fill=none,scale=0.7]{};
\node at (8,3.8) (t) [circle,draw=black,fill=none,scale=0.7]{};
\node at (7.5,3.1) (r) [circle,draw=black,fill=none,scale=0.7]{};
\node at (6.1,0.5) (v) [circle,draw=black,fill=none,scale=0.7]{};
\node at (5.6,1.2) (w) [circle,draw=black,fill=none,scale=0.7]{};
\node at (6.5,1.3) (u) [circle,draw=black,fill=none,scale=0.7]{};
\node at (8.9,0.5) (y) [circle,draw=black,fill=none,scale=0.7]{};
\node at (9.5,1.2) (z) [circle,draw=black,fill=none,scale=0.7]{};
\node at (8.6,1.3) (x) [circle,draw=black,fill=none,scale=0.7]{};
\node at (7.5,1.6) (c_prime) [circle,draw=black,fill=none,scale=0.7]{};
\node at (7.5,0.5) (b_prime) [circle,draw=black,fill=none,scale=0.7]{};
\node at (7.5,2.35) (h_prime) [circle,draw=black,fill=none,scale=0.7]{};
\draw (s) -- (t) -- (r) -- (s);
\draw (v) -- (w) -- (u) -- (v);
\draw (x) -- (y) -- (z) -- (x);
\draw (s) -- (w);
\draw (t) -- (z);
\draw (y) -- (b_prime) -- (v);
\draw (r) -- (h_prime) -- (c_prime) -- (u);
\draw (x) -- (c_prime);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\usepackage{xcolor}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[baseline=-3]
\foreach \i in {0,...,5} {
\draw (60+\i*60:0.5) -- (120+\i*60:0.5);
}
\foreach \i in {0,...,2} {
\draw (60+120*\i:0.5) -- (0,0);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\fill[gray!20](0,0)ellipse(1.25 and .5);
\draw[dashed](-1.25,0)arc(180:0:1.25 and .5);
\draw(-1.25,0)arc(180:360:1.25 and .5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw(0,0)node(a)[draw]{A}(1,1)node(b)[draw]{B};
\draw(a.north)|-(b.west);
\draw[red](a.east)-|(2,1.5)-|(b.north);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-network}
\usetikzlibrary{
backgrounds,
shapes.geometric,
arrows.meta,
calc,
positioning,
3d,
decorations.markings,
}
\begin{document}
\begin{tikzpicture}
\Vertex[shape = rectangle]{A}
\Vertex[x=1,shape = diamond]{B}
\Vertex[x=2,shape = isosceles triangle]{C}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\tkzSetUpLine[line width=.2pt,color=black]
\begin{document}
\begin{tikzpicture}[rotate=18,scale=1]
\tkzDefPoints{0/0/A,2.25/0.2/B,2.5/2.75/C,-0.75/2/D}\tkzDrawPolygon(A,B,C,D)\tkzDrawSegments[style=dashed](A,C B,D)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[node distance=1cm,
slot/.style={draw,rectangle},
vertex/.style={draw,circle},
scale=0.8,every node/.style={scale=0.8}
]
\foreach \t/\label in {0/v_2,1/v_3,2/v_4}{
\node[vertex, label=below:$\label$] (w_\t) at (\t,0) {};
}
\node[slot, label=above:$s_0$] (s_0) at (0,2) {};
\node[slot,fill=black, label=above:$s_1$] (s_1) at (1,2) {};
\node[slot, label=above:$s_2$] (s_2) at (2,2) {};
\draw[blue,thick,->] (w_0) edge [bend left=20](s_0);
\draw[blue,thick,->] (w_0) edge [bend right=20](s_0);
\draw[thick] (s_1) edge (w_1);
\draw[thick] (s_1) edge (w_2);
\draw[red, thick] (s_2) edge (w_1);
\draw[red, thick] (s_2) edge (-1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{matrix}
\pgfplotsset{compat=1.3}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title={$y=a\cdot x+b$},xlabel=$x$,ylabel=$y$]\addplot+[domain=-1:2,samples=10]{3*x+1};
\label{plot:line1}\addplot+[domain=-1:2,samples=10]{2*x+2};
\label{plot:line2}\addplot+[domain=-1:2,samples=10]{1*x+3};
\label{plot:line3}\coordinate(legend)at(axis description cs:0.97,0.03);
\end{axis}\matrix[draw,matrix of nodes,anchor=south east]at(legend){&$a$&$b$\\\ref{plot:line1}&3&1\\\ref{plot:line2}&2&2\\\ref{plot:line3}&1&3\\};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=2]{B} \Vertex[x=2,y=-1]{C}
\Edge[label=X,fontsize=\large](A)(B)
\Edge[label=Y,fontsize=\tiny](A)(C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{calc,arrows,decorations.markings}
\usepackage{amsmath}
\usepackage{amssymb}
\begin{document}
\begin{tikzpicture}
\tikzstyle{S}=[circle,very thick,draw=black, fill=red, minimum size=.7cm]
\tikzstyle{R}=[circle,very thick,draw=black, fill=orange, minimum size=.7cm]
\tikzstyle{D1}=[circle,very thick,draw=black, fill=blue, minimum size=.7cm]
\tikzstyle{D2}=[circle,very thick,draw=black, fill=green, minimum size=.7cm]
\node[S,label=below :{$S$}] (S) at (0,0) {};
\node[R,label=below :{$R$}] (R) at (2, 0) {};
\node[D1,label=below :{$D_1$}] (D1) at (4, 2) {};
\node[D2,label=below :{$D_2$}] (D2) at (4, -2) {};
\draw [->, very thick] (S) -- (R);
\draw [->, very thick](S) -- (D1) ;
\draw [->, very thick](S) -- (D2) ;
\node[draw,text width=3cm] at (2,4) {\textbf{First phase}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz,pgfplots,amsmath,amssymb}
\usetikzlibrary{arrows}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1cm,y=1cm]
\clip(0.07084031875793423,-1.7138790246542182) rectangle (9.988466422567084,3.9142216784276616);
\draw [line width=0.3pt] (1,1)-- (3,1);
\draw [line width=0.3pt] (1,1)-- (0.8111130238479834,1.9874845007960271);
\draw [line width=0.3pt] (0.8111130238479834,1.9874845007960271)-- (1.510822840987893,2.382972658309889);
\draw [line width=0.3pt] (1.510822840987893,2.382972658309889)-- (2.1902512141527324,1.9874845007960271);
\draw [line width=0.3pt] (2.1902512141527324,1.9874845007960271)-- (1.8150445006139406,0);
\draw [line width=0.3pt] (3,1)-- (3.204323412906225,0);
\draw [line width=0.3pt] (1.8150445006139406,0)-- (2.49447287377878,-0.41586661024974864);
\draw [line width=0.3pt] (2.49447287377878,-0.41586661024974864)-- (3.204323412906225,0);
\draw [line width=0.3pt] (5,1)-- (6,1);
\draw [line width=0.3pt] (5,1)-- (4.8065574869367405,1.997625222783562);
\draw [line width=0.3pt] (4.8065574869367405,1.997625222783562)-- (5.4859858601015805,2.4032541022849587);
\draw [line width=0.3pt] (5.4859858601015805,2.4032541022849587)-- (6.195836399229025,2.007765944771097);
\draw [line width=0.3pt] (6.195836399229025,2.007765944771097)-- (6,1);
\begin{scriptsize}\draw [fill=black] (1,1) circle (1pt);
\draw [fill=black] (2,1) circle (1pt);
\draw [fill=black] (3,1) circle (1pt);
\draw [fill=black] (0.8111130238479834,1.9874845007960271) circle (1pt);
\draw [fill=black] (2.1902512141527324,1.9874845007960271) circle (1pt);
\draw [fill=black] (1.510822840987893,2.382972658309889) circle (1pt);
\draw [fill=black] (1.8150445006139406,0) circle (1pt);
\draw [fill=black] (3.204323412906225,0) circle (1pt);
\draw [fill=black] (2.49447287377878,-0.41586661024974864) circle (1pt);
\draw [fill=black] (5,1) circle (1pt);
\draw [fill=black] (4.8065574869367405,1.997625222783562) circle (1pt);
\draw [fill=black] (5.4859858601015805,2.4032541022849587) circle (1pt);
\draw [fill=black] (6.195836399229025,2.007765944771097) circle (1pt);
\draw [fill=black] (6,1) circle (1pt);
\draw[color=black] (4,1) node {$...$};
\end{scriptsize}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{datavisualization, datavisualization.formats.functions}
\begin{document}
\tikz \datavisualization data group {function classes} = {
data [set=log, format=function] {
var x : interval [0.2:2.5];
func y = ln(\value x);
}
data [set=lin, format=function] {
var x : interval [-2:2.5];
func y = 0.5*\value x;
}
data [set=squared, format=function] {
var x : interval [-1.5:1.5];
func y = \value x*\value x;
}
data [set=exp, format=function] {
var x : interval [-2.5:1];
func y = exp(\value x);
}
};
\tikz \datavisualization [
scientific axes,
visualize as smooth line/.list=
{log, lin},
legend=south east inside,
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
style sheet=strong colors]
data group {function classes};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{tikzpicture}[american, scale=0.6, transform shape]
\foreach \a in {0,30,...,359} \draw (0,0) -- ++(\a:1) to[V] ++(\a:2);
\ctikzset{sources/symbol/sign rotation=0}
\foreach \a in {0,30,...,359} \draw[color=red] (6,0) -- ++(\a:1) to[V] ++(\a:2);
\ctikzset{sources/symbol/sign rotation=auto}
\foreach \a in {0,30,...,359} \draw[color=blue] (12,0) -- ++(\a:1) to[V] ++(\a:2);
\ctikzset{sources/symbol/sign rotation=straight}
\foreach \a in {0,30,...,359} \draw (18,0) -- ++(\a:1) to[V] ++(\a:2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\node[circle,inner sep=0pt](v2)at(-2,20){\makebox[0pt][r]{$uvw={}$}$\bullet$\makebox[0pt][l]{$^{2}=xyz$}};
\node[circle,inner sep=0pt](v6)at(2,20){$\bullet$\makebox[0pt][l]{$^{6}$}};
\node[circle,inner sep=0pt](v7)at(0,24){\makebox[0pt][r]{$abc={}$}$\bullet$\makebox[0pt][l]{$^7=defgh$}};
\draw[-open triangle 45](v2)edge(v7);
\draw[-open triangle 45](v7)edge(v6);
\draw[-open triangle 45](v2)edge(v6);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{tikz}
\usetikzlibrary{topaths}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[cnode/.style={draw=black,fill=#1,minimum width=3mm,circle}]
\node[cnode=red,label=0:$U$] (s) at (6,-2.5) {$\varPsi$};
\node[cnode=blue,label=180:$s$] (x-1) at (0,-2.5) {};
\node[cnode=yellow,label=90:$1$] (x-0) at (0,0) {};
\node[cnode=yellow,label=90:$1$] (p-0) at (3,0) {};
\node at (3,-4) {$\vdots$};
\draw (p-0) -- node[above,sloped,pos=0.3] {$\beta_1$} (s);
\foreach \x in {1,...,4}{\pgfmathparse{\x<4 ? \x : "n"}\node[cnode=gray] (p-\x) at (3,{-\x-div(\x,4)}) {$\varphi_{ \pgfmathparse{\x<4 ? \x : "n"} \pgfmathresult}$};
\draw (p-\x) -- node[above,sloped,pos=0.3] {$v_{\pgfmathresult}$} (s);
}\foreach \y in {1,...,4}{\pgfmathparse{\y<4 ? \y : "n"}\draw (x-0) -- node[above,pos=0.3] {${ b_\pgfmathresult}$} (p-\y);
}\foreach \y in {1,...,4}{\pgfmathparse{\y<4 ? \y : "n"}\draw (x-1) -- node[above,sloped,pos=0.5] {${ w_\pgfmathresult}$} (p-\y);
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz \graph [grow down, branch right sep] {
start -- {
an even longer text -- {short, very long text} -- more text,
long -- longer -- longest,
some text -- a -- b
} -- end
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath,amsthm,mathtools}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepgflibrary{patterns}\usepgflibrary[patterns]\usetikzlibrary{patterns}
\usetikzlibrary[patterns]\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\draw[black, very thick](-12,0) -- (-6,0);
\draw[blue,very thick] (-11,-4) -- (-8,-4);
\draw[blue,very thick] (-11,4) -- (-8,4);
\draw[blue,very thick](-8,-4) -- (-8,4);
\draw (-11,1) -- (-8,1);
\draw (-11,-1) -- (-8,-1);
\draw [pattern={horizontal lines}, pattern color=orange](-11,1) -- (-8,4) --(-8,-4)-- (-11,-1) --cycle;
\draw [pattern={vertical lines}, pattern color=green](-11,1) -- (-11,4) --(-8,4)--cycle;
\draw [pattern={vertical lines}, pattern color=green](-11,-1) -- (-11,-4) --(-8,-4)--cycle;
\draw [black,very thick](-10,-3.2) node[ fill=white]{$T_4 $} ;
\draw [black,very thick](-9,-1.8) node[ fill=white]{$T_3 $} ;
\draw [black,very thick](-10,3.2) node[ fill=white]{$T_1 $} ;
\draw [black,very thick](-9,1.8) node[ fill=white]{$T_2 $} ;
\draw [black,very thick](-9.5,0) node[ fill=white]{$H $} ;
\draw [blue,very thick](-7.5,-4) node{$\partial R $} ;
\draw [<->] (-7,-4) -- (-7,4);
\draw(-6.5,1) node{$ b $} ;
\draw [<->] (-11.6,-1) -- (-11.6,1);
\draw(-12.7,0.5) node{$ b-2x $} ;
\draw [<->] (-11,4.5) -- (-8,4.5);
\draw(-9.7,4.8) node{$ x $} ;
\draw[blue,very thick] (0,-4) -- (6,-4);
\draw[blue,very thick] (6,-4) -- (6,4);
\draw[blue,very thick](0,4) -- (6,4);
\draw[black,very thick](-1,0) -- (7,0);
\draw [pattern={horizontal lines}, pattern color=orange](6,-4) -- (6,4) --(2,0) --cycle;
\draw [pattern={vertical lines}, pattern color=green](2,0)--(6,4) -- (0,4)--(0,-4) -- (6,-4)--cycle;
\draw (2,4)--(2,-4);
\draw [black,very thick](1,0) node[ fill=white]{$\tilde{H} $} ;
\draw [black,very thick](2.7,3) node[ fill=white]{$\tilde{T}_1 $} ;
\draw [black,very thick](2.7,-3) node[ fill=white]{$\tilde{T}_3 $} ;
\draw [black,very thick](4.3,1) node[ fill=white]{$\tilde{T}_2 $} ;
\draw [black,very thick](4.3,-1) node[ fill=white]{$\tilde{T}_4 $} ;
\draw [<->] (0,4.5) -- (6,4.5);
\draw(3,4.8) node{$ x $} ;
\draw [<->] (6.5,4) -- (6.5,-4);
\draw(7,2) node{$ b $} ;
\draw [<->] (-0.3,4) -- (-0.3,0);
\draw(-0.7,2) node{$ \frac{b}{2} $} ;
\draw [<->] (0,-2.8) -- (2,-2.8);
\draw(1,-2) node[ fill=white]{$ x-\frac{b}{2} $} ;
\draw [blue,very thick](6.3,-4.3) node{$\partial R $} ;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization data group {function classes} = {
data [set=log, format=function] {
var x : interval [0.2:2.5];
func y = ln(\value x);
}
data [set=lin, format=function] {
var x : interval [-2:2.5];
func y = 0.5*\value x;
}
data [set=squared, format=function] {
var x : interval [-1.5:1.5];
func y = \value x*\value x;
}
data [set=exp, format=function] {
var x : interval [-2.5:1];
func y = exp(\value x);
}
};
\tikz \datavisualization [
scientific axes,
visualize as smooth line/.list=
{log, lin, squared, exp},
legend=north outside,
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
squared={label in legend={text=$x^2$}},
exp= {label in legend={text=$e^x$}},
style sheet=strong colors]
data group {function classes};
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{angles,quotes,calc}
\begin{document}
\begin{tikzpicture}
\draw (0,0) coordinate (A1) -- (2,5) coordinate (A2) -- (4,-1) coordinate (A3) -- cycle;
\foreach \vA/\vB/\vC in {A3/A1/A2, A1/A2/A3, A2/A3/A1} \pic [draw, fill=red!30, radius=3mm] {angle = \vA--\vB--\vC};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [
scatter,
only marks,
point meta=explicit symbolic,
scatter/classes={
a={mark=square*,blue},
b={mark=triangle*,red},
c={mark=o,draw=black}
},
] table [meta=label] {
x y label
0.1 0.15 a
0.45 0.27 c
0.02 0.17 a
0.06 0.1 a
0.9 0.5 b
0.5 0.3 c
0.85 0.52 b
0.12 0.05 a
0.73 0.45 b
0.53 0.25 c
0.76 0.5 b
0.55 0.32 c
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}[xscale=0.8,>=latex]
\draw[ultra thick,->] (0.3,-3.5) -- +(0,7) node[yshift=5pt] {$\mu$};
\draw[ultra thick,->] (0.3,-3.5) -- +(220:4) node[yshift=-5pt,xshift=-5pt] {$p$};
\draw[ultra thick,->] (0.3,-3.5) -- +(12,0) node[xshift=6pt] {$T$};
\path[draw,name path=border1] (0,0) to[out=-10,in=150] (6,-2);
\path[draw,name path=border2] (12,1) to[out=150,in=-10] (5.5,3.2);
\draw[draw,thick,name path=line1] (6,-2) -- (12,1);
\path[draw,name path=line2] (5.5,3.7) -- (0,0);
\shade[left color=gray!10,right color=gray!70] (0,0) to[out=-10,in=150] (6,-2) -- (12,1) to[out=150,in=-10] (5.5,3.7) -- cycle;
\path[draw,name path=border3] (-1,-4) to[out=20,in=220] (3,3);
\path[draw,name path=border4] (6,-7) to[out=40,in=210] (9,1);
\path[draw,name path=border5] (-1,-4) to[out=0,in=80] (6,-7);
\path[draw,name path=border6] (3,3) to[out=10,in=140] (9,1);
\node at (0.5,-3.8) {$\alpha$};
\node at (10,1) {$\beta$};
\node at (9.4,-4.5) (label) {$p_{\alpha\beta}(T)$};
\draw[->] (label) -- +(185:3.35);
\shade[top color=gray!10,bottom color=gray!90,opacity=.30] (-1,-4) to[out=20,in=220] (3,3) to[out=10,in=140] (9,1) to[out=210,in=40] (6,-7) to[out=80,in=0] (-1,-4);
\path[name intersections={of=border3 and line2,by={a}}];
\path[name intersections={of=border4 and line1,by={b}}];
\draw[thick,dashed] (a) to[out=-10,in=130] (b);
\draw[help lines,gray!70] (a) -- +(0,-4.9) coordinate (proy1);
\draw (b) -- +(0,-5) coordinate (proy2);
\draw[ultra thick] (proy1) to[out=0,in=130] (proy2);
\end{tikzpicture}
\end{document}