AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\newcommand{\w}{\mathrm{w}}
\newcommand{\norm}[1]{\left\lVert #1 \right\rVert}
\begin{document}
\begin{tikzpicture}[scale=4.5]
\coordinate (N) at (0,0);
\coordinate (S2) at (-1.05,0);
\coordinate (S5) at (1.05,0);
\foreach \i [evaluate=\i as \j using int(\i+3),evaluate=\i as \k using int(\i-2)] in {1,3}{
\coordinate (S\i) at (-0.8,0-\k/4);
\coordinate (S\j) at (0.8,0+\k/4);
}
\coordinate (R1) at (0,1);
\coordinate (R2) at (-0.5,1);
\coordinate (R6) at (0.5,1);
\coordinate (U1) at (0,1.5);
\coordinate (U2) at (-0.5,1.5);
\coordinate (U6) at (0.5,1.5);
\foreach \i in {3,4,5}{
\coordinate (R\i) at (-0.5+\i/2-3/2,-1);
\coordinate (U\i) at (-0.5+\i/2-3/2,-1.5);
}
\filldraw (N) circle (0.6pt);
\foreach \i in {1,...,6}{
\filldraw (S\i) circle (0.6pt);
\filldraw (R\i) circle (0.6pt);
\filldraw (U\i) circle (0.6pt);
}
\foreach \i in {1,...,3}{
\draw (S\i)--node[midway,left]{$\pi(t)$}(R\i);
}
\foreach \i in {4,...,6}{
\draw (S\i)--node[midway,right]{$\pi(t')$}(R\i);
}
\foreach \i in {1,2,6}{
\draw (R\i)--node[left,midway]{$\alpha(\w)$} (U\i);
}
\foreach \i in {3,4,5}{
\draw (R\i)--node[left,midway]{$\alpha(\w')$} (U\i);
}
\draw (N) -- node[midway,above]{$(t,0,\w)$}(S1);
\draw (N) -- node[midway,above]{$(t,1,\w)$} (S2);
\draw (N) -- node[midway,below]{$(t,1,\w')$} (S3);
\draw (N) -- node[midway,below]{$(t',0,\w')$} (S4);
\draw (N) -- node[midway,above]{$(t',1,\w')$} (S5);
\draw (N) -- node[midway,above]{$(t',1,\w)$} (S6);
\foreach \i in {-1,1}{
\draw (\i*0.9,0) ellipse[x radius=0.35cm, y radius=0.6cm];
\draw (0,\i) ellipse[x radius=0.65cm, y radius=0.2cm];
}
\node at (N) [above,shift={(0,0.2)}]{Nature};
\foreach \i in {-1,1}{
\node at (\i*1.4,0) []{Sender};
\node at (0,\i*0.7) []{Receiver};
}
\node at (U6) [above,scale=0.8]{$\ell(\norm{t'-\alpha(\w)})$};
\node at (U3) [below,scale=0.8]{$\ell(\norm{t-\alpha(\w')})$};
\foreach \i [evaluate=\i as \j using int(6-\i)] in {4,5}{
\node at (U\j) [above,scale=0.8]{$\ell(\norm{t-\alpha(\w)})$};
\node at (U\i) [below,scale=0.8]{$\ell(\norm{t'-\alpha(\w')})$};
}
\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=south 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[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[level distance=2.2em, sibling distance=2.5em, inner sep]
\node {$a$}
child { node {$\vphantom{b}c$}}
child { node {$d$}};
\node at (1.5,-1.1em) {$\longrightarrow$};
\node at (3,0) {$a$}
child { node {$b$}
child { node {$\vphantom{b}c$}}
child { node {$d$}}
};
\node at (0,-7em) {$\odot$}
child { node {$a_\Box$}}
child { node {$\oplus$}
child { node {\vphantom{b}$c$}}
child { node {$d$}}
};
\node at (1.5,-8.9em) {$\longrightarrow$};
\node at (3,-7em) {$\odot$}
child[sibling distance=3.5em] { node {$\odot$}
child[sibling distance=2em] { node {$a_\Box$}}
child[sibling distance=2em] { node {$b_\Box$}}
}
child[sibling distance=3.5em] { node {$\oplus$}
child[sibling distance=2em] { node {\vphantom{b}$c$}}
child[sibling distance=2em] { node {$d$}}
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsfonts,amssymb,amsthm,dsfont}
\usepackage{tikz}
\usetikzlibrary{automata,arrows,positioning,calc,shapes.misc,arrows.meta,patterns}
\begin{document}
\begin{tikzpicture}
\tikzset{b1/.style = {circle, draw=black,fill=black,minimum size = 3mm, inner sep = 1pt}
,b2/.style = {circle, draw=black,fill=white,minimum size = 3mm, inner sep = 1pt}}\node[b2] at (1,0) {};
\node[b1] at (2,0) {};
\node[b2] at (3,0) {};
\node[b2] (B) at (4,0) {};
\node[b1] (A) at (5,0) {};
\node[b1] at (6,0) {};
\node[b1] at (7,0) {};
\node[b1] (C) at (8,0) {};
\node[b2] (D) at (9,0) {};
\node[b2] at (10,0) {};
\draw[->,blue] (A) edge[bend right=40] (B);
\draw[->,red] (C) edge[bend left=40] (D);
\foreach \i in {1,...,10}{\draw (\i-0.2,-0.2) -- (\i+0.2,-0.2);
}\node at (4.5,0.5) {$q$};
\node at (8.5,0.5) {$p$};
\node at (0.5,0.5) {$\zeta$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
plotmarks,
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization [
scientific axes={clean}, all axes={length=3cm},
visualize as line/.list={a,b,c},
a={polygon}, b={smooth cycle},
style sheet=cross marks,
a={label in legend={text=polygon}},
b={label in legend={text=circle}},
c={label in legend={text=line}}]
data [format=function, set=a] {
var t : {0,72,...,359};
func x = cos(\value t);
func y = sin(\value t);
}
data [format=function, set=b] {
var t : [0:2*pi];
func x = .8*cos(\value t r);
func y = .8*sin(\value t r);
}
data point [x=-1, y=0.5, set=c]
data point [x=1, y=0.25, set=c];
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotstableread{
dof l2_err level
5 8.312e-02 2
17 2.547e-02 3
49 7.407e-03 4
129 2.102e-03 5
321 5.874e-04 6
769 1.623e-04 7
1793 4.442e-05 8
4097 1.207e-05 9
9217 3.261e-06 10
}\datadatadB
\pgfplotstableread{
dof l2_err level
7 8.472e-02 2
31 3.044e-02 3
111 1.022e-02 4
351 3.303e-03 5
1023 1.039e-03 6
2815 3.196e-04 7
7423 9.658e-05 8
18943 2.873e-05 9
47103 8.437e-06 10
}\datadatadC
\pgfplotstableread{
dof l2_err level
9 7.881e-02 2
49 3.243e-02 3
209 1.232e-02 4
769 4.454e-03 5
2561 1.551e-03 6
7937 5.236e-04 7
23297 1.723e-04 8
65537 5.545e-05 9
178177 1.751e-05 10
}\datadatadD
\pgfplotstableread{
dof l2_err level
9 7.881e-02 2
49 3.243e-02 3
209 1.232e-02 4
769 4.454e-03 5
2561 1.551e-03 6
7937 5.236e-04 7
23297 1.723e-04 8
65537 5.545e-05 9
178177 1.751e-05 10
}\datadatadDa
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}[
title=Convergence Plot,
xlabel={Degrees of freedom},
ylabel={$L_2$ Error},
grid=major,
legend entries={$d=2$,$d=3$,$d=4$},
]
\addplot table {\datadatadB};
\addplot table {\datadatadC};
\addplot table {\datadatadD};
\addplot table [
x=dof,
y={create col/linear regression={y=l2_err,
variance list={1000,800,600,500,400,200,100}}}]
{\datadatadDa}
coordinate [pos=0.25] (A)
coordinate [pos=0.4] (B)
;
\xdef\slope{\pgfplotstableregressiona}
\draw (A) -| (B)
node [pos=0.75,anchor=west]
{\pgfmathprintnumber{\slope}};
\end{loglogaxis}
\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=4mm, declare={claw}{1 -- {2,3,4}}] {
a;
claw;
b;
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (3,2);
\draw (0,0) -- (2,1) -- (1,0);
\pgftransformcm{1}{1}{0}{1}{\pgfpoint{.25cm}{.25cm}}
\draw[red] (0,0) -- (2,1) -- (1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{siunitx}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, d-*] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [
branch down=5mm,
level 1/.style={grow right=2cm},
level 2/.style={grow right=1cm},
level 3/.style={grow right=5mm}]
{
a -> {
b,
c -> {
d,
e -> {f,g},
h
},
j
}
};
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usetikzlibrary{chains, shapes}
\begin{document}
\begin{tikzpicture}[thick, every node/.style={draw,circle},
every fit/.style={ellipse,draw,inner sep=-2pt,text width=2cm},
->,shorten >= 3pt,shorten <= 3pt, scale=0.5]
\begin{scope}[start chain=going below,node distance=3mm]
\foreach \i in {00,01,02,10,11,12,20,21,22}
\node[on chain] (f\i) {};
\end{scope}
\begin{scope}[xshift=4cm,start chain=going below,node distance=3mm]
\foreach \i in {00,01,02,10,11,12,20,21,22}
\node[on chain] (s\i) {};
\end{scope}
\draw (f00) -- (s00);
\draw (f00) -- (s11);
\draw (f00) -- (s02);
\draw (f20) -- (s21);
\draw (f20) -- (s02);
\draw (f20) -- (s00);
\draw (f11) -- (s12);
\draw (f11) -- (s22);
\draw (f01) -- (s10);
\draw (f02) -- (s20);
\draw (f10) -- (s20);
\draw (f10) -- (s10);
\draw (f12) -- (s01);
\draw (f21) -- (s01);
\draw (f22) -- (s01);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar sampled,colorbar style={samples=8}]
\addplot [mesh,samples=40] {sin(deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\usetikzlibrary{
backgrounds,
shapes.geometric,
arrows.meta,
calc,
positioning,
3d,
decorations.markings,
}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=2]{B} \Vertex[x=2,y=-1]{C}
\Edge[lw=3pt](A)(B)
\Edge[lw=5pt](A)(C)
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{positioning,quotes,angles}
\begin{document}
\begin{tikzpicture}
\draw[->](-1.5,0)edge(3,0)(0,-1.5)edge(0,3);
\path(3,0)node[right]{$x$}coordinate(x)(0,3)node[above]{$y$};
\draw[very thick,<->](30:2)coordinate(a)node[right]{$(\cos\theta,\sin\theta)$}--(0,0)coordinate(o)--(120:2)node[above left=0pt and -3em]{$(\sin\theta,-\cos\theta)$};
\pic[draw,"$\theta$",angle radius=7mm,angle eccentricity=1.3]{angle=x--o--a};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, -*] (2,0);
\end{circuitikz}
\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 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={south east inside, rows=2,
label style=text only},
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[border=2pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotstableread[row sep=\\]{n c1 c2 \\ 1 0 64 \\ 2 98 93 \\ 4 0 8 \\ 5 88 98 \\ 7 91 19 \\ 9 97 97 \\ 10 84 99 \\ 12 30 94 \\ 13 95 91 \\ 14 95 97 \\ 15 83 91 \\ 20 99 99 \\}\datatable
\begin{tikzpicture}
\begin{axis}[enlarge x limits=0.01,xticklabels from table={\datatable}{n},xtick=data,width=10cm,height=\axisdefaultheight,xlabel={x label},ylabel={y label}]\addplot[thick, blue, mark=o] table[x expr=\coordindex, y=c1] {\datatable};
\addplot[thick, green, mark=triangle] table[x expr=\coordindex, y=c2] {\datatable};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=1.3]{B}\Edge[loopsize=.5cm](A)(A)\Edge[loopsize=1.5cm](B)(B)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\coordinate [label=left:$A$] (A) at (0,0);
\coordinate [label=right:$B$] (B) at (1.25,0.25);
\draw (A) -- (B);
\node [fill=red,inner sep=1pt,label=above:$D$] (D) at
($ (A) ! .5 ! (B) ! {sin(60)*2} ! 90:(B) $) {};
\draw (A) -- (D) -- (B);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[stack plots=y]\addplot+ [fill] coordinates {(0,1) (1,1) (2,2) (3,2)}\closedcycle;
\addplot+ [fill] coordinates {(0,1) (1,1) (2,2) (3,2)}\closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A}\Vertex[x=2,Pseudo]{B}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{perspective}
\begin{document}
\begin{tikzpicture}[scale=2,pics/Numbered Cube/.style={code={\path(1,1,1)node(a){$27\ 9\ 3$}(1,-1,1)node(b){$27\ 3^4$}(-1,-1,1)node(c){$9^3\ 3^4$}(-1,1,1)node(d){$9^43$}(1,1,-1)node(e){$27\ 9\ 1^3$}(1,-1,-1)node(f){$27\ 3^3\ 1^3$}(-1,-1,-1)node(g){$9^3\ 3^3\ 1^3$}(-1,1,-1)node(h){$9^4\ 1^3$};
\draw[thick]
(a)edge(e)--(b)edge(f)--(c)edge(g)--(d)edge(h)--(a)(e)--(f)--(g)--(h)--(e);
}}]
\begin{scope}[isometric view,local bounding box=view 1]
\pic{Numbered Cube};
\end{scope}
\begin{scope}[xshift=2.5cm,3d view={-45}{20},local bounding box=view 2]
\pic{Numbered Cube};
\end{scope}
\begin{scope}[xshift=5cm,3d view={-25}{20},local bounding box=view 3]
\pic{Numbered Cube};
\end{scope}\path([yshift=-1ex]current bounding box.south)coordinate(aux);
\path[font=\sffamily](view 1.south|-aux)node[below]{isometric view}(view 2.south|-aux)node[below]{tilted isometric view}(view 3.south|-aux)node[below]{generic view};
\end{tikzpicture}
\end{document}
\documentclass[11pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[black, thick, densely dashed] (6em, 1.5em) -- (7.5em, 1.5em);
\draw[black, thick, densely dashed] (6em, -1.5em) -- (7.5em, -1.5em);
\draw[black, thick, densely dashed] (6em, 0em) -- (7.5em, 0em);
\draw[black, thick, densely dashed] (3em, 1.5em) -- (2em, 0em) -- (3em, -1.5em);
\draw[black, thick, densely dashed] (1em, 0em) -- (3em, 0em);
\draw[black, thick] (6em, 0em) -- (6em, 1.5em) -- (3em, 1.5em) -- (6em, -1.5em) -- (3em, -1.5em) -- (3em, 0em) -- cycle;
\foreach \p in {(2em,0em), (3em,0em), (6em,0em), (6em,-1.5em), (6em,1.5em), (3em,-1.5em), (3em,1.5em)}
\node at \p [circle, fill, inner sep=.1em]{};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph [circular placement] {
a -> b -> c;
d -> e;
f -> g -> h;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0,.5,.5}
\tikzset{
    every picture/.style={line width=.2pt},
    label style/.append style={below,color=teal,font=\scriptsize}
}

\begin{document}
\begin{tikzpicture}[scale=.75]
    % 1. 定义中心点 C
    \tkzDefPoint(0,4){C}
    
    % 2. 修正后的绘制命令：
    % 使用 shift={(C)} 将原点移动到 C，再进行局部旋转
    \draw[blue, line width=.2pt] 
        [shift={(C)}, rotate=45] (0,0) ellipse [x radius=4, y radius=2];
    
    % 3. 绘制点和标签以验证
    \tkzDrawPoint(C)
    \tkzLabelPoints(C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[stack plots=y,/tikz/ybar]
\addplot coordinates {
(0,1) (1,1) (2,3) (3,2) (4,1.5)
};
\addplot coordinates {
(0,1) (1,1) (2,3) (3,2) (4,1.5)
};
\addplot coordinates {
(0,1) (1,1) (2,3) (3,2) (4,1.5)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tikzset{every picture/.style={line width=.2pt}
}\tikzset{label style/.append style={below,color=teal,font=\scriptsize}
}
\begin{document}
\begin{tikzpicture}
\tkzSetUpPoint[size=2,color=teal]\tkzSetUpCompass[color=purple,line width=1pt]\tkzDefPoints{0/1/A,5/2/B,3/4/C}\tkzDefEquiPoints[from=C,dist=1,show,/tkzcompass/delta=20](A,B)\tkzGetPoints{E}{H}\tkzDrawSegments[color=blue](C,E C,H A,B)\tkzDrawPoints[color=blue](A,B,C)\tkzDrawPoints[color=red](E,H)\tkzLabelPoints(E,H)\tkzLabelPoints[color=blue](A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{arrows}
\pgfplotsset{compat=1.6}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=0.85\columnwidth,scale only axis,compat=newest,ylabel style={align=left},axis line style=thick,inner axis line style={=>},xlabel={$\lambda$},ylabel={$z_{\hat{\jmath}}$},x label style={anchor=west},y label style={anchor=south},ymin=34,ymax=58,legend pos=north west,xmin=0,xmax=12,xticklabels={},extra x ticks={1,2,3,4,5,6,11},ticklabel style={font=\scriptsize},legend style={font=\scriptsize},legend entries={$\hat{\jmath}=1$,$\hat{\jmath}=2$,$\hat{\jmath}=3$,$\hat{\jmath}=4$}]\addplot[line width=0]{0};
\addplot[line width=0,cyan]{0};
\addplot[line width=0,blue]{0};
\addplot[line width=0,red]{0};
\addplot[line width=.3mm,domain=0:1]{36.1+2.9*x};
\addplot[line width=.3mm,domain=1:3]{37.3+1.7*x};
\addplot[line width=.3mm,domain=3:11]{38.8+1.2*x};
\addplot[line width=.3mm,domain=11:12]{41+1*x};
\addplot[line width=.3mm,domain=0:4,cyan]{35+2.5*x};
\addplot[line width=.3mm,domain=4:6,cyan]{39+1.5*x};
\addplot[line width=.3mm,domain=6:12,cyan]{42+1*x};
\addplot[line width=.3mm,domain=0:2,blue]{43.7+2.17*x};
\addplot[line width=.3mm,domain=2:12,blue]{46+x};
\addplot[line width=.3mm,domain=0:3,red]{34.5+2.5*x};
\addplot[line width=.3mm,domain=3:5,red]{36+2*x};
\addplot[line width=.3mm,domain=5:11,red]{37.66666+1.66666*x};
\addplot[line width=.3mm,domain=11:12,red]{45+x};
\draw[dashed,gray](1,0)--(1,39);
\draw[dashed,gray](2,0)--(2,48);
\draw[dashed,gray](3,0)--(3,42.4);
\draw[dashed,gray](4,0)--(4,45);
\draw[dashed,gray](5,0)--(5,46.2);
\draw[dashed,gray](6,0)--(6,48);
\draw[dashed,gray](11,0)--(11,52);
\draw[gray](3.5,0)--(3.5,42.9);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotsset{
table/search path={.,plotdata}
}
\pgfplotstableread{
dof l2_err level
5 8.312e-02 2
17 2.547e-02 3
49 7.407e-03 4
129 2.102e-03 5
321 5.874e-04 6
769 1.623e-04 7
1793 4.442e-05 8
4097 1.207e-05 9
9217 3.261e-06 10
}\datadatadB
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}[
tiny,
]
\addplot table {\datadatadB}
node [pos=1,pin=0:Special.] {}
;
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\node (0) [circle, fill=green!30] at (-1, 3) {s};
\node (1)[circle, fill=red!30] at (1,4) {$T_1$};
\node (2)[circle, fill=red!30] at (1,2) {$T_2$};
\node (5) [circle, fill=green!30] at (6, 3) {t};
\tikzstyle{arrow} = [thick,->,>=stealth]
\node (3)[circle, fill=blue!30] at (4,4) {$C_1$};
\node (4) [circle, fill=blue!30]at (4,2) {$C_2$};
\draw (1) edge[arrow, above] node{$(1, 0)$} (3)
(1) edge[arrow,above][style = ultra thick, color = red]node[pos=0.4]{$(1,1)$} (4)
(2) edge[arrow, below] node{$(1,0)$} (4)
(0) edge[arrow,above][style = ultra thick, color = red]node[pos=0.3]{$(1,1)$} (1)
(0) edge[arrow,below]node[pos=0.3]{$(1,0)$} (2)
(3) edge[arrow,above]node[pos=0.5]{$(1,0)$} (5)
(4) edge[arrow,below][style = ultra thick, color = red]node[pos=0.5]{$(1,1)$} (5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{
arrows,
arrows.meta,
bending,
babel,
calc,
decorations,
decorations.markings,
decorations.pathmorphing,
positioning,
scopes,
shapes,
quotes,
math,
topaths,
plotmarks
}
\pgfkeys{/pgf/decoration/.unknown/.code={}}
\begin{document}
\begin{tikzpicture}[domain=0:4,label/.style={postaction={
decorate,
decoration={
markings,
mark=at position .75 with \node #1;}}}]
\draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9);
\draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$};
\draw[->] (0,-1.2) -- (0,4.2) node[above] {$f(x)$};
\draw[red,label={[above left]{$f(x)=x$}}] plot (\x,\x);
\draw[blue,label={[below left]{$f(x)=\sin x$}}] plot (\x,{sin(\x r)});
\draw[orange,label={[right]{$f(x)= \frac{1}{20} \mathrm e^x$}}] plot (\x,{0.05*exp(\x)});
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node[](r){$r$};
\node[](a)[below left= 0.5 and 0.3 of r]{$a$};
\node[](b)[below right = 0.5 and 0.3 of r]{$b$};
\node[](c)[below left= 0.5 and 0.3 of a]{$c$};
\node[](d)[below right = 0.5 and 0.3 of a]{$d$};
\node[](G)[below left = 0.2 and 0.0 of d]{$G$};
\draw[-](r)--(a);
\draw[-](r)--(b);
\draw[-](a)--(c);
\draw[-](a)--(d);
\node[](r1)[right = 2.2 of r]{$r$};
\node[](a1)[below left= 0.5 and 0.3 of r1]{$a$};
\node[](b1)[below right = 0.5 and 0.3 of r1]{$b$};
\node[](c1)[below left= 0.5 and 0.3 of a1]{$c$};
\node[](d1)[below right = 0.5 and 0.3 of a1]{$d$};
\node[](G1)[below left = 0.2 and -0.8 of d1]{MEC $M_1$};
\draw[<-](r1)--(a1);
\draw[<-](r1)--(b1);
\draw[<-](a1)--(c1);
\draw[<-](a1)--(d1);
\node[](r2)[right = 2.2 of r1]{$r$};
\node[](a2)[below left= 0.5 and 0.3 of r2]{$a$};
\node[](b2)[below right = 0.5 and 0.3 of r2]{$b$};
\node[](c2)[below left= 0.5 and 0.3 of a2]{$c$};
\node[](d2)[below right = 0.5 and 0.3 of a2]{$d$};
\node[](G2)[below left = 0.2 and -0.8 of d2]{MEC $M_2$};
\draw[->](r2)--(a2);
\draw[-](r2)--(b2);
\draw[<-](a2)--(c2);
\draw[<-](a2)--(d2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}\addplot coordinates {(0,1) (1,2) (0,3) (-1,2)}--cycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis equal,
axis lines=middle,
axis line style={->},
tick style={color=black},
xtick=\empty,
ytick=\empty,
]
\addplot [
samples=20,
domain=0:2*pi,
->,
blue,
variable=\t,
quiver={
u={-sin(deg(t))},
v={cos(deg(t))},
scale arrows=0.5,
},
] ( {cos(deg(t))}, {sin(deg(t))} );
\addplot [
samples=100,
domain=0:2*pi,
] ( {cos(deg(x))}, {sin(deg(x))} );
\end{axis}
\end{tikzpicture}
\end{document}