AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows.meta,calc}
\makeatletter
\tikzset{
Rectangle/.style args={#1x#2}{
shape=rectangle,
/utils/exec=\pgfpointxy{#1}{#2},
minimum width/.expanded=\the\pgf@x,
minimum height/.expanded=\the\pgf@y}}
\makeatother
\tikzset{
x shift/.style={shift={(0:#1)}},
y shift/.style={shift={(90:#1)}}}
\begin{document}
\begin{tikzpicture}[
thick,
c/.style={circle, inner sep=5pt, draw, node contents=},
r/.style={Rectangle=1 x .35, draw, anchor=north west, node contents=},
myTip/.tip={Stealth[length=8pt, width=8pt, inset=2pt]}
]
\node (C1) at (2,.5) [c]; \node (C2) at (4,.5) [c];
\node (R1) at (1.5,4) [r]; \node (R2) at (2+1.5,4) [r];
\draw[-myTip] ([x shift=.3]R1.south west) coordinate (aux) --
(intersection of C1 and aux--{[y shift=1]aux});
\draw[-myTip] ([x shift=.6]R2.south west) coordinate (aux) --
(intersection cs: first line={(aux)--([y shift=1]aux)}, second node=C2);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=6mm]{standalone}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}[>=latex]
\matrix[matrix of nodes,
column sep=1cm,
row sep=1cm] (m) {
& & & 4 & \\
3 & 1 & 0 & 8 & 5 \\
};
\draw [<->] (m-2-1) -- (m-2-2);
\draw [<->] (m-2-2) -- (m-2-3);
\draw [->] (m-2-3) -- (m-1-4);
\draw [->] (m-2-3) -- (m-2-4);
\draw [<->] (m-1-4) -- (m-2-4);
\draw [->] (m-1-4) -- (m-2-5);
\draw [<-] (m-2-4) -- (m-2-5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[demo]{graphicx}
\usepackage{pgfplots}
\pgfplotsset{width=3in}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\begin{axis}\addplot {x^2 * sin(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}[
bigR/.style={R, bipoles/length=3cm}
]
\draw (0,3) to [bigR, o-o] ++(4,0);
\draw (0,1.5) to [bigR, o-o] ++(4,0)
to[R, o-o] ++(2,0);
\draw (0,0) to [R, o-o] ++(4,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{amsmath}
\begin{document}
\pgfplotsset{domain=-1:1}
\begin{tikzpicture}[baseline]
\begin{axis}[xlabel=A normal sized $x$ label]
\addplot [smooth,blue,mark=*] {x^2};
\end{axis}
\end{tikzpicture}
\hspace{0.15cm}
\begin{tikzpicture}[baseline]
\begin{axis}[xlabel={$\displaystyle \sum_{i=0}^N n_i $ }]
\addplot [smooth,blue,mark=*] {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 style={font=\large},
]
\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}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\def\pathlen{5}
\def\pathspacing{5}
\foreach \x in {1,...,\pathlen} {
\pgfmathtruncatemacro{\xcoord}{\x * \pathspacing}
\node [label={[below = 8mm]$v_{\pi(\x)}$}, minimum size=4mm, fill=cyan] (v\x) at (\xcoord,0) {};
}
\foreach \x in {1,...,4} {
\pgfmathtruncatemacro{\xcoord}{2 + \x * \pathspacing}
\node [label={[below = 8mm]$u_{\x}$}, minimum size=4mm, fill=red, circle] (u\x) at (\xcoord,0) {};
}
\path [draw=black, ultra thick] (v1) [bend left=30] edge (u1);
\path [draw=black, ultra thick] (u1) [bend left=30] edge (v2);
\path [draw=black, ultra thick] (v2) [bend left=30] edge (u2);
\path [draw=black, ultra thick] (u2) [bend left=30] edge (v3);
\path [draw=black, ultra thick] (v3) [bend left=30] edge (u3);
\path [draw=black, ultra thick] (u3) [bend left=40] edge (v5);
\path [draw=black, ultra thick] (v4) [bend left=30] edge (u4);
\path [draw=black, ultra thick] (u4) [bend left=30] edge (v5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,backgrounds}
\tikzstyle{circ} = [circle, minimum width=2.0mm, inner sep=0pt,draw,fill]
\tikzstyle{num} = [yshift=3mm]
\begin{document}
\usetikzlibrary{positioning,backgrounds}
\begin{tikzpicture}
\tikzstyle{circ} = [circle, minimum width=2.0mm, inner sep=0pt,draw,fill]\tikzstyle{num} = [yshift=3mm]\node[circ] (a) at (0.0, 0.0) {};
\node[circ] (b) at (1.5, 0.0) {};
\node[circ] (c) at (2.3, 1.0) {};
\node[circ] (d) at (0.8, 1.0) {};
\begin{pgfonlayer}
{background}\fill[draw, line width=0.3mm,top color=gray!20,bottom color=white] (a.center) node[num]{1} -- (b.center) node[num]{2} -- (c.center) node[num]{3} -- (d.center) node[num]{4} -- (a.center);
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\tikzset{>=stealth}
\begin{document}
\tikz
\datavisualization [school book axes, visualize as smooth line]
data [format=function] {
var x : interval [-1.5:1.5];
func y = \value x * \value x;
};
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{forest}
\usetikzlibrary{shadows}
\definecolorseries{colours}{hsb}{grad}[hsb]{.575,1,1}{.987,-.234,0}
\resetcolorseries[12]{colours}
\tikzset{
my node/.style={
draw=gray,
inner color=gray!5,
outer color=gray!10,
thick,
minimum width=12mm,
rounded corners=3,
text height=1.5ex,
text depth=0ex,
font=\sffamily,
drop shadow,
minimum height=6mm,
}
}
\forestset{
my tree/.style={
my node,
l sep+=5pt,
grow'=east,
edge={gray, thick},
parent anchor=east,
child anchor=west,
edge path={
\noexpand\path [draw, \forestoption{edge}] (!u.parent anchor) -- +(10pt,0) |- (.child anchor)\forestoption{edge label};
},
if={isodd(n_children())}{
for children={
if={equal(n,(n_children("!u")+1)/2)}{calign with current}{}
}
}{},
}
}
\newcounter{mynode}
\begin{document}
\begin{forest}
for tree={
my tree
},
before typesetting nodes={
for tree={
my tree,
content={\color{colours!!+}\stepcounter{mynode}\alph{mynode}},
font=\bfseries\sffamily,
}
},
before packing={
for tree={
if n children=0{tier=last}{},
}
}
[
[[]]
[, delay={repeat=4{append={[[]]}}}
]
[, delay={repeat=2{append={[[]]}}}
]
]
\end{forest}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
datavisualization
}
\begin{document}
\tikz
\datavisualization [school book axes, visualize as line]
data [/data point/x=1] {
y
1
2
}
data [/data point/x=2] {
y
2
0.5
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{xcolor}
\usepackage{amssymb,bm}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.75,yscale=.75]
\draw[domain=-6:8, smooth, variable=\x, blue, thick] plot ({\x}, {32 + 16/(1+exp(-1*\x))}) node[right] {$\mu_0(\alpha)$};
\draw[domain=-6:8, smooth, variable=\x, red, thick] plot ({\x}, {32 + 22/(1+exp(-1*\x))}) node[right] {$\mu_2(\alpha)$};
\draw[domain=-6:8, smooth, variable=\x, green, thick] plot ({\x}, {32 + 20/(1+exp(-1*\x))}) node[right] {$\mu_3(\alpha)$};
\draw[dashed, thick] (-6, 57.583) node[left] {$s_{14} = 57.583$} -| (8, 57.583) ;
\draw[dashed, thick] (-6, 40.706) node[left] {$s_{13} = 40.706$} -| (8, 40.706) ;
\draw[dashed, thick] (-6, 49.218) node[left] {$s_{21} = 49.218$} -| (8, 49.218) ;
\draw[dashed, thick] (-6, 30.471) node[left] {$s_{20} = 30.471$} -| (8, 30.471) ;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}
\draw [blue,dashed,thick] (-1.5,0) circle (0.25);
\draw (-1.5,0) node {\large\textbf{1}};
\draw [blue,dashed,thick] (1.5,0) circle (0.25);
\draw (1.5,0) node {\large\textbf{3}};
\draw [blue,dashed,thick] (0,-1.5*1.732) circle (0.25);
\draw (0,-1.5*1.732) node {\large\textbf{2}};
\draw [blue,dashed,thick] (0,-1) circle (0.25);
\draw (0,-1) node {\large\textbf{4}};
\draw [red,very thick] (-1.5+.35,0.15)--(1.5-.35,0.15);
\draw [blue,dashed,thick] (-1.5+0.35,0)--(1.5-.35,0);
\draw [red,very thick] (-1.5+.2,-0.2*1.732)--(-.2,-1.5*1.732+.2*1.732);
\draw [red,very thick] (1.5-0.2,-0.2*1.732)--(0.2,-1.5*1.732+0.2*1.732);
\draw [red,very thick] (-1.5+0.25+0.15,-0.25*2/3)--(0-0.4+0.15,-1+0.4*2/3);
\draw [red,very thick] (1.5-0.25-.15,-.25*2/3)--(0.45-.15,-1+.45*2/3);
\draw [red,very thick] (-.07,-1.5*1.732+.4)--(-.07,-1-.4);
\draw [blue,dashed,thick] (.07,-1.5*1.732+0.4)--(.07,-1-0.4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{calc}
\newcommand{\Sw}{\mathcal{S}}
\newcommand{\E}{\mathcal{E}}
\begin{document}
\begin{tikzpicture}[
node distance={25mm},
thick,
square/.style={regular polygon, regular polygon sides=4, minimum size=1.2cm},
main/.style={draw, circle, minimum size=0.5cm}
]
\node[main] (1) {$\rho_j$};
\node[main] (2) [below=0.5cm of 1] {$\rho_j$};
\coordinate(3) at ($(1)!0.5!(2)$);
\node[square,draw] (4) [right=3cm of 3] {$\Sw$,\, `$-$'};
\node[main] (5) [below=1.2cm of 2] {$\rho_j$};
\node[main] (6) [below=0.5cm of 5] {$\rho_j$};
\coordinate(7) at ($(5)!0.5!(6)$);
\node[square,draw] (8) [right=3cm of 7] {$\Sw$,\, `$-$'};
\coordinate(13) at ($(4)!0.5!(8)$);
\node[square,draw] (14) [right=3cm of 13] {$\Sw$};
\node[] (15) at ($(4)!0.5!(8)$) {$\vdots$};
\node[] (16) at ($(2)!0.5!(5)$) {$\vdots$};
\node[] (17) [above right= 0.5cm and 3cm of 14] {$C_{+}(C_{-} (\E(\rho_j)))$};
\node[] (18) [below right= 0.5cm and 3cm of 14] {$C_{-}(C_{-} (\E(\rho_j)))$};
\draw[->] (1) to [out=0,in=160,looseness=0.8] node[align=center,midway,above=0.1cm]{$\E(\rho_j)$} (4);
\draw[->] (2) to [out=0,in=200,looseness=0.8] node[align=center,midway,below=0.1cm]{$\E(\rho_j)$} (4);
\draw[->] (5) to [out=0,in=160,looseness=0.8] node[align=center,midway,above=0.1cm]{$\E(\rho_j)$} (8);
\draw[->] (6) to [out=0,in=200,looseness=0.8] node[align=center,midway,below=0.1cm]{$\E(\rho_j)$} (8);
\draw[->] (4) to [out=0,in=160,looseness=0.8] node[align=center,midway,above=0.4cm]{$C_{-} (\E(\rho_j))$} (14);
\draw[->] (8) to [out=0,in=200,looseness=0.8] node[align=center,midway,below=0.4cm]{$C_{-} (\E(\rho_j))$} (14);
\draw[->] (14) to [out=0,in=180,looseness=0.8] node[align=center,midway,above=0.2cm]{`$+$'} (17);
\draw[->] (14) to [out=0,in=180,looseness=0.8] node[align=center,midway,below=0.2cm]{`$-$'} (18);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{amsmath}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{tikzpicture}[scale=.6]
\begin{axis}[
title = Mammography,
xmin = 0,
xmax = 20,
xtick ={0,...,20},
xticklabels ={0,,,,,,,,,,10,,,,,,,,,,20},
ymin = 0,
ymax = 20,
xlabel= Number of outlier $n_1$,
ylabel= Average lower bound $d$,
height=9cm,
width=9cm,
legend style={legend pos=north west}
]
\addplot[mark size=1.5pt, color=black, mark=o, line width=1.5] coordinates {
( 0,0.1097 ) ( 1,0.187 ) ( 2,0.2553 ) ( 3,0.3565 ) ( 4,0.4738 ) ( 5,0.6065 ) ( 6,0.773 ) ( 7,0.9456 ) ( 8,1.191 ) ( 9,1.3896 ) ( 10,1.6165 ) ( 11,1.9786 ) ( 12,2.2549 ) ( 13,2.653 ) ( 14,3.0018 ) ( 15,3.4532 ) ( 16,3.9804 ) ( 17,4.5311 ) ( 18,4.9382 ) ( 19,5.4509 ) ( 20,6.0941 )
};
\addlegendentry{BH$^{*}$}
\addplot[mark size=1.5pt, color=blue, mark=o, line width=1.5] coordinates {
( 0,0.0729 ) ( 1,0.1419 ) ( 2,0.2257 ) ( 3,0.3715 ) ( 4,0.5708 ) ( 5,0.8175 ) ( 6,1.133 ) ( 7,1.5755 ) ( 8,2.1529 ) ( 9,2.8214 ) ( 10,3.6293 ) ( 11,4.6857 ) ( 12,5.8662 ) ( 13,7.2375 ) ( 14,8.7443 ) ( 15,10.4934 ) ( 16,12.2481 ) ( 17,14.0759 ) ( 18,15.7479 ) ( 19,17.239 ) ( 20,18.3861 )
};
\addlegendentry{ABH$^{*}$}
\addplot[mark size=1.5pt, color=gray, mark=o, line width=1.5] coordinates {
( 0,0.09 ) ( 1,0.146 ) ( 2,0.1923 ) ( 3,0.2551 ) ( 4,0.311 ) ( 5,0.3891 ) ( 6,0.4653 ) ( 7,0.5345 ) ( 8,0.6491 ) ( 9,0.7276 ) ( 10,0.8145 ) ( 11,0.9553 ) ( 12,1.0529 ) ( 13,1.2115 ) ( 14,1.3304 ) ( 15,1.5062 ) ( 16,1.7296 ) ( 17,1.9498 ) ( 18,2.1272 ) ( 19,2.3863 ) ( 20,2.667 )
};
\addlegendentry{Simes$^*$}
\addplot[mark size=1.5pt, color=cyan, mark=o, line width=1.5] coordinates {
( 0,0.052 ) ( 1,0.0966 ) ( 2,0.1453 ) ( 3,0.2209 ) ( 4,0.3105 ) ( 5,0.4248 ) ( 6,0.5622 ) ( 7,0.7241 ) ( 8,0.9583 ) ( 9,1.1965 ) ( 10,1.5003 ) ( 11,1.9176 ) ( 12,2.3482 ) ( 13,2.9296 ) ( 14,3.5527 ) ( 15,4.3406 ) ( 16,5.2352 ) ( 17,6.2948 ) ( 18,7.4332 ) ( 19,8.8726 ) ( 20,10.5311 )
};
\addlegendentry{ASimes$^*$}
\addplot[mark size=1.5pt, color=red, mark=o, line width=1.5] coordinates {
( 0,0.0866 ) ( 1,0.1453 ) ( 2,0.2519 ) ( 3,0.3836 ) ( 4,0.5908 ) ( 5,0.9071 ) ( 6,1.2632 ) ( 7,1.7797 ) ( 8,2.3609 ) ( 9,3.0889 ) ( 10,3.846 ) ( 11,4.7816 ) ( 12,5.6806 ) ( 13,6.689 ) ( 14,7.699 ) ( 15,8.773 ) ( 16,9.86 ) ( 17,11.0076 ) ( 18,12.113 ) ( 19,13.3442 ) ( 20,14.6032 )
};
\addlegendentry{WMW}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usetikzlibrary{plotmarks}
\begin{document}
\begin{tikzpicture}
\draw (0,0.6) -- (1.5,0.6) -- (1.5,-0.1) -- (1,-0.6);
\draw (0,-0.6) -- (1,-0.6) -- (2,-0.6) -- (1.5,-0.1);
\draw (2,-0.6) -- (3,-0.6);
\draw (1.5,0.6) -- (3,0.6);
\draw[dashed] (3,0.6) -- (3,-0.6);
\draw[<->] (1,-0.8) -- (2,-0.8);
\draw (1.5,-0.8) circle (0pt) node{$\times$};
\node[mark size=2pt] at (3,-0.6) {\pgfuseplotmark{square*}};
\filldraw[fill=white] (0,0.6) circle (2pt);
\filldraw[fill=white] (0,-0.6) circle (2pt);
\filldraw[fill=white] (3,0.6) circle (2pt);
\filldraw (1.5,0.6) circle (2pt);
\filldraw (1,-0.6) circle (2pt);
\filldraw (1.5,-0.1) circle (2pt);
\filldraw (2,-0.6) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
width=2.5cm,
height=4cm,
ybar=0pt,
bar width=6pt,
xtick=data,
xtick style={draw=none},
ytick style={draw=none},
ymajorgrids=true,
ymax=40,
ymin=0,
ytick={0,10,20,30,40},
axis line style={draw=none},
yticklabels={0,10,20,30,40},
yticklabel style={font=\scriptsize},
tick pos=left,
xticklabel style={font=\scriptsize, rotate=45, xshift=-3.4mm, yshift=-2mm, at={(axis description cs:0.5,-0.1)}, anchor=north},
x label style={font=\footnotesize},
nodes near coords,
every node near coord/.append style={font=\scriptsize, rotate=90, anchor=west},
symbolic x coords={MatMult, nothing},
legend style={
font=\scriptsize,
at={(0.1,1.1)},
anchor=south,
text depth=0pt,
legend columns=-1,
draw={none},
/tikz/every odd column/.append style={column sep=0cm}
},
legend image code/.code={
\draw[#1, draw=none, fill=black] (-0.01cm,-0.11cm) rectangle (0.31cm,0.11cm);
\draw[#1, draw=none] (0cm,-0.1cm) rectangle (0.3cm,0.1cm);
},
legend image post style={scale=0.5},
point meta=explicit symbolic
]
\addplot [black,/tikz/fill=white] coordinates {(MatMult,13.26)[13.26]};
\addplot [black,/tikz/fill=black!40!white] coordinates {(MatMult,17.67)[17.67]};
\addplot [black,/tikz/fill=black] coordinates {(MatMult,26.48)[26.48]};
\legend {2MB, 4MB, 8MB};
\end{axis}
\draw (0,0.1) -- +(0,-0.2);
\draw (0.95,0.1) -- +(0,-0.2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=0.5\textwidth,height=4.5cm,ymin=0.25,ymax=17,ylabel=Speedup Intel1 (logscale),ylabel style={font=\footnotesize},xlabel style={font=\footnotesize},ytick distance=2,xtick=data,xtick pos=bottom,xticklabel style={rotate=60,anchor=east,font=\footnotesize},xticklabels={large,2xlarge,4xlarge,6xlarge,8xlarge,10xlarge,12xlarge,14xlarge,16xlarge},xmin=0,legend cell align={left},legend style={font=\scriptsize},legend columns=-1,xlabel=Dataset Size,ymode=log,log basis y={2},ymajorgrids]\addplot coordinates{(1,16.69) (2,5.89) (4,1.50) (6,1.30) (8,0.55) (10,0.45) (12,0.35) (14,0.33) (16,0.28)};
\addplot coordinates{(1,1.23) (2,0.97) (4,0.99) (6,0.95) (8,1.14) (10,1.21) (12,1.26) (14,1.00) (16,1.08)};
\draw(axis cs:-1,1)--(axis cs:20,1);
\addlegendentry{Large-size-dedicated};
\addlegendentry{Pluto-style};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{small}
\matrix {
\begin{axis}
\addplot {x};
\end{axis}
&
\begin{axis}[ylabel={$f(x)=x^2$},ylabel style={font=\Huge}]
\addplot {x^2};
\end{axis}
\\
\begin{axis}[xlabel=$x$,xlabel style={font=\Huge}]
\addplot {x^3};
\end{axis}
&
\begin{axis}
\addplot {x^4};
\end{axis}
\\
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage[TS1,T1]{fontenc}
\begin{document}
\begin{tikzpicture}[scale=2.000000,back/.style={loosely dotted, thin},edge/.style={color=black, thick},facet/.style={fill=gray!95!black,fill opacity=0.800000},vertex/.style={inner sep=1pt,circle,draw=black!25!black,fill=black!75!black,thick,anchor=base}]
\fill[facet] (1.00000, 1.50000) -- (0.00000, 0.00000) -- (0.00000, 1.00000) -- cycle {};
\draw[edge] (0.00000, 0.00000) -- (0.00000, 1.00000);
\draw[edge] (0.00000, 0.00000) -- (1.00000, 1.50000);
\draw[edge,dashed] (0.00000, 1.00000) -- (1.00000, 1.50000);
\node[vertex] at (1.00000, 1.50000) {};
\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 [grow down, branch right] {
root -> { left, right -> {child, child} }
};
\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=$R_1$, a=1<\kilo\ohm>] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc, positioning, automata, snakes}
\usepackage{amsmath, amssymb}
\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}}
\tikzstyle{accepting}=[accepting by arrow]
\node[state,initial] (1) {$1$};
\node[state] (2)[above of=1] {$2$};
\node[state] (3)[left of=2]{$3$};
\node[state] (4)[right of=1]{$4$};
\node[state,accepting] (5)[right of=2]{$5$};
\node[state] (6)[above right of=1,xshift=-5mm,yshift=-5mm]{$c$};
\draw[blue,->,very thick] (2)--node[midway,black,yshift=2mm]{1}(3);
\draw[orange,->,very thick,snake=snake] (2)--node[midway,black,yshift=2mm]{1}(5);
\draw[red,->,very thick] (1)--(2);
\draw[orange,->,very thick,snake=snake] (1)--node[midway,black,yshift=-2mm]{2}(4);
\path [orange,-,draw,dashed,thick] (1) -- ($ (2) !.5! (5) $);
\path [orange,-,draw,dashed,thick] (6) -- ($ (1) !.5! (4) $);
\draw[red,->,very thick] (6)--(1);
\node[teal,above of=2,yshift=-1.5cm]{1};
\node[red,right of=5,xshift=-1.2cm,yshift=3mm]{$\frac{1-r}{2-r}$};
\node[black,left of=1,xshift=1cm,yshift=1cm]{$g_1^{c''}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt,cram width=2pt}
\begin{document}
\large\fboxsep=-.2pt\fboxrule.2pt\renewcommand\printatom[1]{\fbox{\ensuremath{\mathrm#1}
}}\chemfig{A^1-B-C-D}\quad\chemfig[use atom strut=true]{A^1-B-C-D}\par\chemfig{E_1-F-G-H}\quad\chemfig[use atom strut=true]{E_1-F-G-H}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[normalsize,
title=A ``normalsize'' figure,
xlabel=The $x$-axis,
ylabel=The $y$-axis,
minor tick num=1,
legend entries={Leg},
]
\addplot {max(4*x,7*x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{petri}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},
}
\begin{document}
\begin{tikzpicture}[every place/.style={minimum size=9mm}]
\foreach \x/\y/\tokennumber in {0/2/1,1/2/2,2/2/3,
0/1/4,1/1/5,2/1/6,
0/0/7,1/0/8,2/0/9}
\node [place,structured tokens={1,...,\tokennumber}] at (\x,\y) {};
\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, i=$i_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[dashed,red] (0,0) circle (1.75cm);
\fill (0,0) circle (2pt) node[below] {$i_0$};
\draw[dashed,red] (0,0) -- node[midway, below left] {$a_n$} ++(130:1.75cm);
\fill (150:3cm) circle (2pt) node[above right] {$e_1$};
\draw (0,0) circle (4.5cm);
\draw[dotted] (0,0) -- node[midway, above left] {$T$} (-135:5cm);
\draw (3.5,3.5) circle (4.5cm);
\fill (3.5,3.5) circle (2pt) node[below] {$e_2$};
\draw[dotted] (3.5,3.5) -- node[midway, below right] {$T$} ++(45:4.5cm);
\draw[dashed,red] (3.5,3.5) circle (4cm);
\draw[dashed,red] (3.5,3.5) -- node[midway, below right] {$b_n$} ++(90:4cm);
\begin{scope}
\clip (0,0) circle (1.75cm);
\fill[red!20] (3.5,3.5) circle (4cm);
\end{scope}
\node[black] at (0.9, 0.9) {$J_{i_0}$};
\node[red] at (0,-1.5) {$U_n$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
level distance=1cm
}
\begin{document}
\begin{tikzpicture}[sibling distance=15mm]
\node (root) {root}
child
child {
child {coordinate (special)}
child
};
\node at (root-1) {root-1};
\node at (root-2) {root-2};
\node at (special) {special};
\node at (root-2-2) {root-2-2};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm}
\usepackage{amssymb}
\usepackage{pgf}
\usepackage[utf8x]{inputenc}
\usepackage{tikz}
\usepackage{tikz-network}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\def\tmp{1.7}
;
\foreach \x in {0,1}{\path[draw=gray,dashed] (0,\tmp*\x) node[regular polygon,draw=none,regular polygon sides=6,draw,inner sep=.6cm,] (hexagon) {};
}\path[draw=gray, dashed] (-0.985*3/2,\tmp/2) node[regular polygon,draw=none,regular polygon sides=6,draw,inner sep=.6cm,] (hexagon) {};
\draw[->,thick] (-1/6,\tmp/2) -- node[below=2pt] {} (1/2,\tmp/2);
\draw[->,thick] (-1,\tmp) -- node[left=2pt] {} (-2/3,2*\tmp/3);
\draw[->,thick] (-1,0) -- node[left=1pt] {} (-2/3,\tmp/3);
\draw (-1/2,\tmp/2) node[left]{$\tiny{v_{(1,0,0)}}$\,\,\,\,};
\draw (1/2,\tmp/2) node[right]{\,$\tiny{v_{(1,0,1)}}$};
\draw (-1,0) node[right]{\,$\tiny{v_{(0,0,0)}}$};
\draw[red,thick] (-1/2,\tmp/2) circle (1/3);
\draw (-1,\tmp/1.05) node[right]{\,$\tiny{v_{(1,-1,0)}}$};
\draw[->,red,thick] (-1/2-1/7,\tmp/2) -- node[left=1pt] {} (-1/2+1/7,\tmp/2);
\end{tikzpicture}
\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}[x=1mm,y=1mm]
\fill[gray!30] (0,0) -- (20,10) -- (30,30) -- (10,20) -- cycle;
\draw[very thick,gray] (10,20) -- +(20,10);
\draw[very thick,gray] (20,10) -- +(10,20);
\draw[-latex,very thick] (0,0) -- (20,10) node[right] {$a_1$};
\draw[-latex,very thick] (0,0) -- (10,20) node[left] {$a_2$};
\node at (15,15) {$\mathcal{P}\in\mathbb{R}^2$};
\begin{scope}[shift={(50,0)}]
\draw[very thick,gray,fill,opacity=0.4]
(0,0) -- (15,10) -- (35,10) -- (20,0) -- cycle;
\draw[very thick,gray,fill,opacity=0.6]
(0,0) -- (10,20) -- (25,30) -- (15,10) -- cycle;
\draw[very thick,gray,fill,opacity=0.5]
(15,10) -- (25,30) -- (45,30) -- (35,10) -- cycle;
\draw[very thick,gray]
(20,0) -- (35,10) -- (45,30) -- (30,20) -- cycle;
\draw[very thick,gray,fill,opacity=0.3]
(0,0) -- (20,0) -- (30,20) -- (10,20) -- cycle;
\draw[-latex,very thick] (0,0) -- (20,0) node[below] {$a_1$};
\draw[-latex,very thick] (0,0) -- (10,20) node[left] {$a_2$};
\draw[-latex,very thick] (0,0) -- (15,10) node[above] {$a_3$};
\node at (30,20) {$\mathcal{P}\in\mathbb{R}^3$};
\end{scope}
\end{tikzpicture}
\end{document}