AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\pgfplotsset{table/search path={.,plotdata}
}
\begin{document}
\begin{tikzpicture}
\begin{axis}\addplot[patch,shader=interp,table/row sep=\\,patch table with individual point meta={0 1 2 100 100 100 \\ 1 2 3 10 0 50 \\ 4 3 5 0 0 100 \\}] table[row sep=\\] {x y \\ 0 0 \\ 1 1 \\ 2 0 \\ 3 1 \\ 2 0 \\ 4 0 \\};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{upgreek}
\usepackage{fp}
\usepackage{tikz}
\usetikzlibrary{mindmap,trees,shadows,shadings,patterns,calc,decorations,decorations.pathmorphing,decorations.markings,fixedpointarithmetic,fpu}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\colorlet{concept color}{blue!40}
\pgfkeys{/pgf/decoration/.unknown/.code={}}
\begin{document}
\tikz[mindmap,text=white,
root concept/.style={concept color=blue},
level 1 concept/.append style=
{every child/.style={concept color=blue!50}}]
\node [concept] {Root concept}
child[grow=30] {node[concept] {child}}
child[grow=0 ] {node[concept] {child}};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,positioning}
\tikzset{state/.style={draw,circle,minimum size=0.6cm}
}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,>={Stealth[round]
},thick,accepting/.style={green!50!black,text=white},initial/.style={red,text=white}]\node[state,initial](q_0){$q_0$};
\node[state](q_1)[above right=of q_0]{$q_1$};
\node[state](q_2)[below right=of q_0]{$q_2$};
\node[state,accepting](q_3)[below right=of q_1]{$q_3$};
\path[->](q_0)edge node[above left]{0}(q_1)edge node[below left]{1}(q_2)(q_1)edge node[above right]{1}(q_3)edge[loop above]node{0}()(q_2)edge node[below right]{0}(q_3)edge[loop below]node{1}();
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,domain=0:360,samples=31] {sin(x)}
[every node/.style={yshift=8pt},sloped]
node [pos=0] {$0$}
node [pos=0.25] {$\pi/2$}
node [pos=0.5] {$\pi$}
node [pos=0.75] {$3/2\pi$}
node [pos=1] {$2\pi$}
;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},
transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm}
}
\begin{document}
\begin{tikzpicture}
\node[place] (waiting) {};
\node[place] (critical) [below=of waiting] {};
\node[place] (semaphore) [below=of critical,
label=above:$s\le3$] {};
\node[transition] (leave critical) [right=of critical] {};
\node[transition] (enter critical) [left=of critical] {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{array, amsmath, graphicx, mathtools, amssymb, setspace, booktabs, float, caption}
\usepackage{mathpazo, wrapfig, subcaption, tikz}
\usepackage[T1]{fontenc}
\usetikzlibrary{arrows,calc,fit,patterns,plotmarks,shapes.geometric,shapes.misc,shapes.symbols,shapes.arrows,shapes.callouts,shapes.multipart,shapes.gates.logic.US,shapes.gates.logic.IEC,er,automata,backgrounds,chains,topaths,trees,petri,mindmap,matrix,calendar,folding,fadings,through,positioning,scopes,decorations.fractals,decorations.shapes,decorations.text,decorations.pathmorphing,decorations.pathreplacing,decorations.footprints,decorations.markings,shadows}
\begin{document}
\begin{tikzpicture}[baseline=0pt, roundnode/.style={circle, draw =black, fill =black, scale =0.3}]
\node[roundnode] at (0, 0) { };
\node[below] at (0, 0) {\small{0}};
\node[roundnode] at (.6, .5) { };
\node[above] at (.6, .5) {\small{1}};
\node[roundnode] at (1.2, 0) { };
\node[below] at (1.2, 0) {\small{2}};
\draw[-] (0,0) -- (.6,.5);
\draw[-] (1.2, 0) -- (.6, .5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
smooth,
stack plots=y,
area style,
enlarge x limits=false,
]
\addplot coordinates
{(0,1) (1,1) (2,2) (3,2)}
\closedcycle;
\addplot coordinates
{(0,1) (1,1) (2,2) (3,2)}
\closedcycle;
\addplot coordinates
{(0,1) (1,1) (2,2) (3,2)}
\closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz[>=stealth]\datavisualization[school book axes,visualize as line/.list={a,b},legend={up then right},style sheet=vary dashing,a={label in legend={text=a,label in legend line coordinates={(-2em,-.25ex),(0,0)}}},b={label in legend={text=b,label in legend line coordinates={(-2em,.25ex),(0,0)}}}]data point[x=-1,y=-1,set=a]data point[x=1,y=0,set=a]data point[x=-1,y=1,set=b]data point[x=1,y=0.5,set=b];
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\node[npn](A)at(0,2){};
\node[pmos](B)at(0,0){};
\foreach \e in {A,B}\foreach \a in {inner up,inner down}{\node[red,circle,inner sep=1pt,draw]at(\e.\a){};
\node[right,font=\tiny,blue]at(\e.\a){\a};
}
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{automata, positioning}
\begin{document}
\begin{tikzpicture}[
shorten >=1pt,
node distance=4cm,
on grid,
auto,
/tikz/initial text={start}
]
\node[state, initial, accepting] (q0) {0};
\node[state] (q1) [right=of q0] {1};
\path[->] (q0) edge [bend left] node {on} node [swap] {a} (q1)
(q1) edge [bend left] node {off} node [swap] {a} (q0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\coordinate (L) at (1.5,1.5);
\coordinate (L1) at ($0.5*(L)$);
\coordinate (L2) at ($3*(L1)$);
\draw[line width=1pt] (O) rectangle (L);
\draw[line width=1pt] (L1) rectangle (L2);
\draw[line width=1pt] (L) -- (L2);
\draw[line width=1pt] (L|-O) -- (L2|-L1);
\draw[line width=1pt] (O) -- (L1);
\draw[line width=1pt] (L-|O) -- (L2-|L1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[tiny]
\addplot coordinates {
(0,0) (1,0)

(1,1) (2,1)
}
[pos segment=0,yshift=7pt,font=\footnotesize]
node [pos=0] {0}
node [pos=0.5] {0.5}
node [pos=1] {1};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,domain=0:360,samples=25] {sin(x)}
[every node/.style={yshift=8pt},sloped]
node [pos=0] {$0$}
node [pos=0.25] {$\pi/2$}
node [pos=0.5] {$\pi$}
node [pos=0.75] {$3/2\pi$}
node [pos=1] {$2\pi$}
;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.gates.logic.IEC}
\begin{document}
\begin{tikzpicture}[minimum height=.75cm]
\node[and gate IEC,draw,logic gate inputs={inverted,normal,inverted}](A){};
\foreach \a in{1,...,3}\draw(A.input \a -| -1,0)--(A.input \a);
\draw(A.output)--([xshift=.5cm]A.output);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [simple] {
subgraph K_n [n=7, clockwise];
{ [induced path, ->, edges=red] 2, 3, 4, 6, 7 },
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\foreach\x in{-1,0}{\coordinate(u\x)at(1.75*\x,0);
\coordinate(x\x)at(1.75*\x+1,1);
\coordinate(w\x)at(1.75*\x+1,-1);
\coordinate(v\x)at(1.75*\x+2,0);
\draw[blue,very thick](w\x)--(x\x);
\pgfmathparse{int(mod(\x,2))}\ifnum\pgfmathresult=0{\draw[red,thick](w\x)--(v\x);
\draw[red,thick](w\x)--(u\x);
\draw[red,dashed,thick](x\x)--(v\x);
\draw[red,dashed,thick](x\x)--(u\x);
}\else{\draw[red,dashed,thick](w\x)--(v\x);
\draw[red,dashed,thick](w\x)--(u\x);
\draw[red,thick](x\x)--(v\x);
\draw[red,thick](x\x)--(u\x);
}\fi}\coordinate(y)at(0.125,0);
\coordinate(z)at(0.125,-2);
\coordinate(u)at(0.125,-1.75);
\coordinate(x)at(1.125,-2.75);
\coordinate(w)at(-0.875,-2.75);
\coordinate(v)at(0.125,-3.75);
\draw[black!30!green,thick](y)--(u0)--(z);
\draw[black!30!green,dashed,thick](y)--(v-1)--(z);
\draw[red,very thick](w)--(x);
\draw[black!30!green,dashed,thick](w)--(v);
\draw[black!30!green,dashed,thick](w)--(u);
\draw[black!30!green,thick](x)--(v);
\draw[black!30!green,thick](x)--(u);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:120]NH_2*6(-(-(=[::60]O)-[::-60]OH)--(--[::60])=O)}
\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] ++(2,0) coordinate(a);
\draw [dashed, red] (a) -- ++(1,0) coordinate(b);
\draw (b) to [R] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{colorbrewer}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colormap/PuBu,
]
\addplot3 [surf] {y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\tikzset{
dot/.style = {circle, fill, minimum size=#1,
inner sep=0pt, outer sep=0pt},
dot/.default = 4pt
}
\newcommand{\bound}{\useasboundingbox (-2,-2) -- (2,2);}
\newcommand{\labvert}[3]{
\coordinate (#1) at (#2);
\node[dot] at (#2) {};
\node[#3] at (#2) {#1};
}
\newcommand{\edge}[2]{\draw (#1) -- (#2);}
\begin{document}
\begin{tikzpicture}[scale=0.54]
\bound;
\labvert{1}{0,1}{below};
\labvert{2}{0.951,0.309}{right};
\labvert{3}{0.588,-0.809}{below};
\labvert{4}{-0.588,-0.809}{below};
\labvert{5}{-0.951,0.309}{left};
\labvert{6}{0,2}{left};
\labvert{7}{-0.5,-2}{left};
\labvert{8}{0.5,-2}{left};
\edge{1}{2};
\edge{2}{3};
\edge{3}{4};
\edge{4}{5};
\edge{5}{1};
\edge{1}{6};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz [scale=.55] \datavisualization
[scientific axes=clean, all axes={ticks=few},
visualize as smooth line=my data, my data={straight cycle}]
data [format=function] {
var t : interval [0:4] samples 5;
func x = cos(\value t r);
func y = sin(\value t r);
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[shape=circle,draw=black] (S) at (0,0) {S(K)};
\node[shape=circle,draw=black] (B) at (3,0) {B(K)};
\node[shape=circle,draw=black] (Q) at (6,0) {Q(K)};
\node[shape=circle,draw=black] (I) at (9,0) {I (K)};
\node[shape=circle,draw=black] (V) at (4.5,4.5) {V(K)};
\node[shape=circle,draw=black] (P) at (4.5,-4.5) {$\pi_1 (K)$};
\draw [->] (V) edge node[left] {$\theta = I$} (B);
\draw [->](V) edge node[left] {$\theta = \phi$} (S);
\path [->](V) edge node[right] {$\theta = \phi^{-1} $} (I);
\path [->](V) edge node[right] {$\phi= I$} (Q);
\path [->](B) edge node[left] {$ \phi = I$} (P);
\path [->](S) edge node[left] {$ \theta = I$} (P);
\path [->](I) edge node[right] {$ \theta = I$} (P);
\path [->](Q) edge node[right] {$ \theta = I$} (P);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,through}
\begin{document}
\begin{tikzpicture}
\coordinate[label=left:$A$](A)at(0,0);
\coordinate[label=right:$B$](B)at(0.75,0.25);
\coordinate[label=above:$C$](C)at(1,1.5);
\draw(A)--(B)--(C);
\coordinate[label=above:$D$](D)at($(A)!.5!(B)!{sin(60)*2}!90:(B)$){};
\node(H)[label=135:$H$,draw,circle through=(C)]at(B){};
\draw(D)--($(D)!3.5!(B)$)coordinate[label=below:$F$](F);
\draw(D)--($(D)!2.5!(A)$)coordinate[label=below:$E$](E);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=0.45\textwidth,height=0.35\textwidth,xlabel={Ciphertext length ($2^x$)},ylabel={Percentage},font=\bfseries,legend pos=north west,legend style={font=\small},xmin=3,xmax=12,ymin=5,ymax=3000,xmode=log,xtick={3,4,5,6,7,8,9,10,11,12},xticklabels={3,4,5,6,7,8,9,10,11,12},grid=both,grid style={line width=.1pt,draw=gray!10},major grid style={line width=.2pt,draw=gray!50},minor tick num=4]es\addplot[mark=*,blue,line width=0.5pt]coordinates{(3,54.0085)(4,5.56393)(5,280.867)(6,550.884)(7,360.715)(8,431.906)(9,10.2816)(12,2655.09)};
\addlegendentry{Relative error percentage}\addplot[mark=*,red,line width=0.5pt]coordinates{(3,122.245)(4,138.9)(5,73.406)(6,140.216)(7,203.902)(8,185.171)(9,109.212)(12,99.2016)};
\addlegendentry{Relative speedup percentage}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsthm,amsmath,amssymb}
\usepackage{tikz}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (10,40) .. controls (10,23.43) and (23.43,10) .. (40,10) .. controls (56.57,10) and (70,23.43) .. (70,40) .. controls (70,56.57) and (56.57,70) .. (40,70) .. controls (23.43,70) and (10,56.57) .. (10,40) -- cycle ;
\draw (110,40) .. controls (110,23.43) and (123.43,10) .. (140,10) .. controls (156.57,10) and (170,23.43) .. (170,40) .. controls (170,56.57) and (156.57,70) .. (140,70) .. controls (123.43,70) and (110,56.57) .. (110,40) -- cycle ;
\draw (210,40) .. controls (210,23.43) and (223.43,10) .. (240,10) .. controls (256.57,10) and (270,23.43) .. (270,40) .. controls (270,56.57) and (256.57,70) .. (240,70) .. controls (223.43,70) and (210,56.57) .. (210,40) -- cycle ;
\draw (70,40) -- (110,40) ;
\draw (170,40) -- (210,40) ;
\draw (20,31.4) node [anchor=north west][inner sep=0.75pt] {$U( 1)_{k}$};
\draw (221,32.4) node [anchor=north west][inner sep=0.75pt] {$U( 1)_{k}$};
\draw (116,32.4) node [anchor=north west][inner sep=0.75pt] {$U( 1)_{-k}$};
\draw (71,12.4) node [anchor=north west][inner sep=0.75pt] {$X,\tilde{X}$};
\draw (174,13.4) node [anchor=north west][inner sep=0.75pt] {$Y,\tilde{Y}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}[scale=2.0]
\tikzset{vertex/.style = {circle, draw=black, fill=white!100, inner sep=0pt, minimum width=10pt}
}\tikzset{vertex1/.style = {circle, draw, fill=white!100, inner sep=0pt, minimum width=10pt}
}\tikzset{edge0/.style = {line width=1pt, black}
}\node [vertex, label=below:{$\scriptstyle{100}$}] (v0) at (1,0) {$\scriptstyle{r}$};
\node [vertex, label=below:$\scriptstyle{0}$] (v1) at (2,0) {$\scriptstyle{s}$};
\node [vertex, label=below:$\scriptstyle{48}$] (v2) at (3,0) {$\scriptstyle{t}$};
\node [vertex1, label=below:$\scriptstyle{24}$] (v3) at (4,0) {$\scriptstyle{v}$};
\node [vertex, label=right:$\scriptstyle{24}$] (v4) at (3,1) {$\scriptstyle{u}$};
\draw[edge0] (v0) -- (v1);
\draw [edge0] (v1) -- (v2);
\draw [edge0] (v2) -- (v3);
\draw[edge0] (v2) -- (v4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.6]
\draw[blue, thick] (0,0) -- (3.5,0);
\draw[gray] (0,0) -- (0,6.5);
\draw[red, thick] (0,0) -- (3.5,7);
\draw[red] (0.5,0) -- (3,5);
\draw[red] (1,0) -- (3,4);
\draw[red] (1.5,0) -- (3,3);
\draw[red] (2,0) -- (3,2);
\draw[red] (2.5,0) -- (3,1);
\foreach \y in {1,2}{ \node[draw,circle,inner sep=2pt,red,fill] at (1,\y) {};}
\foreach \x in {1,2,3}{ \node[draw,circle,inner sep=2pt,red,fill] at (\x,2*\x) {};}
\foreach \x in {0,1,2,3}{ \node[draw,circle,inner sep=2pt,blue,fill] at (\x,0) {};}
\foreach \y in {1,2,3}{ \node[draw,circle,inner sep=2pt,red,fill] at (2,\y) {};}
\foreach \y in {1,2,3,4,5}{ \node[draw,circle,inner sep=2pt,red,fill] at (3,\y) {};}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.polar,
datavisualization.formats.functions,
arrows.meta
}
\begin{document}
\begin{tikzpicture}
\datavisualization [
scientific axes=clean,
y axis={ticks={style={
/pgf/number format/fixed,
/pgf/number format/fixed zerofill,
/pgf/number format/precision=2}}},
x axis={ticks={tick suffix=${}^\circ$}},
visualize as smooth line/.list={1,2,3,4,5,6},
style sheet=vary hue]
data [format=function] {
var set : {1,...,6};
var x : interval [0:50];
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3pt]{standalone}
\usetikzlibrary{arrows,calc}
\begin{document}
\foreach \i in {0.45,0.46,...,0.72,0.71,0.70,...,0.46}{
\begin{tikzpicture}[>=stealth',
dot/.style={circle,draw,fill=white,inner sep=0pt,minimum size=4pt}]
\draw[->,thick] (-0.5,0) -- ++(11,0) node[below left]{$x$};
\draw[->,thick] (0,-0.5) -- ++(0,7) node[below right]{$f(x)$};
\coordinate (O) at (0,0);
\path[thick,red] (-0.3,2) to[out=-25, in=200] coordinate[pos=0.2] (p) coordinate[pos=\i] (q) (9,5);
\fill[blue, opacity=.1] (p) -| (q);
\draw[shorten <=-1.5cm] (p) -- ($ (p)!7.5cm!(q) $) node[below right, pos=0.9]{Sekante};
\draw[thick,red] (-0.3,2) to[out=-25, in=200] (9,5);
\node[dot,label={above:$P$}] (P) at (p) {};
\node[dot,label={above:$Q$}] (Q) at (q) {};
\node[dot] (p1) at (P |- O) {};
\node[dot] (p2) at (Q |- O) {};
\node[dot] (p3) at (P -| Q) {};
\draw (P) -- node[left]{$f(x_{0})$} (p1) node[dot,label={below:$x_{0}$}]{};
\draw (p2) node[dot,label={below:$x_{0} + \varepsilon$}]{} -- (p3);
\path (p1) -- node[below]{$\varepsilon$} (p2);
\draw[<->,blue,thick] (P) -- node[below]{$\varepsilon$} (p3);
\draw[<->,blue,thick] (Q) -- node[right]{$f(x_{0} + \varepsilon) - f(x_{0})$} (p3);
\draw[help lines] (Q) -- (Q -| {(9.5,0)}) ++(-0.5,0) coordinate (p4);
\draw[help lines, <->] (p4) -- node[fill=white,text=black]{$f(x_{0} + \varepsilon)$} (p4 |- O);
\end{tikzpicture}
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A*5(-B=C-D-E=)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}
\draw
(0,2) node[and port, fill=yellow](myand1){1}
(0,0) node[and port, fill=cyan](myand2){2}
(2,1) node[xnor port,fill=red!30!white](myxnor){3}
(myand1.out) -| (myxnor.in 1)
(myand2.out) -| (myxnor.in 2);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,-stealth,name path=A] {x};

\draw [-stealth,name path=B]
(0,-5) -- (0,5);

\addplot [gray!50]
fill between [of=A and B,reverse=true];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}

\begin{tikzpicture}
\begin{axis}[tiny,enlargelimits,
xmin=-1,xmax=1,
ymin=-1,ymax=1,
xtick={-1,0,1},
ytick={-1,0,1},
grid=major,
]
\draw [blue] (0,0) circle [radius=1];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xbar stacked,legend style={legend columns=1,anchor=south,draw=none},ytick=data,axis y line*=none,axis x line*=bottom,tick label style={font=\small},legend style={font=\small},label style={font=\small},xtick={0,5,10,15,20,25},width=.9\textwidth,bar width=6mm,xlabel={x axis},yticklabels={y axis},xmin=0,xmax=25,y=10mm,enlarge y limits={abs=0.625}]\addplot[green,fill=green] coordinates {(10,0)};
\addplot[blue,fill=blue] coordinates {(25,0)};
\legend{Amount A, Amount B}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A}\Vertex[x=2]{B}\Edge[Direct](A)(B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{amsthm,amsfonts,amssymb}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (449.24,119.67) -- (516.85,119.67) ;
\draw [shift={(518.85,119.67)}, rotate = 180] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (449.24,119.67) -- (517.09,155.85) ;
\draw [shift={(518.85,156.79)}, rotate = 208.07] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (449.24,156.79) -- (516.85,156.79) ;
\draw [shift={(518.85,156.79)}, rotate = 180] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (449.24,156.79) -- (517.09,120.61) ;
\draw [shift={(518.85,119.67)}, rotate = 151.93] [color={rgb, 255:red, 0; green, 0; blue, 0 } ][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (485.05,124) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$p$};
\draw (483.48,144) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$p$};
\draw (471.13,104.4) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$1-p$};
\draw (470.13,159.4) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$1-p$};
\draw (438.86,114.32) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {${\displaystyle 0}$};
\draw (438.86,149.96) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$1$};
\draw (520.01,114.32) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$1$};
\draw (520.01,150.7) node [anchor=north west][inner sep=0.75pt] [font=\footnotesize] {$-1$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amssymb}
\usepackage[T1]{fontenc}
\usetikzlibrary{intersections,arrows.meta}
\tikzset{cross/.style={path picture={\draw[black] (path picture bounding box.south east) -- (path picture bounding box.north west) (path picture bounding box.south west) -- (path picture bounding box.north east);
}
}}
\begin{document}
\begin{tikzpicture}[baseline=(vert_cent.base)]
\node (vert_cent) at (0,1) {$\phantom{\cdot}$};
\draw[dashed] (0,2)--(0,0);
\draw[thick] (-1.25,0)--(1.25,0);
\filldraw (0,0) circle (2pt);
\node [fill, shape=rectangle, minimum width=4pt, minimum height=4pt, inner sep=0pt, anchor=center] at (0,1.5) {};
\node [fill, shape=rectangle, minimum width=4pt, minimum height=4pt, inner sep=0pt, anchor=center] at (0,0.5) {};
\draw[dashed] (0,1) circle (0.5cm);
\end{tikzpicture}
\end{document}