AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath,amsthm}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\tikzstyle{term} = [draw,shape=rectangle,minimum height=2em,text centered, fill, color=gray!20]\tikzstyle{term2} = [draw,shape=rectangle,minimum height=2em,text centered, fill, color=orange]\tikzstyle{term3} = [draw,shape=rectangle,minimum height=2em,text centered, fill, color=green!50]\tikzstyle{term4} = [draw,shape=rectangle,minimum height=2em,text centered, fill, color=violet!50]\tikzstyle{term5} = [draw,shape=rectangle,minimum height=2em,text centered, fill, color=blue!50]\tikzstyle{term6} = [draw,shape=ellipse,minimum height=2em,text centered, fill, color=green!50]\tikzstyle{term7} = [draw,shape=ellipse,minimum height=2em,text centered, fill, color=violet!50]\tikzstyle{link} = [-]\def\xspace{2}
\def\yspace{-2}
\node[term5] (1234) at (0,0){\textcolor{black}{$\{1,2,3,4\}$}};
\node[term2](123) at (-2.5*\xspace,\yspace) {\textcolor{black}{$\{1,2,3\}$}};
\node[term5](124) at (-1*\xspace,\yspace) {\textcolor{black}{$\{1,2,4\}$}};
\node[term6](134) at (1*\xspace,\yspace) {\textcolor{black}{$\{1,3,4\}$}};
\node[term5](234) at (2.5*\xspace,\yspace) {\textcolor{black}{$\{2,3,4\}$}};
\node[term7](12) at (-4*\xspace,2*\yspace) {\textcolor{black}{$\{1,2\}$}};
\node[term7](13) at (-2.5*\xspace,2*\yspace) {\textcolor{black}{$\{1,3\}$}};
\node[term3](14) at (-1*\xspace,2*\yspace) {\textcolor{black}{$\{1,4\}$}};
\node[term7](23) at (1*\xspace,2*\yspace) {\textcolor{black}{$\{2,3\}$}};
\node[term2](24) at (2.5*\xspace,2*\yspace) {\textcolor{black}{$\{2,4\}$}};
\node[term3](34) at (4*\xspace,2*\yspace) {\textcolor{black}{$\{3,4\}$}};
\node[term4](1) at (-2.5*\xspace,3*\yspace) {\textcolor{black}{$\{1\}$}};
\node[term4](2) at (-1*\xspace,3*\yspace) {\textcolor{black}{$\{2\}$}};
\node[term4](3) at (1*\xspace,3*\yspace) {\textcolor{black}{$\{3\}$}};
\node[term4](4) at (2.5*\xspace,3*\yspace) {\textcolor{black}{$\{4\}$}};
\node[term4](0) at (0,4*\yspace) {\textcolor{black}{$\{\varnothing\}$}};
\draw[link] (1234) edge (123);
\draw[link] (1234) edge (124);
\draw[link] (1234) edge (134);
\draw[link] (1234) edge (234);
\draw[link] (123) edge (12);
\draw[link] (123) edge (13);
\draw[link] (123) edge (23);
\draw[link] (124) edge (12);
\draw[link] (124) edge (14);
\draw[link] (124) edge (24);
\draw[link] (134) edge (13);
\draw[link] (134) edge (14);
\draw[link] (134) edge (34);
\draw[link] (234) edge (23);
\draw[link] (234) edge (34);
\draw[link] (234) edge (24);
\draw[link] (1) edge (12);
\draw[link] (1) edge (13);
\draw[link] (1) edge (14);
\draw[link] (2) edge (12);
\draw[link] (2) edge (23);
\draw[link] (2) edge (24);
\draw[link] (3) edge (13);
\draw[link] (3) edge (23);
\draw[link] (3) edge (34);
\draw[link] (4) edge (14);
\draw[link] (4) edge (24);
\draw[link] (4) edge (34);
\draw[link] (0) edge (1);
\draw[link] (0) edge (2);
\draw[link] (0) edge (3);
\draw[link] (0) edge (4);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\foreach \i in {0,...,14}\coordinate (\i) at (90+36*\i:2);
\foreach \i [evaluate=\i as \j using \i+1, evaluate=\i as \k using \i+5] in {0,...,9}{
\draw (\i)--(\j);
\draw (\i)--(\k);
\fill (\i) circle (1.5pt);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{
intersections,
decorations.pathmorphing
}
\usepgfplotslibrary{
fillbetween
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=0:10]
\addplot [name path=first,blue]
{sin(deg(x)) + 2/5*x};
\addplot [name path=second,red,samples=16,smooth]
{cos(deg(1.2*x)) + 2/5*x};
\draw [
black,-stealth,
decorate,decoration={
saw,
post=lineto,
post length=10pt,
},
intersection segments={
of=first and second,
sequence={
L1 -- R2 -- R3 -- R4 -- L4[reverse]
},
},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\begin{scope}[shift={(-3,0)},scale=0.5]
\coordinate (A) at (-2,-2);
\coordinate (B) at (2,-2);
\coordinate (C) at (2,2);
\coordinate (D) at (-2,2);
\draw[thin, dashed] ($(A)!-0.5!(B)$) -- ($(B)!-0.5!(A)$);
\draw[thin, dashed] ($(B)!-0.5!(C)$) -- ($(C)!-0.5!(B)$);
\draw[thin, dashed] ($(C)!-0.5!(D)$) -- ($(D)!-0.5!(C)$);
\draw[thin, dashed] ($(D)!-0.5!(A)$) -- ($(A)!-0.5!(D)$);
\fill[gray!30] (A) -- (B) -- (C) -- (D) -- cycle;
\draw[->] (0,-2) -- +(0,-0.5) node[below] {$n_1$};
\draw[->] (2,0) -- +(0.5,0) node[right] {$n_2$};
\draw[->] (0,2) -- +(0,0.5) node[above] {$n_3$};
\draw[->] (-2,0) -- +(-0.5,0) node[left] {$n_4$};
\draw (A) node[below left] {$1$};
\draw (B) node[below right] {$2$};
\draw (C) node[above right] {$3$};
\draw (D) node[above left] {$4$};
\draw (-3,-3) node[below left] {$a)$};
\end{scope}
\begin{scope}[shift={(3,0)},scale=0.5]
\coordinate (A) at (-2,-2);
\coordinate (B) at (2,-2);
\coordinate (C) at (2,2);
\coordinate (D) at (-2,2);
\draw[thin, dashed] ($(A)!-0.5!(B)$) -- ($(B)!-0.5!(A)$);
\draw[thin, dashed] ($(B)!-0.5!(C)$) -- ($(C)!-0.5!(B)$);
\draw[thin, dashed] ($(C)!-0.5!(D)$) -- ($(D)!-0.5!(C)$);
\draw[thin, dashed] ($(D)!-0.5!(A)$) -- ($(A)!-0.5!(D)$);
\draw[line width=0.5mm] (A) -- (B);
\draw[line width=0.5mm] (B) -- (C);
\draw[line width=0.5mm] (C) -- (D);
\draw[line width=0.5mm] (D) -- (A);
\draw (0,-2) node[below] {$w$};
\draw (2,0) node[right] {$x$};
\draw (0,2) node[above] {$y$};
\draw (-2,0) node[left] {$z$};
\draw (A) node[below left] {$w-z$};
\draw (B) node[below right] {$x-w$};
\draw (C) node[above right] {$y-x$};
\draw (D) node[above left] {$z-y$};
\draw (-3,-3) node[below left] {$b)$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [no placement]
{
a[at={(0:0)}] -> b[at={(1,0)}] -> c[yshift=1cm];
};
\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) to[R, l=$\SI{1}{\kilo\ohm}$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0) to [nV, l=$e_n$] ++(2,0);
\draw(0,-2) to [nI, l=$i_n$] ++(2,0);
\begin{scope}[circuitikz/bipoles/noise sources/fillcolor=dashed]
\draw(3,0) to [nV, l=$e_n$] ++(2,0);
\draw(3,-2) to [nI, l=$i_n$] ++(2,0);
\end{scope}
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
x tick label as interval,
]
\addplot {3*x};
\end{axis}
\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) to[R, o-d] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis equal,
minor tick num=1,
]
\def\FREQUENCY{3}
\addplot [red, domain=0:360, samples=200,
smooth, data cs=polar]
(x,{30-8*sin(\FREQUENCY*x)});
\addplot [samples=40, domain=0:2*pi, dashed,
data cs=polar] (deg(x),30);
\addplot [mark=oplus, only marks] coordinates {(0,0)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, d-d] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{angles,quotes}
\begin{document}
\begin{tikzpicture}[>=latex]
\coordinate(a)at(0,0);
\coordinate(b)at(2,2);
\coordinate(c)at(1.75,0.275);
\coordinate(d)at(2,0);
\draw(0.8,1.2)node{$r_{sph}$};
\draw(2,1)node[right]{$r_2$};
\draw(1,0)node[below]{$|z_1-z_2|$};
\draw(a)node{$\bullet$}node[above left]{$1$};
\draw(b)node{$\bullet$}node[above right]{$2$};
\draw(c)node{$\bullet$}node[above right]{$3$};
\draw(a)--(b);
\draw[densely dotted](b)--(d)--(a);
\draw[dashed](a)--(c)--(b);
\draw(a)circle(50pt);
\draw(b)circle(50pt);
\draw[loosely dotted](-2.5,0)--(a);
\draw[loosely dotted](d)--(4.5,0);
\draw[loosely dotted](-2.5,2)--(4.5,2);
\pic[draw,-,angle radius=3mm,angle eccentricity=1.5,"$\gamma$"]{angle=b--c--a};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{patchplots}
\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
domain = 1:2,
y domain = 74:87.9,
view = {0}{90},
colormap={violet}{rgb=(0.3,0.06,0.5), rgb=(0.9,0.9,0.85)},
colorbar,
point meta max=-0.1,
point meta min=-3,
]
\addplot3[
contour filled={number = 30, labels={false}},
thick
]{-2.051^3*1000/(2*3.1415*(2.99*10^2)^2)/(x^2*cos(y)^2)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.13}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmax=1.1,xmin=0,
ymax=1.1,ymin=0,
xtick={0,0.5,1},
ytick={0,0.5,1},
axis lines=center,
tick label style={
/pgf/number format/.cd,
fixed,
precision=1,
},
extra y tick style={
magenta,
major tick style={
magenta,
},
tick label style={
/pgf/number format/.cd,
fixed,
precision=2,
}
},
extra y ticks={0.87},
hide obscured x ticks=false,
hide obscured y ticks=false
]
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex[label=foo,fontscale=0.5]{A}
\Vertex[x=1,label=bar,fontscale=1]{B}
\Vertex[x=2,label=$u_1$,fontscale=2]{C}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color, soul}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows}
\tikzset{
vertex/.style={
circle,fill=black,scale=0.5
},
blank/.style={
circle,fill=white
},
}
\begin{document}
\begin{tikzpicture}
\node[vertex,blue,fill=blue,label=right:{\small $1$}] at (5,3) (11) {};
\node[vertex,blue,fill=blue,label=right:{\small $2$}] at (5,2) (12) {};
\node[vertex,blue,fill=blue,label=right:{\small $4$}] at (5,1) (13) {};
\node[vertex,blue,fill=blue,label=right:{\small $3$}] at (5,0) (14) {};
\draw (11) [color=blue]--(12)--(13)--(14);
\node at (5,-0.6) (U2) {$U_2$};
\node[vertex,,blue,fill=blue,label=left:{\small $1$}] at (1,3) (21) {};
\node[vertex,,blue,fill=blue,label=left:{\small $2$}] at (1,2) (22) {};
\node[vertex,,blue,fill=blue,label=left:{\small $3$}] at (1,1) (24) {};
\node[vertex,,blue,fill=blue,label=left:{\small $4$}] at (1,0) (23) {};
\draw (21) [color=blue]--(22)--(24)--(23);
\node at (1,-0.6) (U1) {$U_1$};
\draw[->] (4.65,1.5) -- (3.85,1.5);
\node at (4.25,2) (pi) {$\pi$};
\draw[->] (1.35,1.5) -- (2.15,1.5);
\node at (1.75,2) (pi) {$\pi$};
\node[vertex,blue,fill=blue,label=left:{\small $1$}] at (3,2.5) (31) {};
\node[vertex,blue,fill=blue,label=left:{\small $2$}] at (3,1.5) (32) {};
\node[vertex,blue,fill=blue,label=left:{\small $3$}] at (2.5,0.5) (33) {};
\node[vertex,blue,fill=blue,label=left:{\small $4$}] at (3.5,0.5) (34) {};
\draw (31)[color=blue]--(32)--(33);
\draw (32)[color=blue]--(34);
\node at (3,-0.6) (U) {$U$};
\node[vertex,red,fill=red,label=right:{\small $1$}] at (13,3) (51) {};
\node[vertex,red,fill=red,label=right:{\small $2$}] at (13,2) (52) {};
\node[vertex,red,fill=red,label=right:{\small $4$}] at (13,1) (53) {};
\node[vertex,red,fill=red,label=right:{\small $3$}] at (13,0) (54) {};
\draw (51)[color=red]--(52)--(53)--(54);
\node at (13,-0.6) (V2) {$V_2$};
\node[vertex,red,fill=red,label=left:{\small $1$}] at (9,3) (41) {};
\node[vertex,red,fill=red,label=left:{\small $2$}] at (9,2) (42) {};
\node[vertex,red,fill=red,label=left:{\small $3$}] at (9,1) (44) {};
\node[vertex,red,fill=red,label=left:{\small $4$}] at (9,0) (43) {};
\draw (41)[color=red]--(42)--(44)--(43);
\node at (9,-0.6) (V1) {$V_1$};
\draw[->] (12.65,1.5) -- (11.85,1.5);
\node at (12.25,2) (pi) {$\pi$};
\draw[->] (9.35,1.5) -- (10.15,1.5);
\node at (9.75,2) (pi) {$\pi$};
\node[vertex,red,fill=red,label=left:{\small $1$}] at (11,2.5) (61) {};
\node[vertex,red,fill=red,label=left:{\small $2$}] at (11,1.5) (62) {};
\node[vertex,red,fill=red,label=left:{\small $3$}] at (10.5,0.5) (63) {};
\node[vertex,red,fill=red,label=left:{\small $4$}] at (11.5,0.5) (64) {};
\draw (61)[color=red]--(62)--(63);
\draw (62)[color=red]--(64);
\node at (11,-0.6) (V) {$V$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning, shapes.geometric, shapes.misc, arrows}
\begin{document}
\begin{tikzpicture}[node distance=1.5cm,>=stealth',every node/.style={align=center, font=\fontsize{9}{0}\selectfont}]
\tikzstyle{boxstyle}=[rectangle,draw=black,minimum size=15]
\tikzstyle{circlestyle}=[circle,draw=black,minimum size=15]
\tikzstyle{roundedrect}=[rounded rectangle,draw=black,minimum size=15]
\tikzstyle{blueroundedrect}=[rounded rectangle,draw=blue,minimum size=15]
\tikzstyle{bluerectangle}=[rectangle,draw=blue,minimum size=15]
\tikzstyle{bluearrow}=[->, draw=blue]
\node[boxstyle](x_input) at (0, 2) {Hyperparameter Config $\textbf{x}_{i}$};
\node[boxstyle](b_input) at (0, 1) {Budget $j$};
\node[boxstyle](lc_input) at (0, 0) {Learning Curve $\mathbf{Y}_{i,j-1}$};
\node[bluerectangle](pigm_input) at (0, -1) {\textcolor{blue}{Model Checkpoint $\mathbf{W}$}};
\node[circlestyle](layer1) at (3, 1.5) {Hidden\\Layer 1};
\node[circlestyle](layer2) at (7, 1.5) {Hidden\\Layer 2};
\node[roundedrect](conv) at (3.5, 0) {Conv};
\node[roundedrect](max) at (5, 0) {Max};
\node[blueroundedrect](pigm) at (3.5, -1) {\textcolor{blue}{PIGMN}};
\node[blueroundedrect](readout) at (6, -1) {\textcolor{blue}{Readout}};
\draw[->] (x_input) -- (layer1);
\draw[->] (b_input) -- (layer1);
\draw[->] (lc_input) -- (conv);
\draw[bluearrow] (pigm_input) -- (pigm);
\draw[->] (layer1) -- (layer2);
\draw[->] (conv) -- (max);
\draw[->] (max) -- (layer2);
\draw[bluearrow] (pigm) -- (readout);
\draw[bluearrow] (readout) -- (layer2);
\node[boxstyle, right=of layer2] (output) {Features for\\Deep Kernel GP $\psi$};
\draw[->] (layer2) -- (output);
\node[boxstyle, below=of output, yshift=1cm] (kernelOutput) {Kernel $\mathbf{K}$ from Equation~\ref{eq:weight_kernel}};
\draw[->] (output) -- (kernelOutput);
\node[boxstyle, below=of kernelOutput, yshift=1cm] (mean_var_Output) {Predictive mean and variance\\ $\mu(\mathbf{x}_{i}), \sigma^2(\mathbf{x}_{i})$ from Equation~\ref{eq:pred_mean_var}};
\draw[->] (kernelOutput) -- (mean_var_Output);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[straight voltages]
\draw (0,0) to[V=10V, i_=$i_1$] (3,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[latin9]{inputenc}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\tikzset{noeud/.style={rectangle,rounded corners,fill=white,ultra thick,minimum height=6.7mm,minimum width=5mm,text centered,font=\bfseries\fontsize{8}{0}\selectfont,draw}}
\begin{document}
\begin{tikzpicture}[xscale=1,yscale=1]
\tikzset{noeud/.style={rectangle,rounded corners,fill=white,ultra thick,minimum height=6.7mm,minimum width=5mm,text centered,font=\bfseries\fontsize{8}{0}\selectfont,draw}}
\node[noeud] (R) at (2.8,0) {1};
\node[noeud] (B1) at (-0.7,-1.12) {2};
\node[noeud] (B2) at (1.89,-1.12) {6};
\node[noeud] (B3) at (3.71,-1.12) {8};
\node[noeud] (B4) at (6.3,-1.12) {11};
\node[noeud] (C1) at (-2.59,-2.03) {3};
\node[noeud] (C2) at (-1.05,-2.03) {4};
\node[noeud] (C3) at (0.21,-2.03) {5};
\node[noeud] (C4) at (1.68,-2.03) {7};
\node[noeud] (C5) at (3.22,-2.03) {9};
\node[noeud] (C6) at (4.2,-2.03) {10};
\node[noeud] (C7) at (5.95,-2.03) {12};
\node[noeud] (C8) at (7,-2.03) {15};
\node[noeud] (C9) at (8.19,-2.03) {16};
\node[noeud] (D1) at (5.18,-2.87) {13};
\node[noeud] (D2) at (6.51,-2.87) {14};
\draw[line width=0.3mm] (R.south) to (B1.north);
\draw[line width=0.3mm] (R.south) to (B2.north);
\draw[line width=0.3mm] (R.south) to (B3.north);
\draw[line width=0.3mm] (R.south) to (B4.north);
\draw[line width=0.3mm] (B1.south) to (C1.north);
\draw[line width=0.3mm] (B1.south) to (C2.north);
\draw[line width=0.3mm] (B1.south) to (C3.north);
\draw[line width=0.3mm] (B2.south) to (C4.north);
\draw[line width=0.3mm] (B3.south) to (C5.north);
\draw[line width=0.3mm] (B3.south) to (C6.north);
\draw[line width=0.3mm] (B4.south) to (C7.north);
\draw[line width=0.3mm] (B4.south) to (C8.north);
\draw[line width=0.3mm] (B4.south) to (C9.north);
\draw[line width=0.3mm] (C7.south) to (D1.north);
\draw[line width=0.3mm] (C7.south) to (D2.north);
\draw[->,>=latex,line width=0.5mm] (2,-0.25) -- (-0.3,-0.5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=left,
axis line shift=10pt,
grid=major,
]
\addplot3 [surf,shader=interp,samples=2] {x+y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{-s/.style = {bipole nodes={none}{osquarepole, fill=red}}}
\draw (0,0) to[R, -s] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\foreach \x in {0,1,2,3,4,5,6,7,8}
{
\draw (\x,0) circle (0.05cm);
\fill (\x,0) circle (0.05cm);
\draw (\x,-1) circle (0.05cm);
\fill (\x,-1) circle (0.05cm);
}
\fill (0,0) circle (0.08cm);
\foreach \x in {0,1,2,3,4,5,6,7}
{
\draw[thick, -latex] (\x+1,0) to (\x,0);
\draw[thick, -latex] (\x+1,-1) to (\x,-1);
\draw[thick, -latex] (\x,-1) to (\x+1,0);
\node at (\x+0.1,0.15) {\tiny$\x$};
}
\foreach \x in {0,1,2,3,4,5,6,7,8}
{
\draw[thick, -latex] (\x,0) to (\x,-1);
}
\foreach \x in {3,4,5,6,7,8}
{
\draw[ultra thick, olive, -latex] (\x,-1) -- (\x-0.25,-1.25);
}
\draw[ultra thick, olive, -latex] (2,-1) to[out=210,in=-30] (0, -1);
\draw[ultra thick, purple, -latex] (2,0) to[out=150,in=30] (0, 0);
\foreach \x in {3,4,5,6,7,8}
{
\draw[ultra thick, purple, -latex] (\x,0) -- (\x-0.25,0.25);
}
\node at (8.1,0.15) {\tiny$8$};
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}
\begin{scope}\clip (-2.5,0) rectangle (2.5,2.5);
\draw (0,0) circle(2);
\draw (-2,0) -- (-2 ,2.5);
\draw (2,0) --(2,2.5);
\draw[dashed] (-2.3,0.7) --(2.3,0.7);
\fill[black, opacity=0.2] (-2,0) arc[start angle = 180, end angle = 0, radius = 2] --(2,2.5)--(-2,2.5)--cycle;
\end{scope}\node at (-2,0) [below] {$0$};
\node at (2,0) [below] {$x$};
\node at (2.3,0.7) [right] {$Y$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{polar}
\begin{document}
\begin{tikzpicture}
\begin{polaraxis}
\addplot coordinates {(90,1) (180,1)};
\addplot+ [data cs=cart] coordinates {
(1,0)
(0.5,0.5)
};
\end{polaraxis}
\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) to[R, f<^=$i_1$] (3,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw(0,0)node{$\bullet$}node[left]{$A_1$}--(1,0)node{$\bullet$}node[right]{$A_2$};
\draw[very thick](0,0)--(.5,.866)node{$\bullet$}node[above]{$A_3$}(1,0)--(.5,.866);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\tikzset{
dot/.style={draw,fill,circle,inner sep = 0pt,minimum size = 3pt}
}
\begin{document}
\begin{tikzpicture}
\draw (0,0) node(a)[dot][label=left:\( a \)]{}--++(1,1) node(x)[dot][label=above:\( x \)]{}--++(1,-1) node(b)[dot][label=right:\( b \)]{}--++(-1,-1) node(y)[dot][label=below:\( y \)]{}--(a);
\draw (x)--(y);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{math,calc,intersections,arrows.meta,patterns,shapes.geometric,angles}
\begin{document}
\begin{tikzpicture}[rotate=-20]
\tikzmath{\r1 = 2cm;
\d1 = 4cm;
coordinate \c;
\c1 = (2,0);
\c2 = (-8,2);
\c3 = (-3,3);
}\node[circle,draw,name path=c1](c1)at(\c1)[minimum size=\d1]{$K_l$};
\node[circle,draw,name path=c2](c2)at(\c2)[minimum size=\d1]{$K_i$};
\node[circle,draw,name path=c3](c3)at(\c3)[minimum size=\d1]{$K_j$};
\coordinate(a)at(4,1);
\coordinate(b)at(-10,1);
\path[name path=ab](a)--(b);
\path[name intersections={of=ab and c1,by={sa1,sa2}}];
\path[name intersections={of=ab and c2,by={sb1,sb2}}];
\coordinate(ta1)at(tangent cs:node=c3,point={(a)},solution=2);
\fill(sb2)circle(0.05cm);
\fill(sa2)circle(0.05cm);
\fill(ta1)circle(0.05cm);
\draw[dashed,rotate=72](sa2)--($(sa2)+(1,1)$);
\draw[dashed,rotate=-105](sb2)--($(sb2)+(1,1)$);
\draw[rotate=72](sa2)--($(sa2)+(0.5,0.5)$);
\draw[rotate=-105](sb2)--($(sb2)+(0.5,0.5)$);
\draw(sb2)--(sa2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex[label=foo,fontcolor=blue]{A}
\Vertex[x=1,label=bar,fontcolor=magenta]{B}
\Vertex[x=2,label=$u_1$,fontcolor=red]{C}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,amsthm}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1,scale = 0.8]
\draw (340,105) -- (340,280) ;
\draw (515,280) -- (340,280) ;
\draw [dash pattern={on 0.84pt off 2.51pt}] (515,105) -- (340,280) ;
\draw (125,105) -- (125,280) ;
\draw (300,280) -- (125,280) ;
\draw [dash pattern={on 0.84pt off 2.51pt}] (300,105) -- (125,280) ;
\draw (192.5,279) .. controls (194,215.5) and (192.5,190) .. (205.5,180) .. controls (218.5,170) and (245.5,176) .. (255.5,166) .. controls (265.5,156) and (259.5,135) .. (269.5,124) .. controls (279.5,113) and (298.5,110) .. (300,105) ;
\draw (515,105) .. controls (505.6,108.2) and (489.8,117.4) .. (485,122) .. controls (480.2,126.6) and (475.9,164) .. (470,170) .. controls (464.1,176) and (417.8,170.8) .. (410,180) .. controls (402.2,189.2) and (417,232.4) .. (410,240) .. controls (403,247.6) and (376.6,253) .. (370,247) .. controls (363.4,241) and (371.4,218.4) .. (380,210) .. controls (388.6,201.6) and (429.8,219.6) .. (440,210) .. controls (450.2,200.4) and (440,161.2) .. (450,150) .. controls (460,138.8) and (495,140.6) .. (500,137) .. controls (505,133.4) and (514,115) .. (515,107) ;
\draw (411,291) node [anchor=north west][inner sep=0.75pt] [align=left] {Type II};
\draw (171,291) node [anchor=north west][inner sep=0.75pt] [align=left] {Type I};
\end{tikzpicture}
\end{document}