AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmax=20,xmin=1,ymin= 0,ymax=1,xlabel=(c) PPI,ylabel={\em Acc}, width = 3.5cm, height = 3.6cm,xmin=10,xmax=50,ymin= 0.2,ymax=1,xtick={10,20,...,50},ytick={0.2,0.4,...,1}]\addplot+[color=black] coordinates{(10,0.9973)(20,0.9126)(30,0.8810)(40,0.8475)(50,0.7996)};
\addplot+[color=orange] coordinates{(10,0.9650)(20,0.8897)(30,0.8452)(40,0.7842)(50,0.6948)};
\addplot+[color=purple] coordinates{(10,0.6383)(20,0.6121)(30,0.5844)(40,0.4655)(50,0.3983)};
\addplot coordinates{(10,0.9123)(20,0.8716)(30,0.7911)(40,0.7634)(50,0.5377)};
\addplot coordinates{(10,0.9442)(20,0.7985)(30,0.6230)(40,0.4985)(50,0.3652)};
\addplot coordinates{(10,0.8756)(20,0.6324)(30,0.5724)(40,0.3685)(50,0.2374)};
\addplot coordinates{(10,0.8125)(20,0.6900)(30,0.5814)(40,0.4852)(50,0.2324)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=3mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend style={at={(0.0,1.0)}, anchor=south west},
legend entries={one,two,three,}
]
\addplot{1};
\addplot{2};
\addplot{3};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[vertex/.style={draw,circle}]
\begin{scope}\node[vertex,fill=blue](a)at(90:2){};
\node[vertex,fill=red](e)at(18:2){}edge(a);
\node[vertex,fill=blue](d)at(-54:2){}edge(e);
\node[vertex,fill=red](c)at(-126:2){}edge(d);
\node[vertex,fill=green](b)at(162:2){}edge(a)edge(c);
\node[vertex,fill=blue](u)at(-1,-0.25){$u$}edge(e)edge(c)edge(b);
\node[vertex,fill=green](v)at(1,-0.25){$v$}edge(a)edge(d)edge(u);
\end{scope}
\begin{scope}[xshift=6cm]
\node[vertex,fill=blue](a)at(90:2){};
\node[vertex,fill=red](e)at(18:2){}edge(a);
\node[vertex,fill=green](d)at(-54:2){}edge(e);
\node[vertex,fill=blue](c)at(-126:2){}edge(d);
\node[vertex,fill=green](b)at(162:2){}edge(a)edge(c);
\node[vertex,fill=red](u)at(-1,-0.25){$u$}edge(b)edge(c)edge(a);
\node[vertex,fill=blue](v)at(1,-0.25){$v$}edge(d)edge(e)edge(u);
\end{scope}
\begin{scope}[xshift=12cm]
\node[vertex,fill=blue](a)at(90:2){};
\node[vertex,fill=red](e)at(18:2){}edge(a);
\node[vertex,fill=green](d)at(-54:2){}edge(e);
\node[vertex,fill=blue](c)at(-126:2){}edge(d);
\node[vertex,fill=green](b)at(162:2){}edge(a)edge(c);
\node[vertex,fill=red](u)at(-1,-0.25){$u$}edge(b)edge(c)edge(a)edge(d);
\node[vertex,fill=blue](v)at(1,-0.25){$v$}edge(e)edge(u);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\foreach \x in {0,...,9} {\node at (\x-.35,-0.6) {$v_{\x}$};
}\clip (-0.3,-1.3) rectangle (8.3,4.3);
\foreach \x in {0,...,8} {\foreach \y in {0,...,4} {\node at (\x cm,\y cm) (g-\x-\y) {$G_{\x,\y}$};
}}\foreach \y in {0,...,3} {\foreach \x in {0,...,8} {\draw[->,shorten <=2pt,shorten >=7pt] (g-\x-\y) -- +(0,20pt);
}}\foreach \y in {0,...,4} {\foreach \x in {0,...,7} {\draw[->,shorten >=2pt,shorten >=7pt] (g-\x-\y) -- +(20pt,0);
}}\foreach \y in {0,...,3} {\foreach \x in {1,...,8} {\draw[->] (\x-.3,\y+.3) -- (\x - .6, \y+.6);
}}\foreach \x in {0,...,11} {\draw[dashed,thick] (\x-4.35,5) -- (\x + .65, 0);
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[>=stealth, scale=0.8]
\tikzset{
vconei/.style = {fill=black!20!white},
vconej/.style = {fill=black!10!white},
inner sep=0,
minimum size=2mm
}
\begin{scope}
\path [fill, vconei] (0,0) node (xi)[label=above:$x_i$,circle, fill=black]{} -- (-50:2) arc (-50:50:2) --cycle;
\path [fill, vconej] (-.5,1)node (xj)[label=above:$x_j$,circle, fill=black]{} -- ++(-170:2) arc (-170:-70:2) --cycle;
\draw[->,thick] (xi) -- +(.8,0) node [right=1pt]{$v_i$};
\draw[->,thick] (xj) -- +(-120:.8) node [below=1pt]{$v_j$};
\node at (0,-1.5) {(a)};
\end{scope}
\begin{scope}[xshift=5cm]
\fill [vconei] (-2,0) node (xi)[label=above:$x_i$,circle, fill=black]{} -- ++(-50:2) arc (-50:50:2) --cycle;
\fill [vconej] (-.5,.5)node (xj)[label=above:$x_j$,circle, fill=black]{} -- ++(-50:2) arc (-50:50:2) --cycle;
\draw[->,thick] (xi) -- +(.8,0) node [right=1pt]{$v_i$};
\draw[->,thick] (xj) -- +(.8,0) node [right=1pt]{$v_j$};
\node at (0,-1.5) {(b)};
\end{scope}
\begin{scope}[xshift=8cm,]
\path [fill, vconej] (0,.4)++(20:1.8) node (xj){} -- ++(-170:2) arc (-170:-70:2) --cycle;
\path [fill, vconei] (0,.4) node (xi){} -- ++(-50:2) arc (-50:50:2) --cycle;
\draw[->,thick] (xi) -- +(.8,0) node [right=1pt]{$v_i$};
\draw[->,thick] (xj) -- +(-120:.8) node [below right=1pt]{$v_j$};
\node[shape=circle,fill=black,label=above:$x_i$] at (xi){};
\node[shape=circle,fill=black,label=above:$x_j$] at (xj){};
\draw[black!5!white,dashed,thick] (xj) -- ++(-170:2) arc (-170:-70:2) -- cycle;
\node at (1,-1.5) {(c)};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[red] (2,2) to[out=-120,in=-45] (0.85,0.85) to[out=135,in=-150] (2,2);
\draw[blue] (0,0) -- (1,1);
\draw[dashed] (0,0) -- (2,0) -- (2,2) -- (0,2) -- (0,0);
\draw[fill] (0,0) circle (0.05)
(2,2) circle (0.05)
(0,2) circle (0.05)
(2,0) circle (0.05)
(1,1) circle (0.05);
\draw (0,2) -- (1,1);
\draw (0,0) to[out=75,in=-135] (0.7,1.3) to[out=45,in=-165] (2,2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
surf,
shader=interp,
patch type=bilinear,
samples=13,
domain=-3:3,
] {exp(-x^2-y^2)};
\addplot3 [
mark=*,
mark size=1pt,
only marks,
scatter,
samples=13,
domain=-3:3,
point meta={exp(-x^2-y^2)},
] {1.1};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

% Base packages
\usepackage{amsmath,amssymb}
\usepackage{xfp}

% Color package
\usepackage[dvipsnames,svgnames]{xcolor}

% TikZ base settings
\usetikzlibrary{
calc,
patterns,
patterns.meta,
arrows.meta,
decorations.pathreplacing,
decorations.markings,
backgrounds,
shapes.geometric,
positioning,
intersections,
through,
angles,
quotes
}

% tkz-base package
\usepackage{tkz-base}

% tkz-euclide package
\usepackage{tkz-euclide}

% Define colors not in xcolor
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}
\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}

