AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\makeatletter
\def\showcoord(#1)<#2:#3>{node[circle, red, draw, inner sep=1pt,pin={[red, inner sep=0.5pt, font=\small,pin distance=#3\pgf@circ@Rlen, pin edge={red, }]#2:#1}](#1){}}
\makeatother
\begin{document}
\begin{circuitikz}
\draw (0,0) to[resistor, name=R] ++(2,0);
\path (R.center) \showcoord(center)<-90:0.3>;
\path (R.left) \showcoord(left)<135:0.3>;
\path (R.right) \showcoord(right)<45:0.3>;
\draw (5,0) to[resistor, name=R] ++(2,0);
\foreach \n/\a/\d in {north/90/0.3, north east/45/0.3, east/0/0.5,
south east/-45/0.3, south/-90/0.3, south west/-135/0.3,
west/180/0.5, north west/135/0.3}
\path (R.\n) \showcoord(\n)<\a:\d>;
\draw (10,-1) to[resistor, name=R] ++(0,2);
\foreach \n/\a/\d in {n/135/0.3, e/45/0.3,
s/-45/0.3, w/-135/0.3}
\path (R.\n) \showcoord(\n)<\a:\d>;
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[baseline=(OA.+)]
\ctikzset{amplifiers/fill=cyan!20, component text=left}
\draw (0,0) node[above]{$v_i$} to[short, o-] ++(1,0)
node[op amp, noinv input up, anchor=+](OA){\texttt{OA1}}
(OA.-) -- ++(0,-1) coordinate(FB)
to[R=$R_1$] ++(0,-2) node[ground]{}
(FB) to[R=$R_2$, *-] (FB -| OA.out) -- (OA.out)
to [short, *-o] ++(1,0) node[above]{$v_o$};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.1]
\draw[blue, thick] (0,-1) -- (0,0);
\draw[blue, thick] (0,0) -- (4,4);
\draw[blue, thick] (0,0) -- (-4,4);
\draw[blue, thick] (1,1) -- (-2,4);
\draw[blue, thick] (0,2) -- (2,4);
\draw[blue, thick] (-1,3) -- (0,4);
\filldraw[black] (0,0) circle (5pt) {};
\filldraw[black] (1,1) circle (5pt) {};
\filldraw[black] (0,2) circle (5pt) {};
\filldraw[black] (-1,3) circle (5pt) {};
\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) node[transformer] (T) {}
(T.A1) node[anchor=east] {A1}
(T.A2) node[anchor=east] {A2}
(T.B1) node[anchor=west] {B1}
(T.B2) node[anchor=west] {B2}
(T.base) node{K} ;
\ctikzset{quadpoles/transformer/inner=1, quadpoles/transformer/width=0.6}
\draw (0,-3) node[transformer] (P) {}
(P.base) node{T}
(P.inner dot A2) node[ocirc]{}
(P.inner dot B2) node[ocirc]{};
\end{circuitikz}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{automata}
\tikzset{->,>=stealth,shorten >=2pt,shorten <=2pt,node distance=3cm,every state/.style={draw=blue!55,very thick,fill=blue!20}
,initial text=$ $}
\begin{document}
\begin{tikzpicture}
\node[state with output,initial](s0){$S_0$\nodepart{lower}$0$};
\node[state with output,right of=s0](s1){$S_1$\nodepart{lower}$0$};
\node[state with output,right of=s1](s2){$S_2$\nodepart{lower}$0$};
\node[state with output,right of=s2](s3){$S_3$\nodepart{lower}$0$};
\node[state with output,right of=s3](s4){$S_4$\nodepart{lower}$0$};
\node[state with output,accepting,right of=s4](s5){$S_5$\nodepart{lower}$1$};
\draw(s0)edge[loop above]node{$0$}(s0)(s0)edge[bend left]node[above]{$1$}(s1)(s1)edge[bend left]node[above]{$0$}(s2)(s1)edge[bend left]node[above]{$1$}(s0)(s2)edge[bend left]node[above]{$0$}(s3)(s2)edge[bend left=40]node[above]{$1$}(s0)(s3)edge[bend left=50]node[above]{$0$}(s0)(s3)edge[bend left]node[above]{$1$}(s4)(s4)edge[bend left]node[above]{$0$}(s5)(s4)edge[bend left=60]node[above]{$1$}(s0)(s5)edge[bend right=40]node[above]{$1$}(s1)(s5)edge[bend left=70]node[above]{$0$}(s0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\definesubmol{&}{-[,,,,draw=none]}
\chemfig{*6((-HO)-=*6(!&!&HN(-CH_3)--(<OH)-)-=-(-HO)=)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip (-0.1,-0.2) rectangle (1.1,0.75);
\draw[step=.5cm,gray,very thin] (-1.4,-1.4) grid (1.4,1.4);
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle [radius=1cm];
\filldraw[fill=green!20,draw=green!50!black] (0,0) -- (3mm,0mm)
arc [start angle=0, end angle=30, radius=3mm] -- cycle;
\draw[red,very thick] (30:1cm) -- +(0,-0.5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\tikz [circuit ee IEC]
\node [resistor={ohm=5}] {};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:30]--[::-60]--[::-60]--[::-60]OH}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\pgfplotstableread{
plot1 plot2 plot3 plot4
0.0045 0.0029 0.0089 0.0001
0.0024 0.0023 0.0050 0.0016
0.0007 0.0012 0.0010 0.0001
0.0000 0.0004 -0.0000 -0.0015
0.0001 0.0001 0.0007 -0.0021
0.0003 0.0000 0.0015 -0.0020
0.0003 0.0001 0.0017 -0.0018
0.0003 0.0001 0.0016 -0.0015
0.0003 0.0001 0.0016 -0.0013
0.0003 0.0002 0.0015 -0.0012
}\tabledata
\begin{axis}[
zmin=-0.001,
area plot/.style={
fill opacity=0.75,
draw=orange!80!black,
thick,
fill=orange,
mark=none,
},
ytick={1,...,4},
yticklabel=plot\pgfmathprintnumber{\tick},
]
\pgfplotsinvokeforeach{4,3,...,1}{
\addplot3 [area plot] table [
x expr=\coordindex, y expr=#1, z=plot#1,
] {\tabledata} \closedcycle;
}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amsthm, amssymb, amscd, mathrsfs, amsfonts, mathtools}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{hobby,knots,graphs,graphs.standard,arrows.meta}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\node[draw, circle, fill=red, minimum size=2pt, inner sep=3pt, text=white] (Red) at (3,0) {};
\node[draw, circle, fill=blue, minimum size=2pt, inner sep=3pt, text=white] (Blue) at (0,0) {};
\draw[->, thick] (Red) -- (Blue);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\usetikzlibrary{calc}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}[every path/.append style={thick}, scale=0.9, every node/.style={scale=0.9}]
\pgfplotstableread{
0.974245777593474 0
0.974245777593474 0.935473341276744
0.935473350101363 0.974245768768855
0 0.999964471359122
}{\mytable}
\begin{axis}[
xmin=0.75, ymin=0.75, ymax=1.03,
xlabel={$R_1$ [bpcu]}, ylabel={$R_2$ [bpcu]},
xmajorgrids, ymajorgrids,
axis x discontinuity=parallel,
axis y discontinuity=parallel,
axis equal,
disabledatascaling=true,
axis on top=true,
]
\coordinate (origin) at (0,0);
\coordinate (BB) at (0.97424576876885,0.93547335010136);
\coordinate (A) at (0.90975464751109,0.99996447135912);
\coordinate (AA) at (0.93547335010136,0.97424576876885);
\coordinate (B2) at (0.99996447135912,0.90975464751109);
\coordinate (BB2) at (0.97424576876885,0.93547335010136);
\fill[black!10] (origin)-|(AA)--(A)-|cycle;
\fill[black!10] (origin)-|(B2)--(BB2)-|cycle;
\fill[black!10] (origin)-|(BB)--(AA)-|cycle;
\fill[black!20] (origin)-|(BB)-|(AA)-|cycle;
\addplot [thick,dashed,draw=none] table {\mytable};
\draw[thick,dashed] (AA-|origin)--(AA)--(AA|-origin);
\draw[thick,dashed] (BB-|origin)--(BB)--(BB|-origin);
\draw[<-,shorten <=2pt] (BB) .. controls +(-.02,-.03) and +(.01,.03) .. ($(BB)+(-.04,-.09)$)
node[below left,anchor=north] {(0.9742, 0.9355)};
\node[draw,fill=white,circle,inner sep=1.2pt,label={[label distance={.9ex}]45:$\mathsf{A}_1$}] at (A) {};
\node[draw,fill=white,circle,inner sep=1.2pt,label={[label distance={.2ex}]45:$\mathsf{A}_1'$, $\mathsf{A}_2$, $\mathsf{A}_2'$}] at (AA) {};
\node[draw,fill=white,circle,inner sep=1.2pt,label={[label distance={.2ex}]45:$\mathsf{B}_1$, $\mathsf{B}_1'$, $\mathsf{B}_2'$}] at (BB) {};
\node[draw,fill=white,circle,inner sep=1.2pt,label={[label distance={.2ex}]45:$\mathsf{B}_2$}] at (B2) {};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{positioning, decorations}
\makeatletter
\tikzset{
distance from start/.code={
\pgfgetpath\currentpath\pgfprocessround{\currentpath}{\currentpath}
\pgf@decorate@parsesoftpath{\currentpath}{\currentpath}
\pgfmathparse{#1/\pgf@decorate@totalpathlength}\tikzset{pos=\pgfmathresult}},
distance from end/.code={
\pgfgetpath\currentpath\pgfprocessround{\currentpath}{\currentpath}
\pgf@decorate@parsesoftpath{\currentpath}{\currentpath}
\pgfmathparse{1-(#1/\pgf@decorate@totalpathlength)}\tikzset{pos=\pgfmathresult}}
}
\makeatother
\begin{document}
\begin{tikzpicture}
\node (A) {$A$};
\node [right=of A] (B) {$B$};
\draw(A) -- node[distance from start=10pt, above] {$+$}
node[distance from end=5pt, below] {$\times$} (B);
\draw[->, red] (A.east) -- ++(10pt,0);
\draw[->, blue] (B.west) -- ++(-5pt,0);
\draw[green](A) to[in=45,out=225]
node[distance from start=10mm, inner sep=1pt,circle,fill] {}
node[distance from end=10mm, inner sep=1pt,circle,fill] {} (B);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz \datavisualization [scientific axes,
x axis={length=3cm},
y axis={length=2cm},
all axes={ticks=few},
visualize as line]
data {
x, y
10, 10
20, 20
15, 30
13, 20
};
\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) node[msport, right, xscale=-1]{}
to[mstline, -o] ++(3,0) coordinate(there)
to[mstline, mstlinelen=2, l=longer, o-*] ++(4,0)
coordinate(here) -- ++(0.5,0) node[mslstub, fill=yellow]{stub}
(here) -- ++(0,0.5) node[mslstub, rotate=90, mstlinelen=0.5]{short};
\draw (there) to[short, o-] ++(0, 0.5) node[msrstub]{};
\draw (here) -- ++(0, -0.5) node[msrstub, yscale=-1]{};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{3d}
\begin{document}
\begin{tikzpicture}[>=stealth]
\draw[->](0,0)--(1,0,0)node[right]{$x$};
\draw[->](0,0)--(0,1,0)node[above]{$y$};
\draw[->](0,0)--(0,0,1)node[below left]{$z$};
\pgfpathcircle{\pgfpointcylindrical{80}{1}{.5}}{2pt}\pgfusepath{fill}\draw[red](0,0)--(0,0,.5)--+(80:1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\definesubmol{x}{(-[4]H)(-[0]OH)}
\definesubmol{y}{(-[0]H)(-[4]OH)}
\chemfig{[2]OH-[3]-!x-!x-!y-!x-=[1]O}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows, automata, positioning}
\begin{document}
\begin{tikzpicture}[>=stealth, shorten >=3pt,
node distance=2.5cm, on grid, auto, initial text=,
accepting/.style={thick, double distance=2.5pt}]
\node (a) at (0,0) {$SX$};
\node (b) at (2,0) {$STX$};
\node (c) at (4,0) {$SA$};
\node (d) at (0,1.5) {$TX$};
\node (e) at (2,1.5) {$TTX$};
\node (f) at (4,1.5) {$TA$};
\node (g) at (6,1.5) {$A$};
\node (h) at (2,3) {$TX$};
\node () at (0.6,1.1) {nat. $e$};
\node () at (2.6,1.1) {nat. $e$};
\path[->>] (d) edge [] node [left] {$e_X$} (a)
(e) edge [] node [left] {$e_{TX}$} (b)
(f) edge [] node [left] {$e_A$} (c);
\path[->] (a) edge [] node [below] {$S\eta_X$} (b)
(b) edge [] node [below] {$Sf$} (c)
(c) edge [] node [below] {$g$} (g)
(d) edge [] node [above] {$\ \ T\eta_X$} (e)
edge [] node [above] {$id_X\ \ $} (h)
(e) edge [] node [left] {$\mu_X$} (h)
edge [] node [above] {$Tf$} (f)
(f) edge [] node [above] {$a$} (g)
(h) edge [] node [above] {$f$} (g);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*6((-HO)-=-(--[::-60]-[::-60]
HN-[::+60]CH_3)=-(-HO)=)}
\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}
\newcommand{\email}[1]{#1}
\begin{document}
\begin{circuitikz}
\draw (0,0) node[dipchip, rotate=90, num pins=40, fill=cyan!20!white](C){
\rotatebox{-90}{\LARGE\Circuitikz}
};
\draw (C.pin 20) -- ++(0,-8) node[ground](GND){};
\draw (C.pin 7) to[D, fill=blue] ++(0,-1) -- ++(0.5,0) to[R] ++(2,0)
coordinate(a1) to[short, -*]
node[above left, blue, pos=1]{Massimo A. Redaelli}
node[below left, pos=1]{}
(a1-|GND);
\draw (C.pin 5) to[D, fill=red] ++(0,-3)-- ++(0.5,0) to[R] ++(2,0)
coordinate(a2) to[short, -*]
node[above left, blue, pos=1]{Stefan Lindner}
node[below left, pos=1]{}
(a2-|GND);
\draw (C.pin 3) to[D, fill=green] ++(0,-5)-- ++(0.5,0) to[R] ++(2,0)
coordinate(a3) to[short, -*]
node[above left, blue, pos=1]{Stefan Erhardt}
node[below left, pos=1]{}
(a3-|GND);
\draw (C.pin 1) to[D, fill=yellow] ++(0,-7)-- ++(0.5,0) to[R] ++(2,0)
coordinate(a4) to[short, -*]
node[above left, blue, pos=1]{Romano Giannetti}
node[below left, pos=1]{}
(a4-|GND);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}[fill=blue!20]
\draw[help lines] (-1,-2) grid (6,3);
\path (0,0) node(a) [ellipse,rotate=10,draw,fill] {An ellipse}
(3,-1) node(b) [circle,draw,fill] {A circle}
(2,2) node(c) [rectangle,rotate=20,draw,fill] {A rectangle}
(5,2) node(d) [rectangle,rotate=-30,draw,fill] {Another rectangle};
\draw[thick] (a.south) -- (b) -- (c) -- (d);
\draw[thick,red,->] (a) |- +(1,3) -| (c) |- (b);
\draw[thick,blue,<->] (b) .. controls +(right:2cm) and +(down:1cm) .. (d);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
}\tikzset{new/.style={color=orange,line width=.2pt}
}\tikzset{line style/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}[scale=.5]
\tkzDefPoint(0,0){A}\tkzDefPoint(3,0){B}\tkzDefSquare(A,B)\tkzDrawPolygon[new](A,B,tkzFirstPointResult,tkzSecondPointResult)\tkzDefSquare(B,A)\tkzDrawPolygon(B,A,tkzFirstPointResult,tkzSecondPointResult)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}[scale=1.2,line width=.2pt]
\tkzDefPoints{1/3/A,4/2/B}\tkzDefPointWith[linear,K=0.5](A,B)\tkzGetPoint{C}\tkzDrawPoints[color=red,size=2](A,B,C)\tkzDrawSegment(A,B)\tkzLabelPoints[above right=3pt,color=teal,font=\scriptsize](A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\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}
,new/.style={color=orange,line width=.2pt},label style/.append style={below,color=teal,font=\scriptsize},line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=1.2,vect/.style={->,shorten >=1pt,>=latex'}]
\tkzDefPoint(2,3){A}\tkzDefPoint(4,2){B}\tkzDefPoint(0,1){C}\tkzDefPointWith[colinear=at C](A,B)\tkzGetPoint{D}\tkzDrawPoints[new](A,B,C,D)\tkzLabelPoints[above right=3pt](A,B,C,D)\tkzDrawSegments[vect](A,B C,D)
\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
[scientific axes,
all axes={length=3cm, grid},
every grid/.append style={style=densely dashed},
visualize as line]
data [format=function] {
var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[margin=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{
main/.style={
circle,
minimum size = 10mm,
thick,
draw = black!80,
node distance = 10mm
}
}
\begin{document}
\begin{tikzpicture}
\node[main, draw=red!80] (t1) {$t_i$};
\node[main] (t2) [right= of t1] {$t_{i+1}$};
\node[main] (t3) [right= of t2] {$t_{i+2}$};
\node[main] (tn) [right= of t3] {$t_{n}$};
\node[main] (t) [left= of t1] {$t_{i-1}$};
\node[main] (tt) [left= of t] {$t_{i-2}$};
\node[main] (t0) [left= of tt] {$t_{0}$};
\path (t3) -- node[auto=false]{\ldots} (tn);
\path (tt) -- node[auto=false]{\ldots} (t0);
\draw [->] (t1) to [out=75,in=135] node [midway,above]{$P(k=n|\lambda=i)$} (tn);
\draw [->] (t1) to [out=35,in=135] node [midway,above]{$P(k=i + 2|\lambda=i)$} (t3);
\draw [->] (t1) to (t2);
\draw [->] (t1) to (t);
\draw [->] (t1) to [out=145,in=45] node [midway,above]{$P(k= i- 2|\lambda=i)$} (tt);
\draw [->] (t1) to [out=105,in=45] node [midway,above]{$P(k=0|\lambda=i)$} (t0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[node distance={30mm}, thick, main/.style = {draw, circle}]
\draw [-,dotted](1,1) to (1,3);
\draw [-,dotted](1,1) to (3,1);
\draw [-,dotted](1,3) to (3,5);
\draw [-,dotted](3,1) to (5,3);
\draw [-,dotted](5,5) to (3,5);
\draw [-,dotted](5,5) to (5,3);
\draw [->](3,3) to (.8,3);
\draw [->](3,3) to (3,.8);
\draw [dashed,->](3,3) to (3,5.2);
\draw [dashed,->](3,3) to (5.2,3);
\draw [<-](5.2,5.2) to (3,3);
\draw [dashed,->](3,3) to (.8,.8);
\node at (1,1) [circle,draw=black,fill=white,inner sep=1.5pt]{};
\node at (5,3)[circle,draw=black,fill=white,inner sep=1.5pt]{};
\node at (3,5)[circle,draw=black,fill=white,inner sep=1.5pt]{};
\node at (3,3)[circle,fill,inner sep=1.5pt]{};
\node[] at (2.8, 3.2) {$v$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=7.5cm,height=5.5cm,xtick=\empty,xmin=-0.5,xmax=5.5,ymin=0,ymax=8.5,extra x ticks={0,1,2,3,4,5},x tick label style={rotate=60,anchor=east},extra x tick labels={Baseline,PACMAN,Baseline+FPE,PACMAN+FPE,PEMR-A,PEMR-B},ytick={0,2,4,6,8},legend style={at={(0.0,0.5)},anchor=west},ymajorgrids=true,grid style=dashed]\addplot[color=blue,mark=square]coordinates{(0,7.36)(1,8.04)(2,6.91)(3,7.21)(4,6.9)(5,6.62)};
\addlegendentry{$d_T$}\addplot[color=red,mark=square]coordinates{(0,1.69)(1,0.95)(2,2.10)(3,1.81)(4,2.09)(5,2.34)};
\addlegendentry{$d_\Delta$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{bayesnet,arrows,backgrounds,arrows.meta,positioning,bending}
\usepackage{amsmath,amssymb,amsthm}
\begin{document}
\begin{tikzpicture}[scale=.58, line width=0.4pt, inner sep=0.6mm, shorten >=.1pt, shorten <=.1pt]
\tikzset{znode/.style={text=brown}
,dnode/.style={text=blue},xnode/.style={text=black},every node/.style={align=center},edge from parent/.style={draw,->}}\node[znode] (L5) at (-0.5, 4) {{\footnotesize\,$z_5$\,}};
\node[znode] (L4) at (-2, 2.5) {{\footnotesize\,$z_4$\,}};
\node[dnode] (X8) at (-1, 2.5) {{\footnotesize\,$d_8$\,}};
\node[dnode] (X9) at (0, 2.5) {{\footnotesize\,$d_9$\,}};
\node[dnode] (X10) at (1, 2.5) {{\footnotesize\,$d_{10}$\,}};
\node[znode] (L1) at (-3, 1) {{\footnotesize\,$z_1$\,}};
\node[znode] (L2) at (-2, 1) {{\footnotesize\,$z_2$\,}};
\node[znode] (L3) at (-1, 1) {{\footnotesize\,$z_3$\,}};
\node[dnode] (X1) at (-4.5, -0.5) {{\footnotesize\,$d_1$\,}};
\node[dnode] (X2) at (-3.7, -0.5) {{\footnotesize\,$d_2$\,}};
\node[dnode] (X3) at (-2.9, -0.5) {{\footnotesize\,$d_3$\,}};
\node[dnode] (X4) at (-2.1, -0.5) {{\footnotesize\,$d_4$\,}};
\node[dnode] (X5) at (-1.3, -0.5) {{\footnotesize\,$d_5$\,}};
\node[dnode] (X6) at (-0.5, -0.5) {{\footnotesize\,$d_6$\,}};
\node[dnode] (X7) at (0.3, -0.5) {{\footnotesize\,$d_7$\,}};
\draw[-latex] (L5) -- (L4);
\draw[-latex] (L5) -- (X8);
\draw[-latex] (L5) -- (X9);
\draw[-latex] (L5) -- (X10);
\draw[-latex] (L4) -- (L1);
\draw[-latex] (L4) -- (L2);
\draw[-latex] (L4) -- (L3);
\draw[-latex] (L1) -- (X1);
\draw[-latex] (L1) -- (X2);
\draw[-latex] (L1) -- (X3);
\draw[-latex] (L1) -- (X4);
\draw[-latex] (L1) -- (X5);
\draw[-latex] (L1) -- (X6);
\draw[-latex] (L2) -- (X1);
\draw[-latex] (L2) -- (X2);
\draw[-latex] (L2) -- (X3);
\draw[-latex] (L2) -- (X4);
\draw[-latex] (L2) -- (X5);
\draw[-latex] (L2) -- (X6);
\draw[-latex] (L2) -- (X7);
\draw[-latex] (L3) -- (X2);
\draw[-latex] (L3) -- (X3);
\draw[-latex] (L3) -- (X4);
\draw[-latex] (L3) -- (X5);
\draw[-latex] (L3) -- (X6);
\draw[-latex] (L3) -- (X7);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{latexsym,amssymb,amsfonts,dsfont,bm}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=2]
\draw[blue] (0,0)--(1,0);
\draw[blue] (0,0.04)--(1,0.04);
\draw[red] (0,-0.04)--(1,-0.04);
\draw[red] (0,0)--(0,1);
\draw[red] (1,0)--(0,1);
\draw[blue] (0.015,-0.015)--(1.015,0.985);
\draw[blue] (-0.015,0.015)--(0.985,1.015);
\draw[blue] (.98,0)--(.98,1);
\draw[blue] (1.02,0)--(1.02,1);
\filldraw[black!10] (-0.03,0)--(-.8,.5)--(-0.03,1);
\filldraw[black!10] (1.03,0)--(1.8,.5)--(1.03,1);
\draw (0,0)--(-.8,.5)--(-1.3,-.3)--(-.5,-.8)--(0,0);
\draw (0,1)--(-.8,.5)--(-1.3,1.3)--(-.5,1.8)--(0,1);
\draw (1,0)--(1.8,.5)--(2.3,-.3)--(1.5,-.8)--(1,0);
\draw (1,1)--(1.8,.5)--(2.3,1.3)--(1.5,1.8)--(1,1);
\node at (0.5,1) {$0$};
\node at (0.3,0.7) {$1$};
\node at (0.3,0.3) {$2$};
\node at (0.5,-0.15) {$3$};
\node at (-.35,.5) {\Large $+3$};
\node at (1.25,.5) {\Large $+3$};
\node[align=center] at (-.65,-.15) {$5,6,7,$ \\ $9,10,11$};
\node[align=center] at (-.65,1.15) {$15,16,17,$ \\ $11,12,13$};
\node[align=center] at (1.65,-.15) {$23,24,25,$ \\ $27,28,29$};
\node[align=center] at (1.65,1.15) {$21,22,23,$ \\ $17,18,19$};
\draw[->] (-.81,.07)--(-.45,.25);
\draw[->] (-.85,.95)--(-.45,.75);
\draw[->] (1.4,.07)--(1.45,.25);
\draw[->] (1.4,.96)--(1.45,.75);
\filldraw (0,0) circle [radius=.05];
\filldraw (1,0) circle [radius=.05];
\filldraw (0,1) circle [radius=.05];
\filldraw (1,1) circle [radius=.05];
\filldraw (-.8,.5) circle [radius=.05];
\filldraw (-.5,-.8) circle [radius=.05];
\filldraw (-1.3,-.3) circle [radius=.05];
\filldraw (-.5,1.8) circle [radius=.05];
\filldraw (-1.3,1.3) circle [radius=.05];
\filldraw (1.8,.5) circle [radius=.05];
\filldraw (1.5,-.8) circle [radius=.05];
\filldraw (2.3,-.3) circle [radius=.05];
\filldraw (1.5,1.8) circle [radius=.05];
\filldraw (2.3,1.3) circle [radius=.05];
\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) node[ground](GND){} to [sV] ++(0,2) -- ++(1,0)
node[transformer, circuitikz/inductors/coils=6,
anchor=A1](T){};
\draw (T.A2) to[short, -*] (T.A2-|GND);
\draw (T-L2.midtap) to[short, *-o] (T.B1 |- T-L2.midtap);
\node [ocirc] at (T.B1){};
\node [ocirc] at (T.B2){};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[radius=2pt]
\draw (0,0) circle -- (1,1) circle -- ++(0,1) circle;
\end{tikzpicture}
\end{document}