AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
\begin{tikzpicture}[grow via three points={
one child at (0,1) and two children at (0,1) and (1,1)}]
\node at (0,0) {one} child;
\node at (0,-1.5) {two} child child;
\node at (0,-3) {three} child child child;
\node at (0,-4.5) {four} child child child child;
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows.meta}
\begin{document}
\begin{tikzpicture}[node distance=1cm]
\node[draw](1){1}++(0:20mm)coordinate(aux);
\node[draw,below=of 1](2){2};
\node[draw,below=of 2](3){3};
\node[draw,below=of 3](4){4};
\draw[red,{Latex[length=5mm]}-](1)-|(aux);
\draw[red,{Latex[length=5mm]}-](2)-|(aux);
\draw[red,{Latex[length=5mm]}-](3)-|(aux);
\draw[red](4)-|(aux);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsthm,amsmath,amsfonts,mathtools,latexsym}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[xscale = 0.19]
\draw [latex-latex] (-35,0) -- (35,0);
\draw (-30,-0.15) -- (-30,0.15);
\draw (-26,-0.15) -- (-26,0.15);
\draw (-22,-0.15) -- (-22,0.15);
\draw (-18,-0.15) -- (-18,0.15);
\draw (-14,-0.15) -- (-14,0.15);
\draw (-10,-0.15) -- (-10,0.15);
\draw (-6,-0.15) -- (-6,0.15);
\draw (-2,-0.15) -- (-2,0.15);
\draw (2,-0.15) -- (2,0.15);
\draw (6,-0.15) -- (6,0.15);
\draw (10,-0.15) -- (10,0.15);
\draw (14,-0.15) -- (14,0.15);
\draw (18,-0.15) -- (18,0.15);
\draw (22,-0.15) -- (22,0.15);
\draw (26,-0.15) -- (26,0.15);
\draw (30,-0.15) -- (30,0.15);
\node [above] at (-30,0.2) {$\nu_{k,0}$};
\node [above] at (-26,0.2) {$\nu_{k,1}$};
\node [above] at (-22,0.2) {$\nu_{k,2}$};
\node [above] at (-18,0.2) {$\nu_{k,3}$};
\node [above] at (-14,0.2) {$\nu_{k,4}$};
\node [above] at (-10,0.2) {$\nu_{k,5}$};
\node [above] at (-10,0.8) {$(\nu_{k+1,0})$};
\node [above] at (-2,0.2) {$\nu_{k+1,1}$};
\node [above] at (6,0.2) {$\nu_{k+1,2}$};
\node [above] at (14,0.2) {$\nu_{k+1,3}$};
\node [above] at (22,0.2) {$\nu_{k+1,4}$};
\node [above] at (30,0.2) {$\nu_{k+1,5}$};
\node [below] at (-30,-0.32) {$100$};
\node [below] at (-26,-0.32) {$120$};
\node [below] at (-22,-0.32) {$140$};
\node [below] at (-18,-0.32) {$160$};
\node [below] at (-14,-0.32) {$180$};
\node [below] at (-10,-0.32) {$200$};
\node [below] at (-2,-0.32) {$240$};
\node [below] at (6,-0.32) {$280$};
\node [below] at (14,-0.32) {$320$};
\node [below] at (22,-0.32) {$360$};
\node [below] at (30,-0.32) {$400$};
\node at (38,0.01) {Hz};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) to[sV, bipole/is voltage=false, v=$V_s$] ++(2,0)
to[battery, bipole/is voltage=false, v=$V_B$] ++(2,0)
to[R, v=$V_R$] ++(2,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage[T1]{fontenc}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{tikzpicture}[
auto,
vertex/.style={minimum size=0.8cm, draw, circle, text width=0.8mm}
]
\node[vertex, label=center:$s_{0}$] (s0) {};
\node[vertex, above right=1cm and 1cm of s0, label=center:$s_1$] (s1) {};
\node[right=0.25cm of s1] (r1) {\footnotesize $R=1$};
\node[vertex, below right=1cm and 1cm of s0, label=center:$s_2$] (s2) {};
\node[right=0.25cm of s2] (r2) {\footnotesize $R=0$};
\path[-{Stealth[]}]
(s0) edge node[sloped, anchor=center, align=center, above] {$(a_0, 0.8)$} (s1)
(s0) edge node[sloped, anchor=center, align=center, below] {$(a_1, 0.6)$} (s2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{calc,positioning,automata,snakes}
\usepackage{amsmath,amssymb,amsthm,graphicx,caption}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,initial text=]
\tikzstyle{every state}=[draw=black!50,very thick]
\tikzset{every state/.style={minimum size=0pt}
}\node[state] (1) {$1$};
\node[state] (2) [right of=1] {$2$};
\node[state] (3) [right of=2] {$3$};
\node[state] (4) [right of=3] {$4$};
\draw[orange,very thick,->,snake=snake] (2)--node[midway,black,yshift=2.5mm]{1}(1);
\draw[blue,very thick,->] (2)--node[midway,black,yshift=2mm]{1}(3);
\draw[blue,very thick,->] (3)--node[midway,black,yshift=2mm]{1}(4);
\node[state] (5) [below of=1] {$5$};
\node[state] (6) [below of=2] {$6$};
\node[state] (7) [below of=3] {$7$};
\node[state] (8) [below of=4] {$8$};
\draw[blue,very thick,->] (6)--node[midway,black,yshift=-3mm]{1}(5);
\draw[blue,very thick,->] (7)--node[midway,black,yshift=-3mm]{1}(6);
\draw[orange,very thick,->,snake=snake] (7)--node[midway,black,yshift=-3mm]{1}(8);
\node[teal,right of=2,xshift=-2cm,yshift=5mm]{1/2};
\node[teal,right of=7,xshift=-2cm,yshift=-6mm]{1/2};
\path [orange,->,draw,dashed,thick] (6) -- ($ (2) !.5! (1) $);
\path [orange,->,draw,dashed,thick] (3) -- ($ (7) !.5! (8) $);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\usetikzlibrary{math}
\begin{document}
\begin{tikzpicture}
\tikzmath{
real \k;
real \a0; real \a1; real \a2; real \a3; real \a4;
real \a5; real \a6; real \a7; real \a8;
\k=3.0;
\a0=-5.0; \a1=-3.0; \a2=2.0; \a3=4.0; \a4=6.0;
\a5=9.0; \a6=11.0; \a7=13.0; \a8=15.0; \a9=17.0;
};
\begin{axis}[
grid=major,
every axis plot post/.append style={mark=None},
xtick={\a1,\a2,\a3,\a4,\a5,\a6,\a7,\a8},
xticklabels={$a_1$,$a_2$,$a_3$,$a_4$,$a_5$,$a_6$,$a_7$,$a_8$}
]
\addplot [domain = \a0:\a1, samples=2, color=blue] {0};
\addplot [domain = \a1:\a2, samples=2, color=blue] {\k*(x-\a1)/(\a2-\a1)};
\addplot [domain = \a2:\a3, samples=2, color=blue] {\k};
\addplot [domain = \a3:\a4, samples=2, color=blue] {\k + (1-\k)*(x-\a3)/(\a4-\a3)};
\addplot [domain = \a4:\a5, samples=2, color=blue] {1};
\addplot [domain = \a5:\a6, samples=2, color=blue] {\k + (1-\k)*(\a6-x)/(\a6-\a5)};
\addplot [domain = \a6:\a7, samples=2, color=blue] {\k};
\addplot [domain = \a7:\a8, samples=2, color=blue] {\k*(\a8-x)/(\a8-\a7)};
\addplot [domain = \a8:\a9, samples=2, color=blue] {0};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\ctikzset{resistors/width=1.5, resistors/zigs=9}
\draw (0,0) to[pR, name=A] ++(0,-4);
\draw (1.5,0) to[pR, wiper pos=0.3, name=B] ++(0,-4);
\ctikzset{european resistors}
\draw (3,0) to[pR, wiper pos=0.8, name=C] ++(0,-4);
\foreach \i in {A, B, C}
\node[right] at (\i.wiper) {\i};
\end{circuitikz}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[axis lines=center, title={$\frac{1}{\sqrt{x}}-\sqrt{\frac{x+1}{x}}$}]\addplot+[domain=0.1:10]{1/(x^(1/2))-((x+1)/(x))^(1/2)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{epsfig,amscd,amssymb,amsmath,amsfonts,amsthm,color,tikz}
\usetikzlibrary{graphs,quotes,decorations.pathmorphing,decorations.pathreplacing,decorations.markings,snakes}
\tikzset{snake it/.style={decorate, decoration=snake}
}
\begin{document}
\begin{tikzpicture}[scale=2,auto=left]
\node[shape=circle,draw=black,minimum size = 14pt,inner sep=0.3pt] (n1) at (0,1) {$x$};
\node[shape=circle,draw=black,minimum size = 14pt,inner sep=0.3pt] (n2) at (1,1) {$y$};
\node[shape=circle,draw=black,minimum size = 14pt,inner sep=0.3pt] (n3) at (1,0) {$z$};
\path[line width=0.5mm,red] (n1) edge[bend left=120, snake it] node [below] {$r$} (n2);
\path[line width=0.5mm,orange] (n1) edge[bend right=60, snake it] node [above] {$o$} (n3);
\path[line width=0.5mm,blue] (n2) edge[bend left=60, snake it] node [left] {$b$} (n3);
\draw[line width=0.5mm,orange] (n1) edge[] node [below] {$o$} (n2) ;
\draw[line width=0.5mm,blue] (n1) edge[] node [left] {$b$} (n3) ;
\draw[line width=0.5mm,red] (n2) edge[] node [left] {$r$} (n3) ;
\node[shape=circle,draw=black,minimum size = 14pt,inner sep=0.3pt] (n4) at (3,1) {$x$};
\node[shape=circle,draw=black,minimum size = 14pt,inner sep=0.3pt] (n5) at (4,1) {$y$};
\node[shape=circle,draw=black,minimum size = 14pt,inner sep=0.3pt] (n6) at (4,0) {$z$};
\path[line width=0.5mm,red] (n4) edge[bend left=120, snake it] node [below] {$r$} (n5);
\path[line width=0.5mm,orange] (n4) edge[bend right=60, snake it] node [above] {$o$} (n6);
\path[line width=0.5mm,blue] (n5) edge[bend left=60, snake it] node [left] {$b$} (n6);
\draw[line width=0.5mm,blue] (n4) edge[] node [below] {$b$} (n5) ;
\draw[line width=0.5mm,red] (n4) edge[] node [left] {$r$} (n6) ;
\draw[line width=0.5mm,orange] (n5) edge[] node [left] {$o$} (n6) ;
\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[I<=1A, v_=$u_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
title=Rectangle from patch input,
]
\addplot3 [
patch,
shader=interp,
patch type=rectangle,
] coordinates {
(0,0,1) (1,0,0) (1,1,0) (0,1,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tkz-euclide}
\usetikzlibrary{
calc,
decorations.markings,
arrows.meta
}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpColors[background=white,text=black]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{
every picture/.style={line width=.2pt},
label style/.append style={below,color=teal,font=\scriptsize},
label angle style/.append style={color=teal,font=\footnotesize},
line style/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}[scale=1.5,decoration={markings,
mark=at position 3cm with {\arrow[scale=2]{>}}}]
\tkzDefPoints{0/0/E, 6/0/F, 0/1.8/P, 6/1.8/Q, 0/3/R, 6/3/S}
\tkzDrawLines[postaction={decorate}, add=0 and 0](E,F P,Q R,S)
\tkzDefPoints{3.5/3/A, 5/3/B}
\tkzDrawSegments(E,A F,B)
\tkzInterLL(E,A)(P,Q) \tkzGetPoint{C}
\tkzInterLL(B,F)(P,Q) \tkzGetPoint{D}
\tkzLabelPoints[above right](A,B)
\tkzLabelPoints[below](E,F)
\tkzLabelPoints[above left](C)
\tkzDrawSegments[style=dashed](A,F)
\tkzInterLL(A,F)(P,Q) \tkzGetPoint{G}
\tkzLabelPoints[above right](D,G)
\tkzDrawSegments[color=teal, line width=3pt, opacity=0.4](A,C A,G)
\tkzDrawSegments[color=magenta, line width=3pt, opacity=0.4](C,E G,F)
\tkzDrawSegments[color=teal, line width=3pt, opacity=0.4](B,D)
\tkzDrawSegments[color=magenta, line width=3pt, opacity=0.4](D,F)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
title=Bilinear from $4$--point patch input,
]
\addplot3 [
patch,
shader=interp,
patch type=bilinear,
] coordinates {
(0,0,1) (1,0,0) (1,1,0) (0,1,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\begin{document}
\begin{tikzpicture}
\node(l3)at(-1,-2){test};
\draw[name path=A](0,0)--++(300:3);
\draw[name path=B](l3.north)--++(4,0);
\node[name intersections={of=A and B}]at(intersection-1)[draw,circle]{x};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{math}
\newcommand{\drawlatticepath}[1]{
\tikzmath{
\x = 0;
\y = 0;
for \step in {#1}{
{
\draw[thin, ->] (\x, \y) -- (\x + 1, \y + \step);
};
\x = \x + 1;
\y = \y + \step;
};
}
}
\begin{document}
\begin{tikzpicture}[scale=0.2]
\draw[help lines] (0,-1) grid (12,7);
\draw[thick, ->] (-0.25, 0) -- (12.5, 0);
\draw[thick, ->] (0, -1.25) -- (0, 7.5);
\drawlatticepath{1, 1, 1, 1, 1, 1, 1, -3, 1, 1, -3, -3}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
[
axis x line = bottom,
axis y line = left,
width = 1.01\textwidth,
height = .63\textwidth,
ymax = 93,
ymin = 27,
ytick = {30,40,...,90},
xmax = 1993,
xmin = 1967,
xtick = {1970, 1980, ..., 1990},
]
\node[anchor=west] (source) at (axis cs:1968.5,89.5){\textbullet\ Comment here about data};
\node (destination) at (axis cs:1985,82){};
\draw[->](source)--(destination);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}[minor y tick num=1]
\addplot+ [
boxplot prepared={
lower whisker=42, lower quartile=45,
median=47,
upper quartile=47.5, upper whisker=48,
box extend=1,
},
] table [row sep=\\,y index=0] { 40\\ 34\\ 56\\ };
\addplot+ [
boxplot prepared={
lower whisker=42, lower quartile=45,
median=47,
upper quartile=47.5, upper whisker=48,
box extend=0.5, }, ]
table [row sep=\\,y index=0] { 40\\ 34\\ 56\\ };
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\tikzset{every picture/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{1/3/A,4/1/B,0/0/C}\tkzDrawPoints[size=3,color=red,fill=red!50](A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend pos=north west,
]
\addplot coordinates {(0,0) (1,1)};
\addplot coordinates {(0,1) (1,2)};
\addplot coordinates {(0,2) (1,3)};
\legend{$l_1$,$l_2$,$l_3$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,calc,3d}
\begin{document}
\begin{tikzpicture}
\draw (0,2,0) node[above]{$y$} -- (0,0,0) -- (0,0,3) node[below left]{$z$} (0,0,0) -- (1.5,0,0) (2,0,0) -- (4,0,0) node[right]{$x$};
\draw[dashed] (1.5,0,0) -- (2,0,0);
\draw[-Latex] (0,0,1.5) -- (2,0,1.5) node[midway,below]{$g(u)$};
\draw (2,0,0) -- (2,0,2);
\draw[-Latex] (3,0,0) -- (3,2,0) coordinate(h) node[midway,right]{$h(u)$};
\draw ($(h)-(0.2,0,0)$) -- ($(h)+(0.2,0,0)$);
\begin{scope}[canvas is yz plane at x=2]
\draw[domain=-180:0,samples=200,dashed] plot ({2*cos(\x)},{2*sin(\x)});
\draw[domain=180:0,samples=200] plot ({2*cos(\x)},{2*sin(\x)});
\draw (0,0) -- (2,0) coordinate(top) (0,0) -- +(50:2) coordinate(mid) node[above left]{$x(u,v)$};
\draw[Latex-] (top) -- +(-70:1) node[above]{$(g(u),h(u),0)$};
\draw[-Latex] (1,0) arc (0:50:1) node[midway,above]{$v$};
\end{scope}
\fill (top) circle(0.05) (mid) circle(0.05);
\begin{scope}[canvas is xy plane at z=0]
\draw (top) arc (-90:-120:3) node[midway,above]{$C$} (top) arc (-90:-60:3);
\draw (2,-2) arc (90:120:3) (2,-2) arc (90:60:3);
\end{scope}
\node at (4,0,2) {$M$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
statistics,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
hist={
bins=3,
handler/.style={const plot},
},
] table [row sep=\\,y index=0] {
data\\
1\\ 2\\ 1\\ 5\\ 4\\ 10\\
7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsthm}
\usepackage[svgnames]{xcolor}
\usepackage{tikz}
\usepackage[notcite,notref,color]{showkeys}
\usetikzlibrary{arrows,positioning,cd,calc}
\tikzset{font=\small}
\tikzset{cutting/.style={draw,fill=white,circle,minimum size=3pt,inner sep=0pt}
}\tikzset{word/.style={minimum size=10pt,execute at end node={\strut}
}}\tikzset{morphism/.style={-to,shorten >=3pt,shorten <=3pt}
}}\tikzset{state/.style={draw,circle,inner sep=2pt}
}}\tikzset{edgelabel/.style={font=\footnotesize}
}
\begin{document}
\begin{tikzpicture}[xscale=1.3,yscale=1.4,>={to}]
\node (L) at (0,0) {$L_n = R_n$} ;
\draw[->,rounded corners] ([xshift=3pt]L.90) to ++(0,.5) to ++(1,0) to [yshift=-.7ex] ++(0,-.5) to ([yshift=2pt]L.0) ;
\draw[->,rounded corners] ([xshift=-3pt]L.90) to ++(0,.5) to ++(-1,0) to [yshift=-.7ex] ++(0,-.5) to ([yshift=2pt]L.180) ;
\draw[->,rounded corners] ([xshift=3pt]L.270) to ++(0,-.5) to ++(1,0) to [yshift=.7ex] ++(0,.5) to ([yshift=-2pt]L.0) ;
\draw[->,rounded corners] ([xshift=-3pt]L.270) to ++(0,-.5) to ++(-1,0) to [yshift=.7ex] ++(0,.5) to ([yshift=-2pt]L.180) ;
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb,xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,arrows.meta,calc,positioning,quotes,graphs,graphs.standard,topaths,babel,scopes}
\tikzset{>=stealth}
\begin{document}
\tikz \graph { a ->[red, "foo"] b --[thick, "bar"] {c, d};
};
\end{document}
\documentclass[border=9pt]{standalone}
\usepackage{tikz}
\tikzset{breakarrow/.style={->, dashed}
,myarrow/.style={solid, -},varnode/.style = {shape=rectangle, rounded corners, draw, align=center, top color=red!20, bottom color=white}}
\begin{document}
\tikzset{breakarrow/.style={->, dashed}
,myarrow/.style={solid, -},varnode/.style = {shape=rectangle, rounded corners, draw, align=center, top color=red!20, bottom color=white}}
\begin{tikzpicture}[sibling distance=6em, every node/.style = {shape=rectangle, rounded corners, draw, align=center, top color=white, bottom color=violet!20}]
\node {/}child { node {tmp/}}child { node {initrd.img}}child { node {usr/}child { node {local/}}child { node {lib/}}child { node [varnode] {$\alpha_{/usr}$} edge from parent [breakarrow]}};
\end{tikzpicture}
\begin{tikzpicture}[sibling distance=6em, every node/.style = {shape=rectangle, rounded corners, draw, align=center, top color=white, bottom color=violet!20}]
\node [varnode] {$\alpha_{/usr}$}child { node {share/} edge from parent [breakarrow]}child { node {bin/} edge from parent [breakarrow]child { node {cat} edge from parent [myarrow]}child { node [varnode] {$\beta_{/usr/bin}$} edge from parent [breakarrow]}child { node {tac} edge from parent [myarrow]}};
\end{tikzpicture}
\begin{tikzpicture}[sibling distance=6em, every node/.style = {shape=rectangle, rounded corners, draw, align=center, top color=white, bottom color=violet!20}]
\node [varnode] {$\beta_{/usr/bin}$}child { node {col} edge from parent [breakarrow]};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\usepackage{amsmath,amssymb}
\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, x axis={label=$x$},
visualize as smooth line/.list=
{log, lin, squared, exp},
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
squared={pin in data ={text=$x^2$, pos=0.1}},
exp= {label in data ={text=$e^x$}},
style sheet=vary dashing]
data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm, amsfonts, amssymb, amsxtra, amsopn}
\usepackage{pgfplots}
\usetikzlibrary{calc}
\pgfplotsset{compat=1.13}
\begin{document}
\begin{tikzpicture}[scale=0.75, every node/.style={scale=0.9}]
\pgfkeys{/pgf/number format/.cd,1000 sep={}}
\begin{axis}[width=1.0*\textwidth,height=9.25cm,ymin=0.0,ymax=1.15,ytick={0.0,0.2,0.4,0.6,0.8,1.00},major x tick style=transparent,ybar=5*\pgflinewidth,bar width=8.0pt,ylabel={Precision},symbolic x coords={Enigma,M209,Purple,Sigaba,Typex},xticklabels={\texttt{Enigma},\texttt{M-209},\texttt{Purple},\texttt{Sigaba},\texttt{Typex}},y tick label style={/pgf/number format/.cd,fixed,fixed zerofill,precision=2},xtick=data,x tick label style={font=\small},enlarge x limits=0.125,legend cell align=left,legend columns=-1,legend pos=north west,legend style={column sep=1ex}]
\addplot [fill=blue,opacity=1.00] coordinates {(Enigma, 0.492308) (M209, 0.911628) (Purple, 0.780000) (Sigaba, 0.524664) (Typex, 0.608295)};
\addlegendentry{SVM}\addplot [fill=red,opacity=1.00] coordinates {(Enigma, 0.433198) (M209, 0.878924) (Purple, 1.000000) (Sigaba, 0.402135) (Typex, 0.563786)};
\addlegendentry{$k$-NN}\addplot [fill=gray,opacity=1.00] coordinates {(Enigma, 0.540881) (M209, 0.834821) (Purple, 0.681250) (Sigaba, 0.472222) (Typex, 0.547718)};
\addlegendentry{RF}\addplot [fill=yellow,opacity=1.00] coordinates {(Enigma, 0.451049) (M209, 0.905213) (Purple, 0.535971) (Sigaba, 0.634921) (Typex, 0.672840)};
\addlegendentry{MLP}\addplot [fill=green,opacity=1.00] coordinates {(Enigma, 0.500000) (M209, 0.869955) (Purple, 0.702532) (Sigaba, 0.490099) (Typex, 0.549784)};
\addlegendentry{ELM}\addplot [fill=black,opacity=1.00] coordinates {(Enigma, 0.378788) (M209, 0.912371) (Purple, 0.787402) (Sigaba, 0.391473) (Typex, 0.397993)};
\addlegendentry{LSTM}\addplot [fill=orange,opacity=1.00] coordinates {(Enigma, 0.398340) (M209, 0.754032) (Purple, 0.574257) (Sigaba, 0.396552) (Typex, 0.511236)};
\addlegendentry{CNN}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
minor ytick=data,
]
\addplot {x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend cell align=center,
legend pos=outer north east,
]
\addplot coordinates {(0,0) (1,1)};
\addplot coordinates {(0,1) (1,2)};
\addplot coordinates {(0,2) (1,3)};
\legend{a,fine,legend}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{decorations.markings}
\usepackage{xcolor}
\usepackage{colortbl}
\begin{document}
\begin{tikzpicture}[scale=0.5, every node/.style={scale=0.5}]
\draw [decoration={markings,mark=at position 1 with
{\arrow[scale=2,>=stealth]{>}}},postaction={decorate}] (-7.65, 1.65) -- (-5.35, -1.65);
\draw [decoration={markings,mark=at position 1 with
{\arrow[scale=2,>=stealth]{>}}},postaction={decorate}] (-2.35, 1.65) -- (-4.65, -1.65);
\draw[thick, fill = lightgray] (-5.45, -1.55) rectangle (-4.55, -2.45);
\draw[fill = lightgray] (-8, 2) circle (0.5cm);
\draw[fill = lightgray] (-2, 2) circle (0.5cm);
\node (a) at (-5, -2) {\Large{S}};
\node (b) at (-8, 2) {\Large{X}};
\node (c) at (-2, 2) {\Large{Y}};
\draw [decoration={markings,mark=at position 1 with
{\arrow[scale=2,>=stealth]{>}}},postaction={decorate}] (2.35, 1.65) -- (4.65, -1.65);
\draw [decoration={markings,mark=at position 1 with
{\arrow[scale=2,>=stealth]{>}}},postaction={decorate}] (7.65, 1.65) -- (5.35, -1.65);
\draw [decoration={markings,mark=at position 1 with
{\arrow[scale=2,>=stealth]{>}}},postaction={decorate}] (5.5, -2) -- (10.5, -2);
\draw[thick, fill = lightgray] (10.55, -1.55) rectangle (11.45, -2.45);
\draw[fill = lightgray] (2, 2) circle (0.5cm);
\draw[fill = lightgray] (8, 2) circle (0.5cm);
\draw[fill = lightgray] (5, -2) circle (0.5cm);
\node (d) at (5, -2) {\Large{S}};
\node (e) at (2, 2) {\Large{X}};
\node (f) at (8, 2) {\Large{Y}};
\node (g) at (11, -2) {\Large{R}};
\end{tikzpicture}
\end{document}