% tkz-euclide global settings
\tkzSetUpColors[background=white,text=black]
\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]
\tkzSetUpArc[color=gray,line width=.2pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]

% Custom styles
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{new/.style={color=orange,line width=.2pt}}
\tikzset{label angle style/.append style={color=teal,font=\footnotesize}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
% Restoring this line is critical as it overrides the teal color from tkzSetUpLine with a style that defaults to black
\tikzset{line style/.style={line width=.2pt}}

\begin{document}
  \begin{tikzpicture}[rotate=25]
    \tkzDefPoints{-2/0/A,1/2/B}
    \tkzDefLine[mediator](A,B)          \tkzGetPoints{C}{D}
    \tkzDefPointWith[linear,K=.75](C,D) \tkzGetPoint{D}
    \tkzDefMidPoint(A,B)                \tkzGetPoint{I}
    \tkzFillPolygon[color=teal!20](A,C,B,D)
    \tkzDrawSegments(A,B C,D)
    \tkzMarkRightAngle(B,I,C)
    \tkzDrawSegments(D,B D,A)
    \tkzDrawSegments(C,B C,A)
  \end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=0,xmax=3,ymin=0,ymax=15,
extra y ticks={2.71828},
extra y tick labels={$e$},
extra x ticks={2.2},
extra x tick style={grid=major,
tick label style={
rotate=90,anchor=east}},
extra x tick labels={Cut},
]
\addplot {exp(x)};
\addlegendentry{$e^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, f<=$i_1$] (3,0);
\end{circuitikz}
\end{document}
\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 (-1,-.5) and two children at (-1,-.5) and (0,-.75)}]
\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[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{calc,shapes.geometric,backgrounds,positioning,shapes.geometric,decorations.markings,decorations.pathreplacing,arrows,knots,hobby,angles,quotes}
\usetikzlibrary{arrows,shapes,snakes,automata,backgrounds,petri}
\begin{document}
\begin{tikzpicture}[yscale=0.6,xscale=0.5, baseline=-4]
\node(1) [circle,draw,inner sep=0pt,minimum size=4.5pt] at (0,-.3) {};
\node(2) [circle,draw,inner sep=0pt,minimum size=4.5pt] at (0,0) {};
\node(3) [circle,draw,inner sep=0pt,minimum size=4.5pt] at (0,.3) {};
\node(4) [circle,draw,inner sep=0pt,minimum size=4.5pt] at (1,0) {};
\draw (1)--(4);
\draw (2)--(4);
\draw (3)--(4);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\def\TikZ{Ti\emph{k}Z}
\def\Circuitikz{Circui\TikZ}
\providecommand{\pgfcircversion}{1.7.0}
\begin{document}
Plotted using \TikZ\ version \pgfversion{} and Circui\TikZ\ version \pgfcircversion{}.
\begin{tikzpicture}
\draw[color=red] (0,0) to[R] +(2,0) +(0,0) -- ++(0,-1);
\end{tikzpicture}
\qquad
\begin{tikzpicture}
\draw[color=blue] (0,0) to[out=30, in=120] +(2,0) +(0,0) -- ++(0,-1);
\end{tikzpicture}
\qquad
\begin{tikzpicture}
\draw[color=purple] (0,0) to[] +(2,0) +(0,0) -- ++(0,-1);
\end{tikzpicture}
\qquad
\begin{tikzpicture}
\draw[color=green!50!black] (0,0)
{[current point is local] to[R] +(2,0)} +(0,0) -- ++(0,-1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amssymb, amsmath}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{snakes}
\usetikzlibrary{intersections, calc}
\begin{document}
\begin{tikzpicture}
\begin{scope}[xscale=0.3, yscale=0.3]\fill(0,4) circle (7pt);
\node[above] at (0,4) {$\Delta_{\{1\}}(1)$};
\fill(-4,2) circle (5pt);
\node[left] at (-4,2) {$0$};
\fill(-4,-2) circle (5pt);
\node[left] at (-4,-2) {$0$};
\fill(0,-4) circle (5pt);
\node[below] at (0,-4) {$0$};
\fill(4,-2) circle (5pt);
\node[right] at (4,-2) {$0$};
\fill(4,2) circle (5pt);
\node[right] at (4,2) {$0$};
\draw[dashed] (0,4)--(-4,2);
\draw[dashed] (0,4)--(-4,-2);
\draw[dashed] (0,4)--(4,-2);
\draw[dashed] (0,4)--(4,2);
\draw[dashed] (-4,2)--(-4,-2);
\draw[dashed] (-4,2)--(0,-4);
\draw[dashed] (-4,2)--(4,2);
\draw[dashed] (-4,-2)--(4,-2);
\draw[dashed] (-4,-2)--(0,-4);
\draw[dashed] (4,2)--(4,-2);
\draw[dashed] (4,2)--(0,-4);
\draw[dashed] (4,-2)--(0,-4);
\draw[->] (0,4)--(1,3.5);
\draw[->] (0,4)--(1,2.5);
\draw[->] (0,4)--(-1,2.5);
\draw[->] (0,4)--(-1,3.5);
\node at (6,0) {$\times$};
\fill(12,4) circle (5pt);
\node[above] at (12,4) {$0$};
\fill(8,2) circle (5pt);
\node[above] at (8,2) {$M_{1}(2)$};
\fill(8,-2) circle (5pt);
\node[below] at (8,-2) {$M_{1}(3)$};
\fill(12,-4) circle (5pt);
\node[below] at (12,-4) {$M_{1}(6)$};
\fill(16,-2) circle (5pt);
\node[below] at (16,-2) {$M_{1}(5)$};
\fill(16,2) circle (5pt);
\node[above] at (16,2) {$M_{1}(4)$};
\draw[dashed] (12,4)--(8,2);
\draw[dashed] (12,4)--(8,-2);
\draw[dashed] (12,4)--(16,-2);
\draw[dashed] (12,4)--(16,2);
\draw[very thick] (8,2)--(8,-2);
\draw[very thick] (8,2)--(12,-4);
\draw[very thick] (8,2)--(16,2);
\draw[very thick] (8,-2)--(16,-2);
\draw[very thick] (8,-2)--(12,-4);
\draw[very thick] (16,2)--(16,-2);
\draw[very thick] (16,2)--(12,-4);
\draw[very thick] (16,-2)--(12,-4);
\draw[->] (8,2)--(10,3);
\draw[->] (8,-2)--(10,1);
\draw[->] (16,-2)--(14,1);
\draw[->] (16,2)--(14,3);
\node at (18,0) {$=$};
\fill(24,4) circle (5pt);
\node[above] at (24,4) {$0$};
\fill(20,2) circle (5pt);
\node[above] at (20,2) {$0$};
\fill(20,-2) circle (5pt);
\node[below] at (20,-2) {$0$};
\fill(24,-4) circle (5pt);
\node[below] at (24,-4) {$0$};
\fill(28,-2) circle (5pt);
\node[below] at (28,-2) {$0$};
\fill(28,2) circle (5pt);
\node[above] at (28,2) {$0$};
\draw[thick] (24,4)--(20,2);
\draw[thick] (24,4)--(20,-2);
\draw[thick] (24,4)--(28,-2);
\draw[thick] (24,4)--(28,2);
\draw[thick] (20,2)--(20,-2);
\draw[thick] (20,2)--(24,-4);
\draw[thick] (20,2)--(28,2);
\draw[thick] (20,-2)--(28,-2);
\draw[thick] (20,-2)--(24,-4);
\draw[thick] (28,2)--(28,-2);
\draw[thick] (28,2)--(24,-4);
\draw[thick] (28,-2)--(24,-4);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15, width=8cm}
\begin{document}
\begin{tikzpicture}[xscale=0.7, yscale=0.7]
\begin{axis}[
axis lines=left,
xtick=\empty,
ytick=\empty,
title style={yshift=-1.5ex},
grid style=dashed,
legend cell align={left},
legend columns=4,
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, at={(0.5,1.21)}, anchor=north, draw=white!80!black},
log basis y={10},
tick align=outside,
tick pos=left,
title={\(G_{6,6}\)},
x grid style={white!69.0196078431373!black},
xlabel={\(\displaystyle K\)},
xmin=2.65, xmax=10.35,
xtick style={color=black},
xtick={2,3,4,5,6,7,8,9,10,11},
xticklabels={\(\displaystyle 2\),\(\displaystyle 3\),\(\displaystyle 4\),\(\displaystyle 5\),\(\displaystyle 6\),\(\displaystyle 7\),\(\displaystyle 8\),\(\displaystyle 9\),\(\displaystyle 10\),\(\displaystyle 11\)},
y grid style={white!69.0196078431373!black},
ymajorgrids,
ymin=0.000577081844464148, ymax=561.48348298996,
ymode=log,
ytick style={color=black},
ytick={1e-05,0.0001,0.001,0.01,0.1,1,10,100,1000,10000},
yticklabels={\(\displaystyle 10^{-5}\),\(\displaystyle 10^{-4}\),\(\displaystyle 10^{-3}\),\(\displaystyle 10^{-2}\),\(\displaystyle 10^{-1}\),\(\displaystyle 10^{0}\),\(\displaystyle 10^{1}\),\(\displaystyle 10^{2}\),\(\displaystyle 10^{3}\),\(\displaystyle 10^{4}\)}
]
\addplot [very thick, loosely dashdotted, green!50!black]
table {
3 0.09578
4 0.26498
5 2.77623
6 11.78308
7 300.01798
8 300.01935
9 300.02025
10 300.0203
};
\addlegendentry{\texttt{MAO}}
\addplot [very thick, densely dashdotted, orange]
table {
3 0.02155
4 0.01218
5 0.10341
6 0.09727
7 0.37019
8 0.49284
9 2.48658
10 1.09283
};
\addlegendentry{\texttt{MRAA}}
\addplot [very thick, dash pattern=on 3mm off 2mm, blue]
table {
3 0.01691
4 0.01595
5 0.02419
6 0.02528
7 0.11632
8 0.03002
9 0.08271
10 0.03644
};
\addlegendentry{\texttt{MARA}}
\addplot [very thick, dotted, red]
table {
3 0.00308
4 0.00387
5 0.00108
6 0.00233
7 0.00461
8 0
9 0.0071
10 0.00818
};
\addlegendentry{\texttt{IPM}}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[
log ticks with fixed point,
xticklabel={$\pgfmathprintnumber{\tick}_e$},
]
\addplot {exp(x)};
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=0.1cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections, calc}
\begin{document}
\begin{tikzpicture}[thick, yscale=0.8]
\draw[-latex, name path=xaxis] (-1,0) -- (12,0) node[above]{\large $x$};
\draw[-latex] (0,-2) -- (0,8) node[right]{\large $y$};
\draw[ultra thick, orange] plot[smooth, domain=1:9.5] (\x, {0.1*\x^2-1.5}) node[left]{$F(x)$};
\node[violet, right=0.2cm] at (8,4.9) {\large tangent};
\draw[gray, thin, dotted] (8,0) -- (8,4.9) node[circle, fill, inner sep=2pt]{};
\draw[dashed, violet, name path=Tfunction] plot[smooth, domain=4.25:9.5] (\x, {1.6*\x-7.9});
\draw (8,0.1) -- (8,-0.1) node[below] {$x^{(k)}$};
\draw [name intersections={of=Tfunction and xaxis}] ($(intersection-1)+(0,0.1)$) -- ++(0,-0.2) node[below, fill=white] {$x^{(k+1)}$};
\end{tikzpicture}
\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, x axis={label=$x$},
visualize as smooth line/.list={log, lin, squared, exp},
legend=below,
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=vary dashing]
data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{ternary}
\begin{document}
\begin{tikzpicture}
\begin{ternaryaxis}[
title=Sloped labels and minor grids,
xlabel=Water,
ylabel=D-Threonine,
zlabel=L-Threonine,
label style={sloped},
minor tick num=2,
grid=both,
]
\addplot3 coordinates {
(0.82, 0.18, 0.00)
(0.75, 0.17, 0.08)
(0.77, 0.12, 0.11)
(0.75, 0.08, 0.17)
(0.81, 0.00, 0.19)
};
\addplot3 coordinates {
(0.75, 0.25, 0.00)
(0.69, 0.25, 0.06)
(0.64, 0.24, 0.12)
(0.655, 0.23, 0.115)
(0.67, 0.17, 0.16)
(0.66, 0.12, 0.22)
(0.64, 0.11, 0.25)
(0.69, 0.05, 0.26)
(0.76, 0.01, 0.23)
};
\end{ternaryaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend pos=south 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[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\filldraw[fill=gray!30](0,3) .. controls (2.75,0.5) and (3.25,0.5) .. (6,3) .. controls (3.5,1.75) and (2.5,1.75) .. cycle;
\draw (0,3) -- (3,0);
\draw (3,0) -- (6,3);
\draw[dashed] (0,3) .. controls (2.5,2.5) and (3.5,2.5) .. (6,3);
\filldraw (3,0) circle (0.035cm);
\draw (3,1.1) node[below]{$\Sigma_{r_0}$};
\draw (0,3) .. controls (2.5,1.75) and (3.5,1.75) .. (6,3);
\draw[->] (3,2.125) -- (3,2.55);
\draw[->] (2.2,2.25) -- (2.2,2.6);
\draw[->] (3.75,2.25) -- (3.75,2.6);
\draw (2.5,1.9) node{$\Sigma_R$};
\draw (3,2.8) node{$\Sigma^+$};
\filldraw[fill=white] (0,3) circle (0.035cm);
\filldraw[fill=white] (6,3) circle (0.035cm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,bm}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\begin{document}
\begin{tikzpicture}
\begin{axis}[axis lines = left,ylabel=GPU Memory (GB),xlabel=Graph Size $n$,xmin=200, xmax=3300,ymin=0, ymax=22,width=7cm,height=6cm,legend style={at={(0.2,0.91)},nodes={scale=0.8, transform shape},anchor=west},]\addplot[color=red,mark=*,mark size = 0.7pt] coordinates {(500, 0.7) (1000, 1.8) (1500, 3.9) (2000, 8.3) (2500, 13.2) (3000, 18.9)};
\addplot[color=blue,mark=*,mark size = 0.7pt] coordinates {(500, 0.49) (1000, 1.10) (1500, 2.23) (2000, 3.20) (2500, 4.60) (3000, 6.39)};
\legend{GraphGPS,GraphGPS-AnchorGT}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations}
\pgfkeys{/pgf/decoration/.unknown/.code={}}
\begin{document}
\begin{tikzpicture}[decoration=Koch snowflake,draw=blue,fill=blue!20,thick]
\filldraw (0,0) -- ++(60:1) -- ++(-60:1) -- cycle ;
\filldraw decorate{ (0,-1) -- ++(60:1) -- ++(-60:1) -- cycle };
\filldraw decorate{ decorate{ (0,-2.5) -- ++(60:1) -- ++(-60:1) -- cycle }};
\end{tikzpicture}
\end{document}
\documentclass[11pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=1.5,
axis/.style={thick, ->, >=stealth'},
track/.style={very thick, ->, >=stealth'}
]
\draw[axis] (-0.5,0) -- (1,0) node(xline)[right] {$x$};
\draw[axis] (0,-0.5) -- (0,1) node(yline)[above] {$y$};
\draw[track,blue] (0.2, -0.2) -- (1.0, 0.6) node[right] {$[\vec{r}\times \vec{t}]_z>0$};
\end{tikzpicture}
\end{document}
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{grid style={dash pattern=on 0.025mm off 0.95mm on 0.025mm off 0mm, line cap=round, black, line width=0.5pt}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[grid=major, xmin=2.2, ymin=-8.2, x=10mm, y=10mm]
\addplot[color=red,mark=x] coordinates {(2,-2.8559703)(3,-3.5301677)(4,-4.3050655)(5,-5.1413136)(6,-6.0322865)(7,-6.9675052)(8,-7.9377747)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs, graphs.standard}
\begin{document}
\tikz \graph [simple] {
subgraph K_n [n=8, clockwise];
1 -!- 2;
3 -!- 4;
6 -!- 8;
1 --[red] 3;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[>=latex,scale=0.8]
\draw(0,0)circle(2);
\fill(0,0)circle(1pt);
\node at(0.3,0){\small$O$};
\draw[dashed,red](2,0)arc(0:180:2 and 0.4);
\draw[red](2,0)arc(0:-180:2 and 0.4);
\draw(0,2)arc(142.66:182.42:3.65);
\draw(0,2)arc(37.34:-2.42:3.65);
\node at(0,2){$\bullet$};
\node at(0,2.3){\small$N$};
\node at(0.75,-0.4){$\bullet$};
\node at(1,-0.6){\small$B$};
\node at(-0.75,-0.4){$\bullet$};
\node at(-1,-0.6){\small$A$};
\node at(0,-0.65){\small$l$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\def\coord(#1){coordinate(#1)}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) node[npn](Q){};
\path (Q.center) \coord(center)
(Q.B) \coord(B)
(Q.C) \coord(C)
(Q.E) \coord(E);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
legend pos=north east,
]
\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[tikz,border=5pt]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[line width=0.5mm,->] (-6,0) -- (6,0) node[right] {$X$};
\draw[line width=0.5mm,->] (0,-4) -- (0,4) node[above] {$K$};
\draw[line width=0.5mm,scale=1,domain=-4:-1,smooth,variable=\x,blue] plot ({\x},{sqrt(abs(\x*\x-1))});
\draw[line width=0.5mm,scale=1,domain=-4:-1,smooth,variable=\x,blue] plot ({\x},{-sqrt(abs(\x*\x-1))});
\draw[line width=0.5mm,scale=1,domain=1:4,smooth,variable=\x,blue] plot ({\x},{sqrt(abs(\x*\x-1))});
\draw[line width=0.5mm,scale=1,domain=1:4,smooth,variable=\x,blue] plot ({\x},{-sqrt(abs(\x*\x-1))});
\draw[blue] (5,4.2) node {$\mathcal{H}(X,K) = 0$};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\begin{document}
\begin{tikzpicture}[decoration = {markings, mark = at position 0.5 with {\arrow{>}} }]
\filldraw (0,0) circle (2pt) node[below right]{$v$};
\draw[scale=3,postaction=decorate] (0,0) to[in=240,out=120,loop] (0,0);
\draw (-.85,0) node{$e$};
\draw (2.85,0) node{$g$};
\draw[scale=3,postaction=decorate] (.67,0) to[in=60,out=300,loop] (.67,0);
\filldraw (2,0) circle (2pt) node[below left]{$w$};
\draw[postaction=decorate] (2,0) -- (0,0) node[above,pos=.5]{$f$};
\end{tikzpicture}
\end{document}