AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\tikzset{
every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny},
small dot/.style={fill=black,circle,scale=0.3},
}
\begin{axis}[
ticklabel style={draw=red},
clip=false,
title=Positioning with \texttt{ticklabel cs} in 3D,
]
\addplot3 coordinates {(-5,-5,-5) (5,5,5)};
\node [small dot,pin=-90:{\texttt{xticklabel cs:0}}] at (xticklabel cs:0) {};
\node [small dot,pin=-90:{\texttt{xticklabel cs:0.5}}] at (xticklabel cs:0.5) {};
\node [small dot,pin=-90:{\texttt{xticklabel cs:1}}] at (xticklabel cs:1) {};
\node [small dot,pin=-45:{\texttt{yticklabel cs:0}}] at (yticklabel cs:0) {};
\node [small dot,pin=-45:{\texttt{yticklabel cs:0.5}}] at (yticklabel cs:0.5) {};
\node [small dot,pin=-45:{\texttt{yticklabel cs:1}}] at (yticklabel cs:1) {};
\node [small dot,pin=180:{\texttt{zticklabel cs:0}}] at (zticklabel cs:0) {};
\node [small dot,pin=180:{\texttt{zticklabel cs:0.5}}] at (zticklabel cs:0.5) {};
\node [small dot,pin=180:{\texttt{zticklabel cs:1}}] at (zticklabel cs:1) {};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
trees,
backgrounds,
fit,
shapes.geometric
}
\tikzset{
level distance=1cm,
sibling distance=1cm,
}
\begin{document}
\begin{tikzpicture}[level distance=8mm]
\node (root) {root}
child { node (a) {a} }
child { node (b) {b}
child { node (d) {d} }
child { node (e) {e} } }
child { node (c) {c} };
\begin{scope}[on background layer]
\node[fill=red!20,inner sep=0pt,ellipse,fit=(root) (b) (d) (e)] {};
\node[fill=blue!20,inner sep=0pt,ellipse,fit=(b) (c) (e)] {};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{polar}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{tikzpicture}
\begin{polaraxis}[
ymin=0, ymax=25, ytick=\empty,
nodes near coords,
every axis plot/.append style={ultra thick},
visualization depends on={(y>15?-90:x-180)\as\myanchor},
nodes near coords style={anchor=\myanchor}
]
\addplot+ [polar comb]
coordinates {
(0,21.6)(30,5.3)(60,5.5)(90,11.4)
(120,4.0)(150,6.6)(180,15.8)(210,5.2)
(240,5.5)(270,10.6)(300,3.4)(330,5.2)
};
\end{polaraxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{math}

\begin{document}

  \begin{tikzpicture}[xscale=5,yscale=3]
    \draw[->,>=latex] (0,0) -- (1.6,0) node[below]{$\beta$};
    \draw[->,>=latex] (0,0) -- (0,1.7);
    \draw (0,0) node[below left]{$0$};
    \draw[dashed] ({sqrt(2)/2},-.015) -- ({sqrt(2)/2},{sqrt(2)});
    \draw ({sqrt(2)/2},0) node[below]{$\frac{\sqrt{2}}{2}$};
    \draw[dashed] ({sqrt(2/3)},-.015) -- ({sqrt(2/3)},{2*sqrt(2/3)});
    \draw ({sqrt(2/3)},0) node[below]{$\frac{\sqrt{2}}{\sqrt{3}}$};
    \draw[dashed] (1,-.015) -- (1,.015);
    \draw (1,0) node[below]{$1$};
    \draw[dashed] ({sqrt(2)},-.015) -- ({sqrt(2)},.015);
    \draw ({sqrt(2)},0) node[below]{$\sqrt{2}$};
    \draw[dashed] (-.01,{sqrt(2)}) -- ({sqrt(2)},{sqrt(2)});
    \draw (0,{sqrt(2)}) node[left]{$\sqrt{2}$};
    \draw[domain=0:sqrt(2/3),NavyBlue,thick] plot (\x, 2*\x);
    \draw[domain=sqrt(2/3):sqrt(2),BrickRed,thick] plot (\x, 1/\x+\x/2);
    \draw[NavyBlue,thick] (1.7,.7) -- (1.8,.7) node[right]{$v(\beta) = 2\beta$};
    \draw[BrickRed,thick] (1.7,.5) -- (1.8,.5) node[right]{$v(\beta) = 1/\beta + \beta/2$};
  \end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz\graph{a->[red]b--[thick]{c,d};
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.polar,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization [
scientific polar axes={clean, 0 to 180},
visualize as smooth line]
data [format=function] {
var angle : interval [0:100];
func radius = \value{angle};
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title=Without \texttt{near ticklabel},
ylabel={$f(x)=x$},
every axis y label/.style={
at={(ticklabel cs:0.5)},rotate=90,anchor=center,
},
clip=false,
ylabel style={draw=red},
yticklabel style={draw=red},
]
\addplot {x};
\fill (yticklabel cs:0.5) circle(2pt);
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[
title=With \texttt{near ticklabel},
ylabel={$f(x)=x$},
every axis y label/.style={
at={(ticklabel cs:0.5)},rotate=90,anchor=near ticklabel,
},
clip=false,
ylabel style={draw=red},
yticklabel style={draw=red},
]
\addplot {x};
\fill (yticklabel cs:0.5) circle(2pt);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amsmath,amsthm,amsfonts}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{tikz}
\usetikzlibrary{calc,decorations,decorations.pathmorphing}
\usetikzlibrary{positioning,fit,arrows}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{shapes,shapes.geometric}
\usetikzlibrary{shadows,patterns,snakes}
\usetikzlibrary{backgrounds,decorations.pathreplacing,automata}
\usetikzlibrary{intersections}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\coordinate (O) at (0, 0, 0);
\coordinate (tc) at (2, 0, 0);
\coordinate (bc) at (-2, 0, 0);
\coordinate (mn) at (0, -2, 0);
\coordinate (me) at (0, 0, 2);
\coordinate (ms) at (0, 1.4, 0);
\coordinate (ts) at (-1.5, 1.2, 0);
\coordinate (mw) at (0, 0, -2);
\coordinate (xp) at (2.5, 0, 0);
\coordinate (xn) at (-2.5, 0, 0);
\coordinate (yp) at (0, 2.0, 0);
\coordinate (yn) at (0, -2.2, 0);
\coordinate (zp) at (0, 0, 3.8);
\coordinate (zn) at (0, 0, -2.5);
\draw[->,opacity=0.7] (xn) -- (xp);
\draw[->,opacity=0.7] (yn) -- (yp);
\draw[->,opacity=0.7] (zn) -- (zp);
\draw[fill=blue!90, opacity=0.15] (tc) -- (mn) -- (me) -- cycle;
\draw[fill=blue!90, opacity=0.15] (tc) -- (mn) -- (mw) -- cycle;
\draw[fill=blue!90, opacity=0.15] (tc) -- (ms) -- (me) -- cycle;
\draw[fill=blue!90, opacity=0.15] (tc) -- (ms) -- (mw) -- cycle;
\draw[fill=blue!90, opacity=0.15] (bc) -- (ts) -- (me) -- cycle;
\draw[fill=blue!90, opacity=0.15] (bc) -- (ts) -- (mw) -- cycle;
\draw[fill=blue!90, opacity=0.15] (bc) -- (mn) -- (me) -- cycle;
\draw[fill=blue!90, opacity=0.15] (bc) -- (mn) -- (mw) -- cycle;
\draw[fill=blue!90, opacity=0.15] (ts) -- (ms) -- (me) -- cycle;
\draw[fill=blue!90, opacity=0.15] (ts) -- (ms) -- (mw) -- cycle;
\draw[opacity=0.5] (mn) -- (tc);
\draw[opacity=0.5] (mn) -- (bc);
\draw[opacity=0.5] (mn) -- (me);
\draw[opacity=0.5] (me) -- (ms);
\draw[opacity=0.5] (me) -- (ts);
\draw[opacity=0.5] (me) -- (tc);
\draw[opacity=0.5] (me) -- (bc);
\draw[opacity=0.5] (tc) -- (ms);
\draw[opacity=0.5] (bc) -- (ts);
\draw[opacity=0.5] (ts) -- (ms);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[axis equal image=false,grid=major]
\addplot [blue] expression [domain=0:2*pi,samples=300] {sin(deg(x))*sin(2*deg(x))};
\end{axis}
\end{tikzpicture}
\hspace{1cm}
\begin{tikzpicture}
\begin{axis}[axis equal image=true,grid=major]
\addplot [blue] expression [domain=0:2*pi,samples=300] {sin(deg(x))*sin(2*deg(x))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[12pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\draw (0,0) to (0,2) node[right]{$e_2$};
\draw (0,0) to (2,0) node[right]{$e_1$};
\draw (0,0) to (1,-1) node[right,below]{$v_4$};
\draw (0,0) to (0,-2) node[right]{$v_3$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
small,
]
\addplot {5 * x^3 - x^2 + 4*x -2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\pgfkeys{/pgf/data visualization/style sheets/traffic light/.cd,1/.style={green!50!black},2/.style={yellow!90!black},3/.style={red!80!black},default style/.style={black}}
\begin{tikzpicture}
\datavisualization data group {lines}={data point[x=0,y=0,set=normal]data point[x=2,y=2,set=normal]data point[x=0,y=1,set=heated]data point[x=2,y=1,set=heated]data point[x=0.5,y=1.5,set=critical]data point[x=2.25,y=1.75,set=critical]};
\datavisualization[school book axes,visualize as line=normal,visualize as line=heated,visualize as line=critical,/data point/set/normal/.initial=1,/data point/set/heated/.initial=2,/data point/set/critical/.initial=3,style sheet=traffic light]data group {lines};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[
group style={
group name=my plots,
group size=2 by 2,
},
width=4cm,height=4cm,
]
\nextgroupplot[group/empty plot]
\nextgroupplot
\addplot coordinates {(0,0) (1,2) (2,1)};
\nextgroupplot
\addplot coordinates {(0,0) (1,2) (2,1)};
\nextgroupplot
\addplot coordinates {(0,0) (1,2) (2,1)};
\end{groupplot}
\draw (my plots c1r1.east)
circle (3pt) node {East};
\draw (my plots c2r1.north)
circle (3pt) node {north};
\draw (my plots c1r2.center)
circle (3pt) node {center};
\draw (my plots c2r2.north west)
circle (3pt) node {North west};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
small,
minor x tick num=1,
enlarge x limits={abs=1cm},
]
\addplot {5 * x^3 - x^2 + 4*x -2}
coordinate [pos=0] (first)
coordinate [pos=1] (last);
\draw [red,->] (first) -- ++(-1cm,0pt);
\draw [red,->] (last) -- ++( 1cm,0pt);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amsmath,amssymb}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows,positioning}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\draw [white,fill = red!40, fill opacity=.3](-14,2) -- (-14,5) -- (-11,5) -- (-11,2)-- (-14,2) -- cycle;
\node[]at(-12.2,4.5){$B$};
\draw[->] (-16,0) -- node[pos=.95,below]{$\mathbb{R}^{N-\rho}$}(-8,0);
\draw[->] (-16,0) -- node[pos=.95,left]{$\mathbb{R}^\rho$}(-16,7);
\draw[->] (-4,0) -- node[pos=.95,below]{$\mathbb{R}^{M-\rho}$}(4,0);
\draw[->] (-4,0) -- node[pos=.95,left]{$\mathbb{R}^\rho$}(-4,7);
\draw[-,line width=2,green](-15.7,3.1) --(-8.5,3.1);
\node[]at(-9.5,3.5){$x+Y$};
\draw[-,line width=2,red](-16,2) -- node[pos=.65,left,black]{$B^*$}(-16,5);
\draw[-,line width=2,red](-4,2) -- node[pos=.65,right,black]{$F(B^*)=F(B)$}(-4,5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xbar,
xmin = -.5,
axis lines* = middle,
ymajorticks = false,
every inner y axis line/.append style = {dashed},
nodes near coords,
nodes near coords style = {anchor = west,font = \itshape},
point meta = explicit symbolic,
xtick = {-0.5,0,0.5,...,3.5},
xlabel = {$RS = \log (LC_{50Lf}/LC_{50i})$}
]
\addplot [fill=black!70] coordinates {
(3.75,1) [V. c. cochienis]
(2.75,2) [L. teres]
(2.50,3) [L. s. claibornensis]
(2.40,4) [A. pectorosa]
(2.40,5) [L. subviridis]
(2.30,6) [U. imbecillis]
(0.50,7) [C. rhizophorae]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, i_>=$i_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
[circuitikz/voltage=american, circuitikz/resistor=american]
\draw (0,0) to[R=2<\ohm>, i=?, v=84<\volt>] (2,0) --
(2,2) to[V<=84<\volt>] (0,2)
-- (0,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotsset{
my personal style/.style={
grid=major,
font=\large,
},
}
\begin{tikzpicture}
\begin{axis}[my personal style]
\addplot coordinates {(0,0) (1,1)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[margin=2mm]{standalone}
\usepackage[edges]{forest}
\tikzset{
basic/.style = {draw, text width=2cm, rectangle},
root/.style = {basic, rounded corners=2pt, thin, align=center},
tnode/.style = {basic, thin, rounded corners=2pt, align=center, text width=1cm},
t2node/.style = {basic, thin, rounded corners=2pt, align=center, text width=0.5cm}
}
\newsavebox\CheatBox
\sbox\CheatBox{\begin{forest}
forked edges,
for tree={
grow=east,
growth parent anchor=east,
parent anchor=east,
child anchor=west}
[Example, root, s sep=5mm, l sep=4mm,
[B, t2node,alias=A]
[A, t2node,alias=B]
]
\draw (A.east) -- ++ (1ex,0) |- (B.east) coordinate[pos=0.25] (aux)
(aux) --++ (1em,0);
\end{forest}}
\begin{document}
\begin{forest}
forked edges,
for tree={
grow=east,
growth parent anchor=east,
parent anchor=east,
child anchor=west,
}
[\usebox\CheatBox,alias=root
[C,tnode
[D,tnode]
[E,tnode]
]
[F,tnode
[G,tnode]
[J,tnode]
[K,tnode]
]
[L,tnode
[M,tnode]
[N,tnode]
]
]
\draw (root.east) -- ++ (-1ex,0);
\end{forest}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\begin{axis}[
title={Vehicle},
xlabel={Percentage of Data Missing [\%]},
ylabel={RMSE},
xmin=20, xmax=70,
ymin=0.84, ymax=1.02,
xtick={70, 60, 50, 40, 30, 20},
ytick={0.84, 0.87, 0.90, 0.93, 0.96, 0.99, 1.02},
legend style={at={(0.98,0.5)},anchor=south east},
ymajorgrids=true,
grid style=dashed,
x dir=reverse
]
\addplot[color=red, mark=square] coordinates {
(70,0.981)(60,0.938)(50,0.915)(40,0.886)(30,0.859)(20,0.841)
};
\addplot[color=blue, mark=*] coordinates {
(70,1.011)(60,0.990)(50,0.983)(40,0.976)(30,0.979)(20, 0.997)
};
\addlegendentry{TabPFGen}
\addlegendentry{Mean}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center),very thick,scale=.7]
\draw(-2,0)--node[above left]{$\alpha_1$}(0,2)--node[above right]{$\alpha_2$}(2,0)--node[below right]{$\alpha_3$}(0,-2);
\draw[dashed](0,-2)--node[below left]{$\langle 2,1 \rangle$}(-2,0);
\draw(-2,0)--node[below]{$\alpha_3\mp\frac{b}{2}$}(2,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=5mm]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\coordinate [label=left:$A$] (A) at (-2, -1);
\coordinate [label=above:$B$] (B) at (1, 1);
\coordinate [label=right:$C$] (C) at (2.2, -1);
\draw (A) -- node [sloped, above] {c} (B) -- node [sloped, above] {a} (C) -- node [below] (b) {b} cycle;
\draw [dashed] (B) -- ($(A)!(B)!(C)$);
\draw [dotted] (B) -- (b);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[unit vector ratio=2 1,small]
\addplot coordinates {(0,0) (1,1)};
\addplot table [row sep=\\,col sep=&] {
x & y \\
0 & 1 \\
1 & 0 \\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
patchplots,
}
\begin{document}
\foreach \level in {0,1,2} {
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
footnotesize,
title={patch refines = \level},
]
\addplot3 [patch,patch type=triangle quadr,
shader=faceted interp,patch refines=\level,
] coordinates {
(0,0,0) (5,4,0) (0,7,0)
(2,3,0) (3,6,1) (-1,4,0)
};
\end{axis}
\end{tikzpicture}
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\usetikzlibrary{decorations.markings}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetikzlibrary{angles}
\usetikzlibrary{quotes}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\draw[->, gray] (-3, 0) -- (3, 0) node[right] {$u$};
\draw[->, gray] (0, -3) -- (0, 3) node[right] {$w$};
\draw[-, thick] (-3, -2) -- (1.5, 2.5);
\draw[-, thick] (-1.5, -2.5) -- (3, 2);
\draw[-,dashed](2.3,0)--(2.3,1.5);
\draw[-,dashed](1.3,0)--(1.3,1.5);
\draw[-,dashed](0.5,0)--(0.5,1.5);
\draw[-,dashed](0,1.5)--(1.3,1.5);
\draw[->,red, thick] (2.3,1.5)--(1.3,1.5);
\node[text = black, below] (r) at (2.3,0) {\scriptsize{$u_r$}};
\node[text = black, below] (r) at (1.3,0) {\scriptsize{$u_l$}};
\node[text = black, below] (r) at (0.1,0) {\scriptsize{$w_r-a$}};
\node[text = black, left] (r) at (0,1.5) {\scriptsize{$w_r$}};
\draw[->, gray,xshift=8cm] (-3, 0) -- (3, 0) node[right] {$u$};
\draw[->, gray,xshift=8cm] (0, -3) -- (0, 3) node[right] {$w$};
\draw[-, thick,xshift=8cm] (-3, -2) -- (1.5, 2.5);
\draw[-, thick,xshift=8cm] (-1.5, -2.5) -- (3, 2);
\draw[-,dashed,xshift=8cm](2.3,0)--(2.3,1.5);
\draw[-,dashed,xshift=8cm](-0.8,0)--(-0.8,0.2);
\draw[-,dashed,xshift=8cm](0.5,0)--(0.5,1.5);
\draw[-,dashed,xshift=8cm](0,1.5)--(0.5,1.5);
\draw[->,red, thick,xshift=8cm] (2.3,1.5)--(0.5,1.5)--(-0.8,0.2);
\node[text = black, below] (r) at (10.3,0) {\scriptsize{$u_r$}};
\node[text = black, below] (r) at (7.2,0) {\scriptsize{$u_l$}};
\node[text = black, below] (r) at (8.1,0) {\scriptsize{$w_r-a$}};
\node[text = black, left] (r) at (8,1.5) {\scriptsize{$w_r$}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colormap/redyellow,colorbar]
\addplot3 [
surf,
domain=0:360,
samples=40,
] {sin(x)*sin(y)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}[every node/.style={draw,circle}]
\draw[help lines] (0,0) grid (2,5);
\begin{scope}[node distance=5mm and 5mm]
\node (b) at (1,4) {b};
\node [left=of b] {1}; \node [right=of b] {2};
\node [above=of b] {3}; \node [below=of b] {4};
\node [above left=of b] {5}; \node [above right=of b] {6};
\node [below left=of b] {7}; \node [below right=of b] {8};
\end{scope}
\begin{scope}[node distance=5mm]
\node (a) at (1,1) {a};
\node [left=of a] {1}; \node [right=of a] {2};
\node [above=of a] {3}; \node [below=of a] {4};
\node [above left=of a] {5}; \node [above right=of a] {6};
\node [below left=of a] {7}; \node [below right=of a] {8};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[x11names]{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows.meta}
\begin{document}
\begin{tikzpicture}
\node(c1)at(0,1){};
\node(c2)at(0,-1){};
\node(l1)at(-2,2.5){};
\node(b1)at(0.25,2.3){};
\node(r1)at(1.8,2.8){};
\node(l2)at(-2,-2.25){};
\node(b2)at(0.25,-2.75){};
\node(r2)at(1.8,-1.75){};
\draw[Seashell4,ultra thick](c1.center)--(c2.center)node[midway,anchor=east]{$g_{2,3}$};
\draw[Seashell4,ultra thick,arrows={-Latex[length=10pt]}](c2.center)--(0,0.2);
\draw[Seashell4,ultra thick,arrows={-Latex[length=10pt]}](c1.center)--(l1.center)node[at end,above]{$g_{2,3}g_{2,4}$};
\draw[Seashell4,ultra thick,arrows={-Latex[length=10pt]}](c1.center)--(r1.center)node[at end,above]{$g_{3,4}^{-1}g_{2,4}^{-1}$};
\draw[Seashell4,ultra thick,arrows={Latex[length=10pt]-}](-1,-1.625)--(l2.center);
\draw[Seashell4,ultra thick](c2.center)--(l2.center)node[at end,below]{$g_{1,2}$};
\draw[Seashell4,ultra thick,arrows={Latex[length=10pt]-}](0.9,-1.375)--(r2.center);
\draw[Seashell4,ultra thick](c2.center)--(r2.center)node[at end,below]{$g_{1,3}^{-1}g_{1,2}^{-1}$};
\filldraw[Green3](c1)circle(3.5pt)node[left=2pt]{$g_{2,3,4}$};
\filldraw[Green3](c2)circle(3.5pt)node[left=2pt]{$g_{1,2,3}$};
\draw[Seashell4,ultra thick,arrows={-Latex[length=10pt]}](c1.center)--(b1.center)node[at end,above]{$g_{3,4}$};
\draw[Seashell4,ultra thick,arrows={Latex[length=10pt]-}](0.125,-1.875)--(b2.center);
\draw[Seashell4,ultra thick](c2.center)--(b2.center)node[at end,below]{$g_{1,3}g_{2,3}$};
\filldraw[Green3](c1)circle(0.8pt);
\filldraw[Green3](c2)circle(0.8pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amscd, nicefrac, xcolor, setspace, amsfonts, amssymb, bbm, amsthm, tikz, tikz-cd, enumerate, graphicx,verbatim,todonotes,mathtools,url,hyperref}
\usetikzlibrary{calc,decorations.markings}
\newcommand{\ACube}[3]{\draw[cube] (#1,#2,#3) -- (#1,#2 + 1,#3) -- (#1+1,#2 + 1,#3) -- (#1 + 1,\n#2,#3) -- cycle;
\draw[cube] (#1,#2,#3+1) -- (#1,#2+1,#3+1) -- (#1+1,#2+1,#3+1) -- (#1+1,#2,#3+1) -- cycle;
\draw[cube] (#1,#2,#3) -- (#1,#2,#3+1);
\draw[cube] (#1,#2+1,#3) -- (#1,#2+1,#3+1);
\draw[cube] (#1+1,#2,#3) -- (#1 + 1,#2,#3+1);
\draw[cube] (#1+1,#2+1,#3) -- (#1 + 1,#2+1,#3+1);
}
\begin{document}
\begin{tikzpicture}[cube/.style={very thick,black}, grid/.style={very thin,gray}, axis/.style={->,blue,thick}]
\draw[axis, draw = gray] (0,0,0) -- (4,0,0) node[anchor=west]{};
\draw[axis, draw = gray] (0,0,0) -- (0,4,0) node[anchor=west]{};
\draw[axis, draw = gray] (0,0,0) -- (0,0,4) node[anchor=west]{};
\ACube{0}{0}{0}\ACube{0}{1}{0}\ACube{1}{0}{0}\ACube{0}{0}{1}\ACube{0}{0}{2}\ACube{1}{0}{1}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}[line cap=round,x=1.3cm,y=0.4cm,declare function={Log(\b,\x)=ln(\x)/ln(\b);
}]
\clip(-1,-3) rectangle (12,13);
\draw [domain=0.1:10,smooth,very thick,samples=50] plot(\x, {Log(2,3*\x)});
\draw[->,color=black,line width=0.8pt] (0,0.) -- (11,0.);
\draw[->,color=black,line width=0.8pt] (0,0.) -- (-1,0.);
\draw[->,color=black,line width=0.8pt] (0.,0) -- (0,13);
\draw[->,color=black,line width=0.8pt] (0.,0) -- (0,-2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{smithchart}
\begin{document}
\begin{tikzpicture}
\begin{smithchart}[
ygrid stop at x={0.5:0.5,-0.2:0.2}
]
\end{smithchart}
\end{tikzpicture}
\end{document}