Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
384
384
text
stringlengths
415
4.53k
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[font=\tt] \node (T) at (0, 0) {ACAACG}; \node[below=0.5mm of T] (c1) {$T$}; \node[align=center] (tbl1) at (2.7, 0) {\textcolor{red}{AACG}AC\\\textcolor{red}{ACAACG}\\\textcolor{red}{ACG}ACA\\\textcolor{red}{CAACG}A\\\textcolor{red}{CG}ACAA\\\textcolor{red}{G}ACAAC}; \node[align=center] (tbl2) at (5.4, 0) {AACGA\textcolor{red}{C}\\\textcolor{red}{ACAACG}\\ACGAC\textcolor{red}{A}\\CAACG\textcolor{red}{A}\\CGACA\textcolor{red}{A}\\GACAA\textcolor{red}{C}}; \node[align=left] (BWT) at (8.6, 0) {(CGAAAC, 2)}; \node[below=0.5mm of BWT] (c2) {$BWT(T)$}; \draw[-stealth, very thick] (T) -- (tbl1); \draw[-stealth, very thick] (tbl1) -- (tbl2); \draw[-stealth, very thick] (tbl2) -- (BWT); \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows, positioning} \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em] \tikzstyle{line} = [draw, -latex'] \definecolor{mygreen}{rgb}{0,0.6,0} \definecolor{echodrk}{HTML}{0099cc} \begin{document} \begin{tikzpicture}[node distance=4cm, auto] \node [block, color=red, fill=white, text width=6.5em] (if) {{\huge \bf IF}\\{\scriptsize Instruction fetch}}; \node [block, color=mygreen, fill=white, text width=6.5em, right of=if] (dc) {{\huge \bf DC}\\{\scriptsize Decode}}; \node [block, color=echodrk, fill=white, text width=6.5em, right of=dc] (ex) {{\huge \bf EX}\\{\scriptsize Execute}}; \node [block, color=black, fill=white, text width=6.5em, below = 0.5cm of dc] (intr) {{\huge \bf IRQ}\\{\scriptsize Handle interrupts}}; \path [line] (if) -- (dc); \path [line] (dc) -- (ex); \path [line] (ex) edge [bend left] (intr); \path [line] (intr) edge [bend left] (if); \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ width=12.5cm, height=8cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\large $x(t)$}, xmin=0, xmax=16, ymin=-1.1, ymax=1.5, xtick={1.365, 2.73, 4.095, 5.46}, xticklabels={$\frac{1}{f_s}$, $\frac{2}{f_s}$, $\frac{3}{f_s}$, $\dots$}, axis lines = middle, very thick, domain = 0:15 ] \addplot[no markers, samples = 100, smooth ,thick] {sin(2*180*x/13)}; \addplot+[ycomb, mark=*, mark color=blue, samples= 12, black, thick] {sin(2*180*x/13)}; \end{axis} \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning, decorations.pathmorphing} \begin{document} \begin{tikzpicture}[node distance=1.5cm] \node[rectangle, very thick, draw] (learning) {Learning algorithm, $L$}; \node[rectangle, very thick, draw, below = of learning] (inference) {Labelling function, $h$}; \node[left = of learning] (train) {Training data, $\vec{s}$}; \node[left = of inference] (uns) {Unseen data, $x$}; \node[right = of inference] (lab) {Label, $y$}; \draw[-stealth, very thick] (train) -- (learning); \draw[-stealth, very thick, decoration={snake, segment length=2mm, amplitude=0.3mm, post length=1.5mm}, decorate] (learning) -- node[right] {$L(\vec{s})$} (inference); \draw[-stealth, very thick] (uns) -- (inference); \draw[-stealth, very thick] (inference) -- node[above] {$h(x)$} (lab); \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture}[scale=0.8,every node/.style={scale=0.7},font=\tt] \SetUpEdge[lw = 1.5pt, color = red, labelcolor = white] \GraphInit[vstyle=Normal] \SetGraphUnit{3} \tikzset{VertexStyle/.append style={fill}} \Vertex{ATG} \EA(ATG){TGG} \EA(TGG){GGC} \SO(GGC){GCG} \WE(GCG){CGT} \WE(CGT){GTG} \WE(GTG){TGC} \WE(TGC){GCA} \NO(GCA){CAA} \EA(CAA){AAT} \tikzset{EdgeStyle/.style={-stealth, color=black}} \Edge(ATG)(TGC) \Edge(GTG)(TGG) \Edge(GGC)(GCA) \tikzset{EdgeStyle/.style={-stealth, color=black, bend right}} \Edge(TGC)(GCG) \tikzset{EdgeStyle/.style={-stealth}} \Edge(ATG)(TGG) \Edge(TGG)(GGC) \Edge(GGC)(GCG) \Edge(GCG)(CGT) \Edge(CGT)(GTG) \Edge(GTG)(TGC) \Edge(TGC)(GCA) \Edge(GCA)(CAA) \Edge(CAA)(AAT) \Edge(AAT)(ATG) \end{tikzpicture} \end{document}
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node[circle, draw, thick] (z) {$\vec{a}_{real}$}; \node[circle, draw, thick, right=5em of z] (x) {$\vec{b}_{fake}$}; \draw[-stealth, thick] (z) -- node[above] {$G_{AB}(\vec{a})$} node[below, align=center] {generator\\ ($A\rightarrow B$)} (x); \node[circle, draw, thick, right=5em of x] (xx) {$\vec{a}_{rec}$}; \draw[-stealth, thick] (x) -- node[above] {$G_{BA}(\vec{b})$} node[below, align=center] {generator\\ ($B\rightarrow A$)} (xx); \node[left=5em of z] (i) {}; \draw[-stealth, thick] (i) -- node[above] {real data} node[below] {(type A)} (z); \node[circle, draw, thick, right=2em of x, yshift=7.5em] (D) {$\vec{b}$}; \node[right=7em of D] (out) {real?}; \draw[-stealth, thick] (D) -- node[above] {$D_B(\vec{b})$} node[below,align=center] {discriminator\\ (type B)} (out); \node[yshift=5em, circle, fill, inner sep=0.15em] at (x) (pt1) {}; \node[above=of x, yshift=6.4em, circle, fill, inner sep=0.15em] (pt2) {}; \node[left=2.5em of pt2, circle, draw, thick] (xt) {$\vec{b}_{real}$}; \node[left=5em of xt] (it) {}; \draw[-stealth, thick] (it) -- node[above] {real data} node[below] {(type B)} (xt); \draw[dashed, thick] (pt1) edge[bend left] (pt2); \node[circle, draw, thick, fill=white, inner sep=0.15em] at ([xshift=-0.83em, yshift=4em]pt1.north) (pt3) {}; \draw[-stealth, thick] (x) -- (pt1); \draw[-stealth, thick] (xt) -- (pt2); \draw[-stealth, thick] (pt3) -- (D); \draw[dashed, thick, stealth-stealth] (z.south) -- ([yshift=-1.5em]z.south) -- ([yshift=-1.6em]xx.south) -- (xx.south); \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node[circle, thick, draw] (0) {$d_0$}; \node[circle, thick, draw, below = 4.5em of 0] (1) {$d_1$}; \node[circle, thick, draw, right = 4.5em of 0] (2) {$d_2$}; \node[circle, thick, draw, right = 4.5em of 2] (3) {$d_3$}; \node[circle, thick, draw, right = 4.5em of 3] (6) {$d_6$}; \node[circle, thick, draw, above = 4.5em of 6] (5) {$d_5$}; \node[circle, thick, draw, below = 4.5em of 6] (4) {$d_4$}; \path[-stealth, very thick] (0) edge [bend right=45] (2); \path[-stealth, very thick] (2) edge [bend right=45] (0); \path[-stealth, very thick] (1) edge [bend right] (2); \path[-stealth, very thick] (1) edge [->, >=stealth, loop left] (1); \path[-stealth, very thick] (2) edge [->, >=stealth, loop above] (2); \path[-stealth, very thick] (3) edge [->, >=stealth, loop above] (3); \draw[-stealth, very thick] (2) -- (3); \path[-stealth, very thick] (3) edge [bend right] (4); \draw[-stealth, very thick] (5) -- (6); \draw[-stealth, very thick] (6) -- (3); \path[-stealth, very thick] (6) edge [bend right=45] (4); \path[-stealth, very thick] (4) edge [bend right=45] (6); \path[-stealth, very thick] (5) edge [->, >=stealth, loop right] (5); \path[-stealth, very thick] (6) edge [->, >=stealth, loop right] (6); \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture}[scale=0.8,every node/.style={scale=0.7},font=\tt] \SetUpEdge[ lw = 0.75pt, color = red, labelcolor = white] \GraphInit[vstyle=Normal] \SetGraphUnit{2} \tikzset{VertexStyle/.append style={fill=red!50}} \Vertex{s} \tikzset{VertexStyle/.append style={fill=white}} \NOEA(s){a} \EA(a){d} \tikzset{VertexStyle/.append style={fill=blue!50}} \SOEA(d){t} \tikzset{VertexStyle/.append style={fill=white}} \EA(s){b} \EA(b){e} \SOEA(s){c} \EA(c){f} \tikzset{EdgeStyle/.style={-stealth, color=black}} \Edge[label=6](s)(a) \Edge[label=2](s)(b) \SetUpEdge[labeltext=red] \tikzset{EdgeStyle/.style={-stealth, color=red}} \Edge[label=2](s)(c) \SetUpEdge[labeltext=black] \tikzset{EdgeStyle/.style={-stealth, color=black}} \Edge[label=5](a)(d) \Edge[label=4](a)(e) \tikzset{EdgeStyle/.style={-stealth, color=black, bend left=15}} \Edge[label=4](b)(e) \Edge[label=-2](e)(b) \SetUpEdge[labeltext=red] \tikzset{EdgeStyle/.style={-stealth, color=red}} \Edge[label=1](c)(f) \SetUpEdge[labeltext=black] \tikzset{EdgeStyle/.style={-stealth, color=black}} \Edge[label=1](d)(t) \SetUpEdge[labeltext=red] \tikzset{EdgeStyle/.style={-stealth, color=red}} \Edge[label=3](e)(t) \Edge[label=2](f)(e) \SetUpEdge[labeltext=black] \tikzset{EdgeStyle/.style={-stealth, color=black}} \Edge[label=5](f)(t) \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{braids} \newcommand{\bond}[3]{ \draw[very thick, #1] (#3, 0) -- (#3, 0.35); \draw[very thick, densely dotted] (#3, 0.35) -- (#3, 0.65); \draw[very thick, #2] (#3, 0.65) -- (#3, 1); } \begin{document} \begin{tikzpicture} \bond{red}{blue}{0.1} \bond{red}{blue}{0.25} \bond{red}{blue}{0.4} \bond{blue}{red}{1.1} \bond{blue}{red}{1.25} \bond{blue}{red}{1.4} \bond{red}{blue}{2.1} \bond{red}{blue}{2.25} \bond{red}{blue}{2.4} \bond{blue}{red}{3.1} \bond{blue}{red}{3.25} \bond{blue}{red}{3.4} \bond{red}{blue}{4.1} \bond{red}{blue}{4.25} \bond{red}{blue}{4.4} \bond{blue}{red}{5.1} \bond{blue}{red}{5.25} \bond{blue}{red}{5.4} \bond{red}{blue}{6.1} \bond{red}{blue}{6.25} \bond{red}{blue}{6.4} \bond{blue}{red}{7.1} \bond{blue}{red}{7.25} \bond{blue}{red}{7.4} \bond{red}{blue}{8.1} \bond{red}{blue}{8.25} \bond{red}{blue}{8.4} \braid[rotate=90,style strands={1}{red, very thick},style strands={2}{blue, very thick}] (tst) at (0, 0) s_1 s_1 s_1 s_1 s_1 s_1 s_1 s_1; \end{tikzpicture} \end{document}
\documentclass[crop,tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node[circle, draw, thick] (z) {$\vec{z}$}; \node[circle, draw, thick, right=5em of z] (x) {$\vec{x}_{fake}$}; \draw[-stealth, thick] (z) -- node[above] {$G(\vec{z})$} node[below] {generator} (x); \node[left=of z] (i) {}; \draw[-stealth, thick] (i) -- node[above] {$p_\theta(\vec{z})$} (z); \node[above=of x, circle, draw, thick] (xt) {$\vec{x}_{real}$}; \node[left=5em of xt] (it) {}; \draw[-stealth, thick] (it) -- node[above] {$p_{data}(\vec{x})$} (xt); \node[circle, draw, thick, right=5em of x, yshift=2.5em] (D) {$\vec{x}$}; \node[right=7em of D] (out) {real?}; \draw[-stealth, thick] (D) -- node[above] {$D(\vec{x})$} node[below] {discriminator} (out); \node[right=2.5em of x, circle, fill, inner sep=0.15em] (pt1) {}; \node[right=2.5em of xt, circle, fill, inner sep=0.15em] (pt2) {}; \draw[dashed, thick] (pt1) edge[bend left] (pt2); \node[circle, draw, thick, fill=white, inner sep=0.15em] at ([xshift=-0.9em, yshift=4em]pt1.north) (pt3) {}; \draw[-stealth, thick] (x) -- (pt1); \draw[-stealth, thick] (xt) -- (pt2); \draw[-stealth, thick] (pt3) -- (D); \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture}[scale=0.8,every node/.style={scale=0.7},font=\tt] \SetUpEdge[lw = 0.75pt, color = red, labelcolor = white] \GraphInit[vstyle=Normal] \SetGraphUnit{2} \tikzset{VertexStyle/.append style={fill=red!50}} \Vertex{s} \tikzset{VertexStyle/.append style={fill=white}} \NOEA(s){2} \EA(2){4} \tikzset{VertexStyle/.append style={fill=blue!50}} \SOEA(4){t} \tikzset{VertexStyle/.append style={fill=white}} \EA(s){3} \EA(3){5} \SetUpEdge[labeltext=blue] \tikzset{EdgeStyle/.style={-stealth, color=blue}} \Edge[label=10/10](s)(2) \SetUpEdge[labeltext=blue!90] \tikzset{EdgeStyle/.style={-stealth, color=blue!90}} \Edge[label=9/10](s)(3) \SetUpEdge[labeltext=gray] \tikzset{EdgeStyle/.style={-stealth, color=gray}} \Edge[label=0/2](2)(3) \SetUpEdge[labeltext=blue] \tikzset{EdgeStyle/.style={-stealth, color=blue}} \Edge[label=4/4](2)(4) \SetUpEdge[labeltext=blue!75] \tikzset{EdgeStyle/.style={-stealth, color=blue!75}} \Edge[label=6/8](2)(5) \SetUpEdge[labeltext=blue] \tikzset{EdgeStyle/.style={-stealth, color=blue}} \Edge[label=9/9](3)(5) \SetUpEdge[labeltext=blue] \tikzset{EdgeStyle/.style={-stealth, color=blue}} \Edge[label=10/10](4)(t) \SetUpEdge[labeltext=blue] \tikzset{EdgeStyle/.style={-stealth, color=blue}} \Edge[label=6/6](5)(4) \SetUpEdge[labeltext=blue!90] \tikzset{EdgeStyle/.style={-stealth, color=blue!90}} \Edge[label=9/10](5)(t) \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \definecolor{olivegreen}{rgb}{0,0.6,0} \begin{document} \begin{tikzpicture}[scale=0.85] % Axis \draw[thick,-stealth,black] (-3,0)--(3,0) coordinate (A) node[below] {$x$}; % x axis \draw[thick,-stealth,black] (0,-3)--(0,3) node[left] {$y$}; % y axis \draw[black,thin] (0,0) circle (2.5cm); \draw[ultra thick,red] (0,0) -- (60:2.5cm |- 0,0) node[midway,below] {$x$}; % UpOn y axis \draw (1,0) arc (0:60:1) node at ($(60/2:0.7)$) {$\alpha$}; \draw[ultra thick, blue] (60:2.5cm) -- (60:2.5cm |- 0,0) node[midway,right] {$y$}; % vertical line \draw[ultra thick,olivegreen,rotate=60] (0,0) -- node [left] {$r$} (2.5,0) coordinate (B); \draw[xshift=-1cm] (B) node[circle,fill,inner sep=1pt,label=above:$P$](e){}; \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}[samples=1000, domain=0:10*pi] \begin{axis}[ width=11cm, height=3.5cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\large $x(t)$}, xmin=0, xmax=11*pi, ymin=-0.5, ymax=7.5, axis lines = middle, very thick, trig format = rad ] \addplot [no markers, smooth, thick] {2.5 + 2*sin(0.5*x)}; \end{axis} \begin{axis}[ at={(0, -2.25cm)}, width=11cm, height=3.5cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\textcolor{blue}{carrier wave}}, xmin=0, xmax=11*pi, ymin=-3, ymax=5, axis lines = middle, very thick, trig format = rad ] \addplot [no markers, smooth, blue, very thick] {2*sin(6*x)}; \end{axis} \begin{axis}[ at={(0, -5cm)}, width=11cm, height=4cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\textcolor{red}{AM wave}}, xmin=0, xmax=11*pi, ymin=-10, ymax=17, axis lines = middle, very thick, trig format = rad ] \addplot [no markers, smooth, red, very thick] {(2.5 + 2*sin(0.5*x)) * 2*sin(6*x)}; \end{axis} \end{tikzpicture} \end{document}
\documentclass[crop, tikz]{standalone} \usepackage{tikz} \usepackage{pgfplots} \definecolor{olivegreen}{rgb}{0,0.6,0} \begin{document} \begin{tikzpicture}[samples=1000, domain=0:10] \begin{axis}[ width=11cm, height=3.5cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\large $x(t)$}, xmin=0, xmax=11, ymin=-3, ymax=5, axis lines = middle, very thick, trig format = rad ] \addplot [no markers, smooth, thick] {2*sin(2*pi*0.25*x)}; \end{axis} \begin{axis}[ at={(0, -2.25cm)}, width=11cm, height=3.5cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\textcolor{blue}{carrier wave}}, xmin=0, xmax=11, ymin=-3, ymax=5, axis lines = middle, very thick, trig format = rad ] \addplot [no markers, smooth, blue, very thick] {2*sin(6*pi*x)}; \end{axis} \begin{axis}[ at={(0, -4.5cm)}, width=11cm, height=3.5cm, xtick=\empty, ytick=\empty, xlabel={\large $t$}, ylabel={\textcolor{olivegreen}{FM wave}}, xmin=0, xmax=11, ymin=-3, ymax=5, axis lines = middle, very thick, trig format = rad ] \addplot expression [no markers, smooth, olivegreen, very thick] {2*sin(2*pi*3*x - 8*cos(2*pi*0.25*x))}; \end{axis} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture}[rotate=45] \draw (-2,0) node[left] {$\varphi_a$} -- (2,0) node[right] {$\varphi_c$} (0,2) node[above] {$\varphi_b$} -- (0,-2) node[below] {$\varphi_d$}; \draw[->,yshift=5pt] (-1.7,0) -- (-0.7,0) node[midway,above] {$p_1$}; \draw[<-,yshift=5pt] (0.7,0) -- (1.7,0) node[midway,above] {$p_3$}; \draw[->,xshift=5pt] (0,1.7) -- (0,0.7) node[midway,right] {$p_2$}; \draw[<-,xshift=5pt] (0,-0.7) -- (0,-1.7) node[midway,right] {$p_4$}; \draw[fill=white,postaction={pattern=north east lines}] (0,0) circle (0.25) node[right=5pt] {$\Gamma_{k,abcd}^{(4)}(p_1,p_2,p_3,p_4)$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[trafo/.style={midway,font=\tiny}] \def\hd{2}\def\vd{0.5} \node (Zm) at (0,0) {$Z_m(E)$}; \node[right=\hd of Zm] (Zc) {$Z_c(\beta)$}; \node[right=\hd of Zc] (Zg) {$Z_g(\mu)$}; \node[below=\vd of Zm] (Sm) {$\sigma = \frac{S_m}{N}$}; \node[below=\vd of Zc] (F) {$f = \frac{F}{N}$}; \node[below=\vd of Zg] (O) {$\frac{\Omega}{V}$}; \draw[->] (Zm) -- (Sm); \draw[->] (Zc) -- (F); \draw[->] (Zg) -- (O); \draw[->] (Zm) -- (Zc) node[trafo,below] {Laplace in $E$}; \draw[->] (Zc) -- (Zg) node[trafo,below] {Laplace in $N$}; \draw[->] (Sm) -- (F) node[trafo,above] {Legendre in $\epsilon = \frac{E}{N}$}; \draw[->] (F) -- (O) node[trafo,above] {Legendre in $\rho = \frac{N}{V}$}; \end{tikzpicture} \end{document}
\documentclass[tikz,svgnames]{standalone} \usetikzlibrary{backgrounds} \begin{document} \begin{tikzpicture}[scale=3] \def\xmin{-1} \def\xmax{1} \def\ymin{-0.1} \def\ymax{2} \draw [thick,->] (\xmin,0) -- (\xmax,0); \draw [thick,->] (0,\ymin) -- (0,\ymax); \draw [thick] (-0.5,-0.02) -- (-0.5,0.02) node [below=2] {$-\frac{1}{2}$}; \draw [thick] (0.5,-0.02) -- (0.5,0.02) node [below=2] {$\frac{1}{2}$}; \draw [thick] (-0.02,1) -- (0.02,1) node [below right=-2] {$i$}; \node at (0,3*\ymax/4) [right] {$F_0$}; \node at (0,0.8) [left] {$F_0^\prime$}; \begin{pgfonlayer}{background} \draw [DarkBlue,->] (-0.5,0) -- (-0.5,\ymax) node [pos=0.7,above left] {$A$}; \draw [DarkBlue,->] (0.5,0) -- (0.5,\ymax) node [pos=0.7,above right] {$A^\prime$}; \draw [DarkRed] (1,0) arc (0:180:1) node [auto,swap,pos=0.55] {$B$} node [auto,swap,pos=0.45] {$B^\prime$}; \draw [DarkGreen] (0,0) arc (0:90:1) node [auto,pos=0.4] {$C$}; \draw [DarkGreen] (1,1) arc (90:180:1) node [auto,pos=0.6] {$C^\prime$}; \path[clip] (1,\ymax) -- (1,1) arc (90:180:1) -- (0,0) arc (0:90:1) -- (-1,\ymax) -- cycle; \begin{scope} \path[clip] (1,\ymax) -- (1,1) arc (90:180:1) -- (0,0) arc (0:90:1) -- (-1,\ymax) -- cycle; \fill[gray,opacity=0.3] (-0.5,0) rectangle (0.5,\ymax); \fill[gray,opacity=0.6] (1,0) arc (0:180:1); \end{scope} \end{pgfonlayer} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[thick] \def\r{5} \fill[teal!60] (\r,-\r) -- (0,0) -- (\r,0) -- cycle; \fill[yellow!60] (\r,-\r) -- (0,0) -- (0,-0.\r) -- (4.\r,-\r) -- cycle; \fill[red!60] (0,0) rectangle (\r,0.3\r); \draw (-\r,-\r) rectangle (\r,\r); \draw[dashed] (-\r,-\r) -- (\r,\r) (\r,-\r) -- (-\r,\r) (-\r,0) -- (\r,0) (0,-\r) -- (0,\r); \foreach \a in {-0.8*\r,0.8*\r} \foreach \b in {-0.8*\r,0.8*\r} \draw[fill=yellow!60] (\a,\b) +(-0.3,-0.3) rectangle +(0.3,0.3); \foreach \a in {-0.7*\r,0.7*\r} { \draw[fill=red!60] (\a,0) circle (0.3); \draw[fill=red!60] (0,\a) circle (0.3); } \foreach \i in {1,...,8} \draw[rotate=45,fill=teal!60] (\i*360/8+22.5:2cm) +(-0.3,-0.3) rectangle +(0.3,0.3); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[scale=0.6] \foreach \y [count=\n] in { {74,25,39,20,3,3,3,3,3}, {25,53,31,17,7,7,2,3,2}, {39,31,37,24,3,3,3,3,3}, {20,17,24,37,2,2,6,5,5}, {3,7,3,2,12,1,0,0,0}, {3,7,3,2,1,36,0,0,0}, {3,2,3,6,0,0,45,1,1}, {3,3,3,5,0,0,1,23,1}, {3,2,3,5,0,0,1,1,78}, } { % column labels \ifnum\n<10 \node[minimum size=6mm] at (\n, 0) {\n}; \fi % heatmap tiles \foreach \x [count=\m] in \y { \node[fill=yellow!\x!purple, minimum size=6mm, text=white] at (\m,-\n) {\x}; } } % row labels \foreach \a [count=\i] in {a,b,c,d,e,f,g,h,i} { \node[minimum size=6mm] at (0,-\i) {\a}; } \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \draw (-2,0) node[left] {$\varphi_a$} -- (0,0) -- (1.5,1.5) node[above right] {$\varphi_b$} (0,0) -- (1.5,-1.5) node[below right] {$\varphi_c$}; \draw[->,yshift=5pt] (-1.7,0) -- (-0.7,0) node[midway,above] {$p_1$}; \draw[<-,yshift=5pt] (0.4,0.4) -- (1.2,1.2) node[midway,above left] {$p_2$}; \draw[<-,xshift=5pt] (0.4,-0.4) -- (1.2,-1.2) node[midway,above right] {$p_3$}; \draw[fill=white,postaction={pattern=north east lines}] (0,0) circle (0.25) node[right=5pt] {$\Gamma_{k,abc}^{(3)}(p_1,p_2,p_3)$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[ vertex/.style = {circle, draw, inner sep=1pt, fill=white}, vertex1/.style = {vertex, fill=red!30!white}, vertex2/.style = {vertex, fill=orange!30!white}, vertex3/.style = {vertex, fill=blue!30!white}, vertex4/.style = {vertex, fill=teal!30!white}, ] \draw[thick] (0,0) node[vertex1] (n1^1) {$n_1$} -- (0,2) node[vertex2] (n2^1) {$n_2$} -- (2,2) node[vertex3] (n3^1) {$n_3$} -- (2,0) node[vertex4] (n4^1) {$n_4$} -- cycle; \begin{scope}[xshift=4cm] \draw[thick] (0,0) node[vertex1] (n1^2) {$n_1$} -- (2,2) node[vertex2] (n2^2) {$n_2$} -- (0,2) node[vertex3] (n3^2) {$n_3$} -- (2,0) node[vertex4] (n4^2) {$n_4$} -- cycle; \end{scope} \begin{scope}[xshift=8cm] \draw[thick] (0,0) node[vertex1] (n1^3) {$n_1$} -- (2,2) node[vertex2] (n2^3) {$n_2$} -- (2,0) node[vertex4] (n3^3) {$n_3$} -- (0,2) node[vertex3] (n4^3) {$n_4$} -- cycle; \end{scope} \begin{scope}[xshift=12.5cm] \draw[thick] (-0.5,0) node[vertex1] (n1^4) {$n_1$} -- (0.25,2.2) node[vertex2] (n2^4) {$n_2$} -- (2,1.6) node[vertex3] (n3^4) {$n_3$} -- (-0.7,1.4) node[vertex4] (n4^4) {$n_4$} -- cycle; \end{scope} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \def\circRad{4em} \begin{document} \begin{tikzpicture}[ line cap=round, thick, stage/.style={shape=circle, draw, font=\bfseries, minimum width=2*\circRad}, challenge/.style={draw, very thin, inner sep=2, rounded corners=2}, every node/.style={align=center}, ] \begin{scope}[local bounding box=challenges] % Data \node [stage, fill=orange!40] (data) {Data\\Challenges}; \foreach \itm [count=\i, evaluate={\a=\i*15+120;}] in {volume, velocity, variety, veracity, visualization, long-term storage, standardization} { \node[challenge] at (\a:\circRad + 2mm) [rotate=\a+180, anchor=east] {\itm}; \draw (\a:\circRad + 2mm) -- (\a:\circRad); } % Descriptor \begin{scope}[xshift=6cm] \node [stage, fill=yellow!40] (descriptor) {Descriptor\\Challenges}; \foreach \itm [count=\i, evaluate={\a=\i*15+140;}] in {symmetry invariance, translation, rotation, permutation} { \node[challenge] at (\a:\circRad + 2mm) [rotate=\a+180, anchor=east] {\itm}; \draw (\a:\circRad + 2mm) -- (\a:\circRad); } \foreach \itm [count=\i, evaluate={\a=30-\i*15;}] in {efficiency, speed, compactness} { \node[challenge] at (\a:\circRad + 2mm) [rotate=\a, anchor=west] {\itm}; \draw (\a:\circRad + 2mm) -- (\a:\circRad); } \end{scope} % Model \begin{scope}[xshift=12cm] \node [stage, fill=blue!20] (model) {Model\\Challenges}; \foreach \itm [count=\i, evaluate={\a=70-\i*16;}] in {reproducibility, benchmarking, transfer learning, extrapolation, {sharing model+results}, computational cost, incorporate physics} { \node[challenge] at (\a:\circRad + 2mm) [rotate=\a, anchor=west] {\itm}; \draw (\a:\circRad + 2mm) -- (\a:\circRad); } \end{scope} \end{scope} \draw[ultra thick,->] (data.-70) to [bend right] (descriptor.-110); \draw[ultra thick,->] (descriptor.70) to [bend left] (model.110); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{mindmap} \begin{document} \begin{tikzpicture}[align=center] \node (enthalpy) at (2, 0) [concept, concept color=orange] {Enthalpy $H$}; \node (free-energy) at (-2, 0) [concept, concept color=teal] {Free\\Energy $G$}; \node (entropy) at (0, -3) [concept, concept color=blue!60!black, text=white] {Entropy $S$}; \path (enthalpy) to[circle connection bar switch color=from (orange) to (teal)] node[above=1ex, font=\small] {reactivity} (free-energy); \path (entropy) to[circle connection bar switch color=from (blue!60!black) to (orange)] node[right=1ex, font=\small] {heat} (enthalpy); \path (free-energy) to[circle connection bar switch color=from (teal) to (blue!60!black)] node[below left=0, font=\small] {disorder} (entropy); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[thick] % Dot grid \def\xrange{3} \def\yrange{3} \def\ratio{3/4} \foreach \x in {-\xrange,...,\xrange} {\foreach \y in {-\yrange,...,\yrange} {\fill (\x,\ratio*\y) circle[radius=2pt];}} % Axes \draw[->] (-\xrange-1/2,0) -- (\xrange+1/2,0) node[above left] {$k_x$}; \draw[->] (0,-\ratio*\yrange-1/2) -- (0,\ratio*\yrange+1/2) node[below right] {$k_y$}; % Lattice spacing \draw[<->,shorten >=3,shorten <=3] (\xrange-1,-\ratio*\yrange) -- (\xrange,-\ratio*\yrange) node[midway,below] {$\frac{2 \pi}{L_x}$}; \draw[<->,shorten >=3,shorten <=3] (\xrange,-\ratio*\yrange) -- (\xrange,-\ratio*\yrange+\ratio) node[midway,right] {$\frac{2 \pi}{L_y}$}; % Circle \draw[blue,fill=blue,fill opacity=0.1] (0,0) circle (2/3*\yrange); \node[blue] at (130:2.4) {$N(k)$}; \end{tikzpicture} \end{document}
\documentclass[tikz, svgnames]{standalone} \usetikzlibrary{mindmap} \begin{document} \begin{tikzpicture}[ mindmap, every node/.style=concept, concept color=orange, text=white, level 1/.append style={level distance=5cm, sibling angle=60, font=\large}, level 2/.append style={level distance=3cm, sibling angle=45} ] \node{\textbf{\huge{Physics}}} [clockwise from=0] child [concept color=Gold, text=black] { node {Classical\\Mechanics} [clockwise from=60] child { node {Lagrangian \& Hamiltonian}} child { node {Chaos Theory}} child { node {Gases \& Fluids}} child { node {Electro\-dynamics}} } child [concept color=DarkBlue] { node {Quantum Mechanics} [counterclockwise from=250] child { node {Atomic Physics}} child { node {Molecular Physics}} child { node {Chemistry}} } child [concept color=teal] { node {Relativity} [clockwise from=270] child { node {Special}} child { node {General}} } child [concept color=red] { node {Statistical Mechanics} [counterclockwise from=140] child { node {Thermo\-dynamics}} child { node {Kinetic Gas Theory}} child { node {Condensed Matter}} } child [concept color=purple] { node {High-Energy} [counterclockwise from=80] child { node {Quantum Field Theory}} child { node {Particle Physics}} child { node {Nuclear Physics}} } child [concept color=DarkGreen] { node {Cosmology} [counterclockwise from=40] child { node {Astronomy}} child { node {Early Universe}} }; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \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} \draw (-2.25,0) node[left] {$\varphi_a$} -- (2.25,0) node[right] {$\varphi_b$}; \draw[->,yshift=5pt] (-2,0) -- (-1,0) node[midway,above] {$p_1$}; \draw[->,yshift=5pt] (1,0) -- (2,0) node[midway,above] {$p_2$}; \draw[fill=white,cross] (0,0) circle (0.2) node[above=5pt] {$\partial_t R_{k,ab}(p_1,p_2)$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture}[thick, align=center] \fill[blue!20] (0,0) rectangle (4.5,4); \fill[orange!20] (4.5,0) rectangle (8,4); \node at (2.5,1) {limited by\\desorption\\of product}; \node at (6,1) {limited by\\activation\\of reactant}; \node[ellipse, fill=teal!50, inner sep=2pt] at (4.5,4.2) {Sabatier\\optimum}; \draw[->] (-1,0) -- (8,0) node[below, pos=0.17] {weak} node[below, pos=0.55, font=\bfseries] {bond strength} node[below, pos=0.92] {strong}; \draw[->] (0,-1) -- (0,5) node[below right, font=\bfseries] {reaction rate}; \draw[rounded corners=5ex, very thick] (0,1) -- (4.5,4) -- (8,1); \end{tikzpicture} \end{document}
\documentclass[tikz,border={0 3}]{standalone} \usetikzlibrary{patterns,decorations.markings} \def\lrad{1} \def\mrad{0.175*\lrad} \def\srad{0.15*\lrad} \begin{document} \begin{tikzpicture}[ pin edge={shorten <=5*\lrad}, cross/.style={fill=white,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);}}, dressed/.style={fill=white,postaction={pattern=north east lines}}, momentum/.style 2 args={->,semithick,yshift=5pt,shorten >=5pt,shorten <=5pt}, loop/.style 2 args={thick,decoration={markings,mark=at position {#1} with {\arrow{>},\node[anchor=\pgfdecoratedangle-90,font=\footnotesize,] {$p_{#2}$};}},postaction={decorate}} ] \draw[loop/.list={{0.25}{1},{0.75}{2}}] (0,0) circle (\lrad); \draw[cross] (-\lrad,0) circle (\srad) node[left=2pt] {$\partial_k R_{k,ij}(p_1,p_2)$}; \draw[dressed] (\lrad,0) circle (\mrad) node[right=2pt] {$\bigl[\Gamma_k^{(2)} + R_k\bigr]_{ji}^{-1}(p_2,p_1)$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \def\range{9} \def\xyRatio{2/3} \def\circSize{1mm} \begin{document} \begin{tikzpicture}[->, very thick, align=center, scale=1.25] \draw (0,-0.5) -- (0,\range*\xyRatio) node[below right] {accuracy}; \draw (-0.5,0) -- (\range,0) node[above] {computational\\complexity}; \foreach \n in {1,...,8} \node[below] at (\n,0) {$N^\n$}; \draw[dashed, gray, shorten <=5] (0,0) -- (\range,\range*\xyRatio); \foreach \n/\name/\abbr in {2/semi-empirical/SE, 4/Hartree-Fock/HF, 5/Moller-Plesset 2nd order (MP2)/MP2, 6/Configuration Interaction (CISD)/CISD, 7/Coupled Cluster (CCSD(T))/CCSD(T)} \fill[blue!60!black] (\n,\xyRatio*\n) circle (\circSize) node[right=1ex, black] (\abbr) {\name}; \draw[red, thick] (HF) -- (SE); \fill[blue!60!black] (3,5*\xyRatio) circle (\circSize) node[left=1ex, black] {DFT}; \fill[blue!60!black] (4.5,6.5*\xyRatio) circle (\circSize) node[left=1ex, black] {Deep QMC}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture}[thick, font=\large, white, draw=white] \draw[fill=orange] (0,0) rectangle (2,4) node[midway] (pEH) {$p(E|H)$}; \draw[fill=teal] (0,4) rectangle (2,8) node[midway] (pH) {$p(\neg E|H)$}; \draw[fill=blue!30!black] (2,0) rectangle (8,2) node[midway] (pH) {$p(E|\neg H)$}; \draw[fill=gray!50!black] (2,2) rectangle (8,8) node[midway] (pH) {$p(\neg E|\neg H)$}; \draw[black, decorate, decoration={brace, amplitude=1ex, raise=3pt}] (0.05,8) -- (1.95,8) node[midway, above=1ex] {$p(H)$}; \draw[black, decorate, decoration={brace, amplitude=1ex, raise=3pt}] (2.05,8) -- (7.95,8) node[midway, above=1ex] {$p(\neg H)$}; \draw[fill=blue!50!black] (9,0) rectangle (11,3) node[midway] (pH) {$p(H|E)$}; \draw[fill=gray!9!black] (9,3) rectangle (11,8) node[midway] (pH) {$p(\neg H|E)$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{amssymb} \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture}[thick] % Axes \def\x{5}\def\y{3} \draw[->] (-\x-0.5,0) -- (\x+0.5,0) node[right] {$q_1$}; \draw[->] (0,-\y-0.5) -- (0,\y+0.5) node[above] {$q_2$}; % Ellipse \draw[blue,fill=blue,fill opacity=0.05] (0,0) circle [x radius=\x, y radius=\y]; \coordinate[pin={[pin distance=25,scale=0.8]85:$\sqrt{2E/m}$}] (r1) at (\x,0); \coordinate[pin={[pin distance=25,scale=0.8]30:$\sqrt{2E/k}$}] (r2) at (0,\y); \node[blue] at (10:\x-0.6) {$P$}; % Rectangle \draw[orange,fill=orange,fill opacity=0.1] (220:\x+0 and \y+0) rectangle (40:\x+0 and \y+0); \node[orange] at (-\x/4,\y/2) {$R$ for $\omega \notin \mathbb{Q}$}; % Trajectory \draw[red] plot [smooth cycle] coordinates {(140:\x-0.1 and \y-0.1) (280:1.8) (40:\x-0.1 and \y-0.1) (260:1.8)} node[shift={(2.5,0.5)},align=center] {$R$ for \\$\omega = 2 \in \mathbb{Q}$}; \end{tikzpicture} \end{document}
\documentclass[tikz, border=5pt]{standalone} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture}[font=\sffamily] \node[above=1ex] at (2,3.5) {\large $n$-channel MOSFET}; \draw[fill = teal] (0,0) rectangle (11,-0.25) node[below=1ex, midway] {circuit board}; \draw[fill=orange!50] (0,0) rectangle (11,2) node [below,midway] {$p$-doped semiconductor}; \draw[pattern=bricks, pattern color=red] (4-0.2,2) rectangle (7+0.2,3) node[midway, fill=white, inner sep=2pt, draw, ultra thin, rounded corners=1] {dielectric}; \draw[fill=blue!10] (4,3) rectangle (7,3.5) node[above=6pt, midway] {gate}; \draw[fill=blue!10] (1.25,2) rectangle (3,2.5) node[above=6pt, midway] {source}; \draw[fill=blue!10] (8,2) rectangle (9.75,2.5) node[above=6pt, midway] {drain}; \foreach \x in {1,7} { \filldraw[fill=green!35] (\x,1) rectangle +(3,1) node[midway, align=center] {$n$-doped\\semiconductor}; } \end{tikzpicture} \end{document}
\documentclass[tikz,svgnames]{standalone} \begin{document} \begin{tikzpicture} \node (so32) [align=center] at (-5,-1) {heterotic\\$SO(32)$}; \node (e8e8) [align=center] at (-3,4) {heterotic\\$E(8) \times E(8)$}; \node (tiia) [align=center] at (4,3) {Type II A}; \node (tiib) [align=center] at (5,-2) {Type II B}; \node (ti) [align=center] at (0,-5) {Type I}; \draw[bend left,<->] (so32) to node [below right,align=center] {compac-\\tification} (e8e8); \draw[bend left,<->] (e8e8) to node [below left] {M-theory} (tiia); \draw[bend left,<->] (tiia) to node [below left] {T-duality} (tiib); \draw[bend left,<->] (tiib) to node [above left,align=center] {orientifold\\action $\Omega$} (ti); \draw[bend left,<->] (ti) to node [above right] {S-duality} (so32); \begin{scope} \clip[bend right] (so32.east) to (e8e8.south) to (tiia.south) to (tiib.west) to (ti.north) to (so32.east); \foreach \c in {so32.east,e8e8.south,tiia.south,tiib.west,ti.north,so32.east}{% \foreach \r in {1,...,6}{% \draw[DarkBlue] (\c) circle (\r*0.15cm); } } \end{scope} \draw[bend right,very thick,gray,fill,fill opacity=0.3] (so32.east) to (e8e8.south) to (tiia.south) to (tiib.west) to (ti.north) to (so32.east); \node (mth) [align=center] at (0,0) {parameter space of\\[2ex]{\Large \textbf{M-Theory}}}; \end{tikzpicture} \end{document}
\documentclass[tikz, svgnames]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \def\xr{4} \def\yr{4} \begin{document} \begin{tikzpicture}[thick] % Axes \draw[->] (-\xr, 0) -- (\xr, 0) node [right] {$\Re(p_0)$}; \draw[->] (0, -\yr) -- (0, \yr) node[above] {$\Im(p_0)$}; % Squares \draw[xshift=4, yshift=4, scale=0.95, DarkRed, fill=DarkRed!10] (0, 0) rectangle (\xr, \yr) node[black, midway] {$s(p_0) = 1$}; \draw[xshift=-4, yshift=4, scale=0.95, DarkBlue, fill=DarkBlue!10] (0, 0) rectangle (-\xr, \yr) node[black, midway] {$s(p_0) = -1$}; \draw[xshift=-4, yshift=-4, scale=0.95, DarkRed, fill=DarkRed!10] (0, 0) rectangle (-\xr, -\yr) node[black, midway] {$s(p_0) = 1$}; \draw[xshift=4, yshift=-4, scale=0.95, DarkBlue, fill=DarkBlue!10] (0, 0) rectangle (\xr, -\yr) node[black, midway] {$s(p_0) = -1$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \pgfmathdeclarerandomlist{colors}{{red!80}{teal}{blue!80}{orange}{blue!20}} \begin{document} \begin{tikzpicture} \foreach \i in {1,...,12} { \foreach \j in {1,...,4} { \foreach \k in {1,...,4} { \pgfmathrandomitem{\randColor}{colors} \shade[ball color=\randColor] (-\i+0.3*\j, -0.2*\j+1.2*\k) circle(0.3); } \foreach \k in {1,...,3} { \pgfmathrandomitem{\randColor}{colors} \shade[ball color=\randColor] (-\i+0.5+0.3*\j, -0.2*\j+1.2*\k+0.6) circle(0.3); } } } \foreach \el/\color [count=\n] in {Al/red!80, Co/blue!80, Cr/teal, Fe/orange, Ni/blue!20} { \shade[ball color=\color] (2, 5.5-\n) circle(0.3) node[right=1em] {\el}; } \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{positioning, calc, decorations.pathreplacing} \begin{document} \begin{tikzpicture} \node[fill=orange!50] (l1) {layer 1}; \node[blue!50!black, right=of l1, label={below:activation}] (act1) {$a(\vec x)$}; \node[fill=teal!50, right=of act1] (l2) {layer 2}; \node[right=of l2, font=\Large, label={below:add}, inner sep=0, pin={60:$\mathcal F(\vec x) + \vec x$}] (add) {$\oplus$}; \node[blue!50!black, right=of add, label={below:activation}] (act2) {$a(\vec x)$}; \draw[->] (l1) -- (act1); \draw[->] (act1) -- (l2); \draw[<-] (l1) -- ++(-2,0) node[below, pos=0.8] {$\vec x$}; \draw[->] (l2) -- (act2) node[above, pos=0.8] {}; \draw[->] ($(l1)-(1.5,0)$) to[out=90, in=90] node[below=1ex, midway, align=center] {skip connection\\(identity)} node[above, midway] {$\vec x$} (add); \draw[decorate, decoration={brace, amplitude=1ex, raise=1cm}] (l2.east) -- node[midway, below=1.2cm] {$\mathcal F(\vec x)$} (l1.west); \end{tikzpicture} \end{document}
\documentclass[tikz, svgnames]{standalone} \usepackage{mathtools} \usetikzlibrary{decorations.markings} \def\V{10} \def\p{7} \tikzset{decoration={markings, mark=at position 0.5 with {\arrow{stealth}}}} \begin{document} \begin{tikzpicture}[thick] \draw[->] (0, 0) -- (0, \p) node[right] {$p$}; \draw[->] (0, 0) -- (\V, 0) node[right] {$V$}; \draw[dashed] (0, 0.9*\p) node[left] {$p_\text{max}$} -| (0.2*\V, 0) node[below] {$V_\text{min}$}; \draw[dashed] (0, 0.2*\p) node[left] {$p_\text{min}$} -| (0.9*\V, 0) node[below] {$V_\text{max}$}; \coordinate[label=above:1] (a) at (0.2*\V, 0.9*\p); \coordinate[label=right:2] (b) at (0.9*\V, 0.5*\p); \coordinate[label=right:3] (c) at (0.9*\V, 0.2*\p); \coordinate[label=left:4] (d) at (0.2*\V, 0.45*\p); \foreach \point in {a, b, c, d} \fill (\point) circle (3pt); \draw[ultra thick, DarkBlue] (a) edge[out=-40, in=180, looseness=0.7, postaction={decorate}] node[midway, above=2px] {$\Delta Q = 0$} (b) (b) -- (c) node[midway, right, blue] {$\Rightarrow Q_\text{out}$} (c) edge[out=180, in=-40, looseness=0.7, postaction={decorate}] node[midway, above=2px] {$\Delta Q = 0$} (d) (d) -- (a) node[midway, left, red] {$Q_\text{in} \Rightarrow$}; \end{tikzpicture} \end{document}
\documentclass[tikz,svgnames]{standalone} \begin{document} \begin{tikzpicture}[very thick,q0/.style={->,DarkBlue,semithick,yshift=5pt,shorten >=5pt,shorten <=5pt}] % Loop \def\radius{1.5} \draw (0,0) circle (\radius); \node[above] (1) at (0,\radius) {$m_1^2$, $\gamma_1^2$}; \node[below] (2) at (0,-\radius) {$m_2^2$, $\gamma_2^2$}; \draw[q0] (140:0.75*\radius) arc (140:40:0.75*\radius) node[midway,below] {$q_0$}; % External lines \filldraw (-2*\radius,0) -- (-\radius,0) circle (2pt) (\radius,0) circle (2pt) -- (2*\radius,0); \draw[q0] (-2*\radius,0) -- (-\radius,0) node[midway,above] {$q_0$}; \draw[q0] (\radius,0) -- (2*\radius,0) node[midway,above] {$q_0$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \usetikzlibrary{decorations.pathmorphing} \def\rerange{5} \def\imrange{4} \begin{document} \begin{tikzpicture}[thick] % Axes \draw[->] [decorate, decoration={zigzag, segment length=4, amplitude=1, post=lineto, post length=2}] (-\rerange, 0) -- (\rerange, 0) node[below left] {$\Re(\omega)$}; \draw[->] (0, -\imrange+1) -- (0, \imrange-1) node[below right] {$\Im(\omega)$}; \foreach \n in {-\imrange, ..., \imrange}{% \node[circle, fill, inner sep=0, minimum size=5] (omega\n) at (0, 2/3*\n) {};} \node[left=2, align=left] (mf) at (omega3) {Matsubara\\frequencies}; % Propagators \draw[red, dashed] (-\rerange, -1) -- (\rerange, -1) node[below, very near start] {advanced}; \draw[blue, dashed] (-\rerange, 1) -- (\rerange, 1) node[above, very near start] {retarded}; \draw[orange, dashed] (-\rerange, -1) -- (\rerange, 1) node[below right, very near end] {Feynman}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[ >=stealth, node distance=3cm, line width=3pt, white, element/.style={circle, draw, minimum width=4em}, ] % used in a readme to be background-free in GitHub's dark mode \definecolor{GitHubDarkMode}{RGB}{13, 17, 23} \fill[GitHubDarkMode] (0,-2.5) circle (4.5); \coordinate[element, fill=teal!80] (top); \coordinate[element, below left of=top, fill=orange!70] (mid1); \coordinate[element, below right of=top, fill=blue!60] (mid2); \coordinate[element, below of=mid2, fill=red!70] (bot1); \coordinate[element, below of=mid1, fill=purple!70] (bot2); \path[->] (top) edge[loop above] (top) (top) edge[bend left] (mid2) (mid1) edge[bend left] (top) (mid2) edge[bend right] (mid1) (mid1) edge[bend right] (mid2) (mid1) edge (bot2) (mid2) edge (bot1) (bot2) edge[bend right] (bot1) (bot1) edge[bend right] (bot2); \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel = $T$, smooth,thick, domain=0:1.1, ymax=2.8, axis lines = center, every tick/.style = {thick}, legend cell align=left, legend style={font=\tiny}] \def\Tc{1} \addplot[color=blue,samples=75]{sqrt(3)*(\Tc/x - 1)^(1/2)}; \addplot[color=red]{sqrt(3)*(x/\Tc)^(3/2)}; \addplot[color=orange,samples=75]{sqrt(3)*(x/\Tc)^(3/2)*(\Tc/x - 1)^(1/2)}; \legend{$\sqrt{3} \left(T_c/T - 1\right)^{1/2}$, $\sqrt{3} \left(T/T_c\right)^{3/2}$, $m_c(T)$} \end{axis} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[ very thick,font=\huge, col/.style={circle,draw=gray!90,fill=gray!30,minimum size=15}, incom/.style={<-,shorten <=2}, outgo/.style={->,shorten <=2} ] \node[scale=2] (eq) at (0,0) {=}; \coordinate[col] (col1) at eq++(-4,0); \coordinate[col] (col2) at eq++(4,0); \draw[outgo] (col1) -- ++(2,1) node[right] {$p^\prime$}; \draw[outgo] (col1) -- ++(2,-1) node[right] {$k^\prime$}; \draw[incom] (col1) -- ++(-2,1) node[left] {$p$}; \draw[incom] (col1) -- ++(-2,-1) node[left] {$k$}; \draw[outgo] (col2) -- ++(2,1) node[right] {$p$}; \draw[outgo] (col2) -- ++(2,-1) node[right] {$k$}; \draw[incom] (col2) -- ++(-2,1) node[left] {$p^\prime$}; \draw[incom] (col2) -- ++(-2,-1) node[left] {$k^\prime$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \usetikzlibrary{decorations.markings,decorations.pathmorphing} \def\xr{4} \def\yr{1} \begin{document} \begin{tikzpicture}[thick] % Axes: \draw [decorate,decoration={zigzag,segment length=4,amplitude=1,post=lineto,post length=15}] (-1.05*\xr,0) -- (0,0); \draw [->,decorate,decoration={zigzag,segment length=4,amplitude=1,pre=lineto,pre length=15,post=lineto,post length=3}] (0,0) -- (1.05*\xr,0) node [right] {$\Re(p_0)$}; \draw [->] (0,-\yr) -- (0,\yr) node [below right] {$\Im(p_0)$}; % Left contour line \draw[xshift=5,blue!60!black,decoration={markings,mark=between positions 0.125 and 0.875 step 0.25 with \arrow{>}},postaction={decorate}] (\xr,-\yr/4) -- (\yr/4,-\yr/4) arc (-90:-270:\yr/4) (\yr/4,\yr/4) -- (\xr,\yr/4) node[above left] {$C_b$}; % Right contour line \draw[xshift=-5,blue!60!black,decoration={markings,mark=between positions 0.125 and 0.875 step 0.25 with \arrow{>}},postaction={decorate}] (-\xr,\yr/4) -- (-\yr/4,\yr/4) arc (90:-90:\yr/4) (-\yr/4,-\yr/4) -- (-\xr,-\yr/4); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{angles, quotes} \begin{document} \begin{tikzpicture} % Define radius \def\r{3} % Bloch vector \draw (0, 0) node[circle, fill, inner sep=1] (orig) {} -- (\r/3, \r/2) node[circle, fill, inner sep=0.7, label=above:$\vec{a}$] (a) {}; \draw[dashed] (orig) -- (\r/3, -\r/5) node (phi) {} -- (a); % Sphere \draw (orig) circle (\r); \draw[dashed] (orig) ellipse (\r{} and \r/3); % Axes \draw[->] (orig) -- ++(-\r/5, -\r/3) node[below] (x1) {$x_1$}; \draw[->] (orig) -- ++(\r, 0) node[right] (x2) {$x_2$}; \draw[->] (orig) -- ++(0, \r) node[above] (x3) {$x_3$}; % Angles \pic [draw=gray, text=gray, ->, "$\phi$"] {angle = x1--orig--phi}; \pic [draw=gray, text=gray, <-, "$\theta$", angle eccentricity=1.4] {angle = a--orig--x3}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{patterns} \def\radius{1} \begin{document} \begin{tikzpicture} % Left diagram \draw[thick] (0,0) circle (\radius); \draw (-2*\radius,0) -- (-\radius,0) (\radius,0) -- (2*\radius,0); \draw[fill=white,postaction={pattern=north east lines}] (\radius,0) circle (0.25*\radius) node[above right] {$\Gamma_k^{(3)}$} (-\radius,0) circle (0.25*\radius) node[above left] {$\Gamma_k^{(3)}$}; \node at (3*\radius,0) {$-$}; % Right diagram \begin{scope}[xshift=160] \draw[thick] (0,0) circle (\radius); \draw (-2*\radius,-\radius) -- (2*\radius,-\radius); \draw[fill=white,postaction={pattern=north east lines}] (0,-\radius) circle (0.25*\radius) node[above=5pt] {$\Gamma_k^{(4)}$}; \end{scope} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \usetikzlibrary{decorations.markings,positioning} \providecommand{\poles}{ \node (poles) at (2.75,1.5) {poles of $h(p_0)$}; \draw[fill] (1.5,3) coordinate [circle,fill,inner sep=1pt,label=right:$p_1$] (p1) (2,-2) coordinate [circle,fill,inner sep=1pt,label=below:$p_2$] (p2) (-3,1) coordinate [circle,fill,inner sep=1pt,label=above:$p_3$] (p3) (-2,-1.5) coordinate [circle,fill,inner sep=1pt,label=above:$p_4$] (p4); \draw[ultra thin,gray] (poles) -- (p1) (poles) -- (p2) (poles.west) -- (p3) (poles) -- (p4); } \def\xr{3} \def\yr{3} \begin{document} \begin{tikzpicture}[thick] % Axes \draw [->] (-\xr-1,0) -- (\xr+1,0) node [above left] {$\Re(p_0)$}; \draw [->] (0,-\yr-0.7) -- (0,\yr+0.7) coordinate [below left = 0.3 and 0.1] (y-axis); \node (y-label) at ([xshift=-50]y-axis) {$\Im(p_0)$}; \draw[ultra thin,gray] (y-axis) -- (y-label); % Matsubara frequencies \foreach \n in {-\yr,...,-1,1,2,...,\yr}{% \draw[fill] (0,\n) circle (1pt) node [right,font=\scriptsize] {$i \mkern1mu \omega_{_{\n}}$};} \draw[fill] (0,0) circle (1pt) node [above right] {0}; % Contour line \draw[blue!60!black,decoration={markings,mark=between positions 0 and 1 step 0.28 with \arrow{>}},postaction={decorate}] (1,-\yr) -- (1,\yr) node [below right] {$C$} arc (0:180:1) (-1,\yr) -- (-1,-\yr) arc (180:360:1); % Poles of h(p_0) \poles \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \usetikzlibrary{decorations.pathmorphing} \def\xr{5} \def\yr{1} \begin{document} \begin{tikzpicture}[thick] % Labels \fill(-\xr/2, 0) circle (2pt) node[above] (l_branch) {$-\sqrt{\vec{p}^2}$} (\xr/2, 0) circle (2pt) node[above] (r_branch) {$\sqrt{\vec{p}^2}$}; % Axes \draw[->, decorate, decoration={zigzag, segment length=6, amplitude=2}, blue!60!black] (-\xr-0.4, 0) -- (l_branch.south) (r_branch.south) -- (\xr, 0) node [above left, black] {$\Re(p_0)$}; \draw(l_branch.south) -- (r_branch.south); \draw[->] (0, -\yr) -- (0, \yr) node[below left=0.1] {$\Im(p_0)$}; \end{tikzpicture} \end{document}
\documentclass[tikz,border={0 1}]{standalone} \usetikzlibrary{patterns,decorations.markings,backgrounds} \begin{document} \begin{tikzpicture}[thick] % Axes \def\xmin{-0.1}\def\xmax{6} \def\ymin{-0.7}\def\ymax{4} \draw[->] (\xmin,0) -- (\xmax+0.2,0) node[right] {$x$}; \draw[->] (0,\ymin) -- (0,\ymax) node[above] {$U(x)$}; % Potential \def\wall{0.5} \def\U{-\A*e^(-\a*\x) + \B*e^(-2*\a*\x)} \def\A{10}\def\B{25}\def\a{1} \draw[domain=\wall:\xmax,smooth,samples=100,blue] plot ({\x},{\U}) node [below left] {$\frac{1}{\alpha} \approx \ell$}; \def\A{15}\def\B{120}\def\a{3} \draw[domain=\wall:\xmax,smooth,samples=100,orange] plot ({\x},{\U}) node [above left] {$\frac{1}{\alpha} \ll \ell$}; % Wall \draw[pattern=north east lines] (0,0) rectangle (\wall,\ymax-0.2); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \draw[dashed] (2.6,0) arc (-90:90:-0.5 and 1.5);% line 1 \draw[dashed] (1.4,0) arc (-90:90:-0.5 and 1.5);% line 2 \draw[->] (-0.5,0) arc (-90:90:-0.5 and 1.5); \draw (0,0) -- (4,0);% bottom line \draw (0,3) -- (4,3);% top line \draw (0,0) arc (270:90:0.5 and 1.5);% left half of the left ellipse \draw (4,1.5) ellipse (0.5 and 1.5);% right ellipse \draw (0.6,1.5) node {$\tau_1$}; \draw (1.8,1.5) node {$\tau_2$}; \draw (-1.25,1.5) node {$\sigma$}; \draw[->] (0.5,-0.5) -- (3.5,-0.5); \draw (2,-1) node {$\tau$}; \draw[->,thick] (5.0,1.5) -- (6,1.5); \draw[dashed] (9,1.5) circle (0.8); \draw[dashed] (9,1.5) circle (1.8); \draw [->,domain=0:90] plot ({9 - 2.2*cos(\x)},{1.5-2.2*sin(\x)}); \draw (6.9,0.2) node {$\sigma$}; \draw (9.6,2.4) node {$\tau_1$}; \draw (10.4,3) node {$\tau_2$}; \node at (9,1.5) [circle,inner sep=1pt,fill=black] {}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[thick] % Axes \def\x{5}\def\y{3} \draw[->] (-\x-0.5,0) -- (\x+0.5,0) node[right] {$q_1$}; \draw[->] (0,-\y-0.5) -- (0,\y+0.5) node[above] {$q_2$}; % Ellipse \draw[blue,fill=blue,fill opacity=0.05] (0,0) circle [x radius=\x, y radius=\y]; \coordinate[pin={[pin distance=25,scale=0.8]85:$\sqrt{2E/m}$}] (r1) at (\x,0); \coordinate[pin={[pin distance=25,scale=0.8]30:$\sqrt{2E/k}$}] (r2) at (0,\y); \node[blue] at (10:\x-1) {$P$}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \usetikzlibrary{decorations.markings,positioning} \providecommand{\poles}{ \node (poles) at (2.5,1.5) {poles of $h(p_0)$}; \draw[fill] (1.5,3) coordinate [circle,fill,inner sep=1pt,label=right:$p_1$] (p1) (2,-2) coordinate [circle,fill,inner sep=1pt,label=below:$p_2$] (p2) (-3,1) coordinate [circle,fill,inner sep=1pt,label=above:$p_3$] (p3) (-2,-1.5) coordinate [circle,fill,inner sep=1pt,label=above:$p_4$] (p4); \draw[ultra thin,gray] (poles) -- (p1) (poles) -- (p2) (poles.west) -- (p3) (poles) -- (p4); } \def\xr{3.5} \def\yr{3} \begin{document} \begin{tikzpicture}[thick] % Axes \draw[->] (-\xr-0.4,0) -- (\xr+0.4,0) node [above left] {$\Re(p_0)$}; \draw[->] (0,-\yr-0.7) -- (0,\yr+0.7) node[below left=0.1] {$\Im(p_0)$}; % Matsubara frequencies \foreach \n in {-\yr,...,-1,1,2,...,\yr}{% \draw[fill] (0,\n) circle (1pt) node [right=0.1,font=\footnotesize] {$i \mkern2mu \omega_{_{\n}}$};} \draw[fill] (0,0) circle (1pt) node [above right=0.1] {0}; % Right contour line \draw[xshift=5,blue!60!black,decoration={markings,mark=between positions 0.1 and 1 step 0.25 with \arrow{>}},postaction={decorate}] (0,-\yr-0.75) node [above right] {$C_1$} -- (0,\yr+0.75) arc (90:-90:\yr+0.75); % Left contour line \draw[xshift=-5,blue!60!black,decoration={markings,mark=between positions 0.1 and 1 step 0.25 with \arrow{>}},postaction={decorate}] (0,\yr+0.75) -- (0,-\yr-0.75) node [above left] {$C_2$} arc (270:90:\yr+0.75); % Poles \poles \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{patterns,decorations.markings} \tikzset{ cross/.style={fill=white,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);}}, dressed/.style={fill=white,postaction={pattern=north east lines}}, momentum/.style={->,semithick,yshift=5pt,shorten >=5pt,shorten <=5pt}, loop/.style 2 args={thick,decoration={markings,mark=at position {#1} with {\arrow{>},\node[anchor=\pgfdecoratedangle-90,font=\footnotesize] {$p_{#2}$};}},postaction={decorate}}, label/.style={thin,gray,shorten <=-1.5ex} } \def\lrad{1} \def\mrad{0.175*\lrad} \def\srad{0.15*\lrad} \begin{document} \begin{tikzpicture}[pin edge={shorten <=5*\lrad}] % Loop \draw[loop/.list={{0.125}{2},{0.125*3}{3},{0.125*5}{4},{0.125*7}{1}}] (0,0) circle (\lrad); \draw[cross] (\lrad,0) circle (\srad) node[right=6pt] {$\partial_k R_{k,ij}(p_1,p_2)$}; \draw[dressed] (0,\lrad) circle (\srad) node[above=3pt] {$G_{k,jk}(p_2,p_3)$}; \draw[dressed] (0,-\lrad) circle (\srad) node[below=3pt] {$G_{k,li}(p_4,p_1)$}; % External line \draw (-2*\lrad,0) -- (-\lrad,0) node[pos=0.4,below] {$\varphi_a$}; \draw[momentum] (-2*\lrad,0) -- (-1.25*\lrad,0) node[midway,above] {$q$}; % Vertex \node (Gkakl) at (-2*\lrad,\lrad) {$\Gamma_{k,akl}^{(3)}(q,p_3,-p_4)$}; \draw[label] (Gkakl.-30) -- (-\lrad,0); \draw[dressed] (-\lrad,0) circle (\mrad); \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel = $\beta (\epsilon - \mu)$, ylabel = $\langle n\rangle$, ymin = 0,ymax = 1.8, smooth,thick, axis lines = center, every tick/.style = {thick}, legend cell align=left, legend style={legend pos=north east,font=\tiny}, width=10cm,height=5cm] \def\xmax{7} \addplot[color=blue,domain=0:\xmax]{1/(e^x - 1)}; \addplot[color=orange,domain=-1:\xmax]{1/e^x}; \addplot[color=red,domain = -\xmax:\xmax]{1/(e^x + 1)}; \legend{Bose-Einstein,Boltzmann,Fermi-Dirac} \end{axis} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{tikz-feynman} \begin{document} $\displaystyle\partial_t \frac{\partial^2 V}{\partial^2 \chi} = \raisebox{0.5ex}{\feynmandiagram [inline=(a.base)] { a [dot] -- [charged boson, quarter left, edge label=$q$] b -- [photon, quarter left] c [dot] -- [charged boson, quarter left, edge label=$q$] d [crossed dot] -- [charged boson, quarter left, edge label=$q$] a, f1 -- c, i1 -- a, };} \enskip+\enskip \raisebox{0.5ex}{\feynmandiagram [inline=(a.base)] { {i1, i2} -- a [dot] -- [charged boson, half left, edge label=$q$] b [crossed dot] -- [charged boson, half left, edge label=$q$] a, };}$ \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \usetikzlibrary{calc,positioning} \begin{document} \begin{tikzpicture}[ ->, thick, node/.style={circle, fill=teal!60}, label/.style={below, font=\footnotesize}, ] \node[node] (zin) {$\vec z_\text{in}$}; \node[node, right=5em of zin] (fake) {$\vec x_\text{fake}$}; \draw (zin) -- node[above] {$G(\vec x)$} node[label] {generator} (fake); \draw[<-] (zin) -- node[above] {$p_\theta(\vec z)$} node[label] {latent noise} ++(-3,0); \node[node, above=of fake] (real) {$\vec x_\text{real}$}; \draw[<-] (real) -- node[above] {$p_\text{data}(\vec x)$} ++(-3,0); \node[node, right=6em of fake] (D) at ($(fake)!0.5!(real)$) {$\vec x$}; \node[right=7em of D] (out) {real?}; \draw (D) -- node[above] {$D(\vec x)$} node[label] {discriminator} (out); \coordinate[right=2.5em of fake, circle, fill, inner sep=0.15em] (pt1); \coordinate[right=2.5em of real, circle, fill, inner sep=0.15em] (pt2); \draw[-, dashed] (pt1) edge[bend left] coordinate[circle, fill=orange, inner sep=1mm, pos=0.7] (pt3) (pt2); \draw (fake) -- (pt1) (real) -- (pt2) (pt3) -- (D); \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture}[ declare function={ % arcsinh arcsinh(\x) = ln(\x + sqrt(\x^2+1)); % magnetization m(\x) = and(\x>=0,\x<1) * (1 - (sinh(arcsinh(1)/x))^(-4))^(1/8) + or(\x<0,\x>=1) * (0); }] \begin{axis}[ xlabel = {$T/T_c$}, ylabel = {$m(0,T)$}, smooth,thick, domain=0:1.8, ymax=1.6, axis lines = center, every tick/.style = {thick}] \addplot[color=blue,very thick,samples=300]{m(x)}; \addplot[color=black,dashed,domain=0:1]{x}; \end{axis} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \def\rA{3cm} \def\rB{1.1 * \rA} \def\s{1mm} \begin{document} \begin{tikzpicture}[ thick, every path/.style={rounded corners=0.1}, direction/.style={->,shorten >=2mm,shorten <=2mm}, ] \begin{scope}[shift={(\s,\s)}] \draw [fill=orange!20] (0:\rA) arc(0:90:\rA) |- cycle; \draw [fill=orange!40] (0:\rA) arc(0:60:\rA) -- (0,0) -- cycle; \node at (25:0.6*\rA) {Veracity}; \draw[direction] (0:\rB) arc(0:90:\rB) node[pos=0.05, above right] {high variance} node[pos=0.95, above right] {reference data}; \end{scope} \begin{scope}[shift={(-\s,\s)}] \draw [fill=blue!20] (90:\rA) arc(90:180:\rA) -| cycle; \draw [fill=blue!40] (90:\rA) arc(90:100:\rA) -- (0,0) -- cycle; \node at (150:0.6*\rA) {Volume}; \draw[direction] (90:\rB) arc(90:180:\rB) node[pos=0.05, above left] {kilobytes} node[pos=0.95, above left] {terabytes}; \end{scope} \begin{scope}[shift={(-\s,-\s)}] \draw [fill=green!20] (180:\rA) arc(180:270:\rA) |- cycle; \draw [fill=green!40] (180:\rA) arc(180:190:\rA) -- (0,0) -- cycle; \node at (230:0.6*\rA) {Velocity}; \draw[direction] (180:\rB) arc(-180:-90:\rB) node[pos=0.05, below left] {static} node[pos=0.95, below left] {dynamic}; \end{scope} \begin{scope}[shift={(\s,-\s)}] \draw [fill=yellow!20] (270:\rA) arc(270:360:\rA) -| cycle; \draw [fill=yellow!40] (270:\rA) arc(270:290:\rA) -- (0,0) -- cycle; \node at (330:0.6*\rA) {Variety}; \draw[direction] (270:\rB) arc(-90:0:\rB) node[pos=0.05, below right] {clustered} node[pos=0.95, below right] {heterogeneous}; \end{scope} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{forest} \tikzset{ font=\normalsize, tree node/.style = {align=center, inner sep=0pt, draw, circle, minimum size=18}, tree node label/.style={font=\scriptsize}, } \forestset{ declare toks={left branch prefix}{}, declare toks={right branch prefix}{}, declare toks={left branch suffix}{}, declare toks={right branch suffix}{}, maths branch labels/.style={ branch label/.style={ if n=1{ edge label={node [left, midway] {$\forestoption{left branch prefix}##1\forestoption{left branch suffix}$}}, }{ edge label={node [right, midway] {$\forestoption{right branch prefix}##1\forestoption{right branch suffix}$}}, } }, }, set branch labels/.style n args=4{% left branch prefix={#1}, left branch suffix={#2}, right branch prefix={#3}, right branch suffix={#4}, }, branch and bound/.style={ /tikz/every label/.append style=tree node label, maths branch labels, for tree={ tree node, math content, s sep'+=20mm, l sep'+=5mm, thick, edge+={thick}, }, before typesetting nodes={ for tree={ split option={content}{:}{content,branch label}, }, }, }, } \begin{document} \begin{forest} branch and bound, where level=1{ set branch labels={x_1\leq}{}{x_1\geq}{}, }{if level=2{set branch labels={x_2\leq}{}{x_2\geq}{}}{set branch labels={x_3\leq}{}{x_3\geq}{}}} [P_0[P_1:0][P_2:1[P_3:0[P_5:0][P_6:1]][P_4:1]]] \end{forest} \end{document}
\documentclass[tikz]{standalone} \usepackage{neuralnetwork} \newcommand{\xin}[2]{$x_#2$} \newcommand{\xout}[2]{$\hat x_#2$} \begin{document} \begin{neuralnetwork}[height=8] \tikzstyle{input neuron}=[neuron, fill=orange!70]; \tikzstyle{output neuron}=[neuron, fill=blue!60!black, text=white]; \inputlayer[count=8, bias=false, title=Input Layer, text=\xin] \hiddenlayer[count=5, bias=false] \linklayers \hiddenlayer[count=3, bias=false, title=Latent\\Representation] \linklayers \hiddenlayer[count=5, bias=false] \linklayers \outputlayer[count=8, title=Output Layer, text=\xout] \linklayers \end{neuralnetwork} \end{document}
\documentclass[tikz]{standalone} \usetikzlibrary{patterns} \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); } } } \def\unit{0.7} \begin{document} % Diagram 1 \begin{tikzpicture} \draw[thick] (0,0) circle (\unit); \draw (-2*\unit,0) -- (-\unit,0) (\unit,0) -- (2*\unit,0); \draw[fill=white,cross] (0,\unit) circle (0.15*\unit) node[below=2*\unit] {$\partial_k R_k$}; \draw[fill=white,postaction={pattern=north east lines}] (\unit,0) circle (0.2*\unit) node[above right] {$\Gamma_k^{(3)}$} (-\unit,0) circle (0.2*\unit) node[above left] {$\Gamma_k^{(3)}$}; \end{tikzpicture} % Diagram 2 \begin{tikzpicture} \draw[thick] (0,0) circle (\unit); \draw (-2*\unit,0) -- (-\unit,0) (\unit,0) -- (2*\unit,0); \draw[fill=white,cross] (0,-\unit) circle (0.15*\unit) node[above=2*\unit] {$\partial_k R_k$}; \draw[fill=white,postaction={pattern=north east lines}] (\unit,0) circle (0.2*\unit) node[above right] {$\Gamma_k^{(3)}$} (-\unit,0) circle (0.2*\unit) node[above left] {$\Gamma_k^{(3)}$}; \end{tikzpicture} % Diagram 3 \begin{tikzpicture} \draw[thick] (0,0) circle (\unit); \draw (-2*\unit,-\unit) -- (2*\unit,-\unit); \draw[fill=white,cross] (0,\unit) circle (0.15*\unit) node[below=2*\unit] {$\partial_k R_k$}; \draw[fill=white,postaction={pattern=north east lines}] (0,-\unit) circle (0.2*\unit) node[above=3*\unit] {$\Gamma_k^{(4)}$}; \end{tikzpicture} \end{document}
\documentclass[svgnames,tikz]{standalone} \usetikzlibrary{decorations.pathmorphing,decorations.pathreplacing} \begin{document} \begin{tikzpicture}[thick] \def\xrange{6} \def\yrange{4} % Axes \draw (-1,0) -- (2,0); \draw[->,decorate,decoration={zigzag,segment length=4,amplitude=1,post=lineto,post length=3}] (2,0) -- (\xrange,0) node[above left] {$\Re(p_0)$}; \draw[decorate,decoration={zigzag,segment length=4,amplitude=1}] (2,-3) -- (\xrange,-3); \draw [->] (0,-\yrange-1) -- (0,2) node [below left=0.2] {$\Im(p_0)$}; \draw[decorate,decoration={brace,amplitude=10pt,mirror},xshift=-2pt] (2,0) -- (2,-3) node [midway,left=8pt] {$q_0$}; % Matsubara frequencies \foreach \n in {-\yrange,...,-1,1}{% \fill (0,\n) circle (1pt) node [right] {$i \omega_{_{\n}}$};} \fill (0,0) circle (1pt) node [above right] {0}; % Poles \fill (3,1) circle (2pt) node[above] {$\alpha_2^1$} (5,1) circle (2pt) node[above] {$\alpha_1^1$} (3,-1) circle (2pt) node[above] {$\alpha_2^1$} (5,-1) circle (2pt) node[above] {$\alpha_1^1$} (3,-2) circle (2pt) node[above] {$\alpha_2^2$} (5,-2) circle (2pt) node[above] {$\alpha_1^2$} (3,-4) circle (2pt) node[above] {$\alpha_2^2$} (5,-4) circle (2pt) node[above] {$\alpha_1^2$}; % Regions \node[DarkBlue] at (4,1.5) {(I)}; \node[DarkBlue] at (4,-1.5) {(II)}; \node[DarkBlue] at (4,-4.5) {(III)}; \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots, mathtools} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel = $T$, ylabel = $\Delta n_k^+$, smooth,thick, axis lines = center, every tick/.style = thick] \def\beta{1/x} \def\ek{1} \def\mu{0} \def\bosefluc{1/(2*sinh(\beta/2 * (\ek - \mu)))^2} \addplot[color=blue,domain = 0:4.2]{\bosefluc}; \end{axis} \end{tikzpicture} \begin{tikzpicture} \begin{axis}[ xlabel = $T$, ylabel = $\Delta n_k^-$, smooth,thick, ymax = 0.28, axis lines = center, every tick/.style = thick, yticklabel style = /pgf/number format/fixed] \def\beta{1/x} \def\ek{1} \def\mu{0} \def\fermfluc{1/(2 + 2*cosh(\beta * (\ek - \mu)))} \addplot[color=blue,domain = 0:4.2]{\fermfluc}; \end{axis} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \begin{document} \begin{tikzpicture} \begin{axis}[ axis lines=center, view={140}{25}, axis equal, domain=0:360, y domain=0:1.25, xmax=1.5,ymax=1.5,zmin=0,zmax=1.5, x label style={at={(axis description cs:0.18,0.29)},anchor=north}, y label style={at={(axis description cs:0.82,0.25)},anchor=north}, z label style={at={(axis description cs:0.44,0.8)},anchor=north}, xlabel = $\mathrm{Re}(\phi)$, ylabel=$\mathrm{Im}(\phi)$, zlabel=$V(\phi)$, ticks=none, clip bounding box=upper bound ] \addplot3 [surf, shader=flat, draw=black, fill=white, z buffer=sort] ({sin(x)*y}, {cos(x)*y}, {(y^2-1)^2}); \end{axis} \shade (3.47,3.5) circle [radius=0.15cm]; \shade (5.1,2.2) circle [radius=0.15cm]; \node[anchor=east] at (4.05,3.71) (text) {A}; \node[anchor=west] at (5.5,3.0) (description) {B}; \draw (description) edge[out=180,in=0,<-] (text); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ xmin=0,xmax=10, xlabel = $\Re(q_0)$, ylabel = $\Im(q_0)$, smooth,axis lines=middle,thick, every tick/.style = {thick}, xlabel style = right, ylabel style = below left, ticks=none] \addplot[color=red,domain = 1:9]{1/(sqrt(x)+2)}; \addplot[color=red,domain = 1:9]{1/(x+2) + 1/3}; \addplot[color=blue,domain = 1:9]{-1/(sqrt(x)+2)}; \addplot[color=blue,domain = 1:9]{-1/(x+2) - 1/3}; \draw[dashed,shorten >=3,shorten <=3] (4,0.5) edge [->,bend right=5] node[near end,right] {$k \to 0$} (3.5,0); \draw[dashed,shorten >=3,shorten <=3] (4,-0.5) edge [->,bend left=5] node[near end,left] {$k \to 0$} (3.5,0); \end{axis} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \usetikzlibrary{calc,positioning,shapes.geometric} \renewcommand\vec[1]{\boldsymbol{#1}} \begin{document} \begin{tikzpicture}[ thick, node distance=15mm, set/.style={draw, diamond, text width=8mm, align=center}, op/.style={draw, circle, text width=5mm, align=center, fill=orange!40}, ] \node[set, fill=blue!20] (z1) {$\vec z_{1:d}$}; \node[op, right=of z1] (eq) {\raisebox{-1ex}=}; \node[set, right=of eq, fill=blue!20] (x1) {$\vec x_{1:d}$}; \draw[->] (z1) edge (eq) (eq) edge (x1); \node[set, below=1 of z1, fill=green!30] (z2) {$\mathclap{\vec z_{d+1:D}}$}; \node[op, right=of z2] (g) {$g$}; \node[below=1em of g] (forward) {forward pass}; \node[set, right=of g, fill=yellow!40] (x2) {$\mathclap{\vec x_{d+1:D}}$}; \draw[->] (z2) edge (g) (g) edge (x2); \node[op] (m) at ($(z1)!0.5!(g)$) {$m$}; \draw[->] (z1) edge (m) (m) edge (g); \begin{scope}[xshift=9cm] \node[set, fill=blue!20] (z1) {$\vec z_{1:d}$}; \node[op, right=of z1] (eq) {\raisebox{-1ex}=}; \node[set, right=of eq, fill=blue!20] (x1) {$\vec x_{1:d}$}; \draw[<-] (z1) edge (eq) (eq) edge (x1); \node[set, below=1 of z1, fill=green!30] (z2) {$\mathclap{\vec z_{d+1:D}}$}; \node[op, right=of z2] (g) {$\mathclap{g^{-1}}$}; \node[below=1em of g] (inverse) {inverse pass}; \node[set, right=of g, fill=yellow!40] (x2) {$\mathclap{\vec x_{d+1:D}}$}; \draw[<-] (z2) edge (g) (g) edge (x2); \node[op] (m) at ($(x1)!0.5!(g)$) {$m$}; \draw[->] (x1) edge (m) (m) edge (g); \end{scope} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{mathtools} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \usetikzlibrary{decorations.markings,positioning,decorations.pathmorphing} \begin{document} \begin{tikzpicture}[thick] \def\xr{3.5} \def\yr{3} % Axes \draw [decorate,decoration={zigzag,segment length=6,amplitude=2,post=lineto,post length=10}] (-\xr-0.4,0) -- (0,0); \draw [->,decorate,decoration={zigzag,segment length=6,amplitude=2,pre=lineto,pre length=10,post=lineto,post length=3}] (0,0) -- (\xr+0.4,0) node [above left] {$\Re(p_0)$}; \draw [->] (0,-\yr-0.7) -- (0,\yr+0.7) node[below left=0.1] {$\Im(p_0)$}; % Matsubara frequencies \foreach \n in {-\yr,...,-1,1,2,...,\yr}{% \draw[fill] (0,\n) circle (1pt) node [right=0.1,font=\footnotesize] {$i \mkern2mu \omega_{_{\n}}$};} \draw[fill] (0,0) circle (1pt) node [above right=0.1] {0}; % Right contour line \draw[xshift=5,blue!60!black,decoration={markings,mark=between positions 0.1 and 1 step 0.25 with \arrow{>}},postaction={decorate}] (0,-\yr-0.75) node [above right] {$C_1$} -- (0,\yr+0.75) arc (90:-90:\yr+0.75); % Left contour line \draw[xshift=-5,blue!60!black,decoration={markings,mark=between positions 0.1 and 1 step 0.25 with \arrow{>}},postaction={decorate}] (0,\yr+0.75) -- (0,-\yr-0.75) node [above left] {$C_2$} arc (270:90:\yr+0.75); % Poles \draw[fill] (\xr/2,\yr/4) circle (1.5pt) node [right] {$E$}; \draw[fill] (-\xr/2,-\yr/4) circle (1.5pt) node [left] {$-E$}; \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{mathtools,pgfplots} \pgfplotsset{compat=newest} \let\Im\relax \DeclareMathOperator{\Im}{Im} \let\Re\relax \DeclareMathOperator{\Re}{Re} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel=$\Re(p_0)$, ylabel=$\Im(p_0)$, zlabel=$s(p_0)$, domain=-1:1, surf, shader=flat, xtick distance=1, ytick distance=1, ztick distance=1, tickwidth=0, ] \addplot3[blue!30] coordinates { (-1, 1, -1) (0, 1, -1) (-1, 0, -1) (0, 0, -1) }; \addplot3[blue!30] coordinates { (1, -1, -1) (0, -1, -1) (1, 0, -1) (0, 0, -1) }; % Zero plane \addplot3[gray, opacity=0.1, samples=2]{0}; \addplot3[orange!80] coordinates { (0, 0, 1) (1, 0, 1) (0, 1, 1) (1, 1, 1) }; \addplot3[orange!80] coordinates { (0, 0, 1) (-1, 0, 1) (0, -1, 1) (-1, -1, 1) }; \end{axis} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{tikz-feynman} \begin{document} $\displaystyle\partial_t V_g = \raisebox{0.5ex}{\feynmandiagram [inline=(a.base)] { a [dot] -- [charged boson, quarter left, edge label=$p$] b -- [photon, quarter left] c [dot] -- [charged boson, quarter left, edge label=$p$] d [crossed dot] -- [charged boson, quarter left, edge label=$p$] a, f1 -- [photon] c, i1 -- [photon] a, };} \enskip + \enskip \raisebox{0.5ex}{\feynmandiagram [inline=(a.base)] { {i1, i2} -- [photon] a [dot] -- [charged boson, half left, edge label=$p$] b [crossed dot] -- [charged boson, half left, edge label=$p$] a, };}$ \end{document}
\documentclass[svgnames]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[font=\footnotesize] \begin{axis}[ axis lines=center, axis equal, domain=0:360, y domain=0:1.25, y axis line style=stealth-, y label style={at={(0.35,0.18)}}, xmax=1.6,zmax=1.3, xlabel = $\varphi_{_1}$, ylabel=$\varphi_{_2}$, zlabel=$U_k(\rho)$, ticks=none ] \addplot3 [surf,shader=flat,draw=black,fill=white,z buffer=sort] ({sin(x)*y}, {cos(x)*y}, {(y^2-1)^2}); \coordinate (center) at (axis cs:0,0,1); \coordinate (minimum) at (axis cs:{cos(30)},{sin(30)},0); \end{axis} \fill[DarkBlue] (center) circle (0.1); \fill[DarkRed] (minimum) circle (0.1); \draw (center) edge[shorten <=5,shorten >=5,out=-10,in=150,double,draw=gray,double distance=0.5,-{>[length=2,line width=0.5]}] (minimum); \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots,mathtools} \pgfplotsset{compat=newest} \usetikzlibrary{intersections} \let\Re\relax \DeclareMathOperator{\Re}{Re} \begin{document} \begin{tikzpicture} \begin{axis}[ domain = 0:2, ymax = 5, xlabel = $\Re(p_0)$, ylabel = $n_\text{B}(p_0)$, ticks=none, smooth, thick, axis lines = left, every tick/.style = {thick}, width=8cm, height=7cm] \def\nB#1{1/(e^(x/#1) - 1) + 1/2} \addplot[name path=T1, color=red] {\nB{0.5}}; \addplot[name path=T2, color=yellow] {\nB{1}}; \addplot[name path=T3, color=blue] {\nB{2}}; \addplot[draw=none, name path=aux] {3*x}; \end{axis} \draw[shorten >=2, shorten <=2, name intersections={of=T1 and aux, name=int1}, name intersections={of=T2 and aux, name=int2}] (int1-1) edge[->, bend left] node[midway, below right=-1pt, font=\scriptsize] {$2 \cdot T$} (int2-1); \draw[shorten >=2, shorten <=2, name intersections={of=T3 and aux, name=int3}] (int2-1) edge[->, bend left] node[midway, below right=-1pt, font=\scriptsize] {$2 \cdot T$} (int3-1); \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots,siunitx} \pgfplotsset{compat=newest} \def\kB{1.38e-23} % Boltzmann constant \def\mu{1.66e-27} % unified atomic mass unit/Dalton (symbols: m_u or Da) \def\maxwellboltzmann#1{4 * pi * (\mu / (2 * pi * \kB * #1))^(3/2) * x^2 * exp(-\mu * x^2 / (2 * \kB * #1))} \begin{document} \begin{tikzpicture} \begin{axis}[ domain = 0:8000, xlabel = {$v$ [\si{\metre\per\second}]}, ylabel = $P(v)$, smooth, thick, axis lines = left, every tick/.style = {thick}, ] \addplot[color=red,samples=100]{\maxwellboltzmann{100}}; \addplot[color=yellow]{\maxwellboltzmann{300}}; \addplot[color=blue]{\maxwellboltzmann{1000}}; \legend{\SI{100}{\kelvin}, \SI{300}{\kelvin}, \SI{1000}{\kelvin}} \end{axis} \end{tikzpicture} \end{document}
\documentclass{standalone} \AtBeginDocument{\renewcommand{\AtBeginDocument}[1]{}} \usepackage{siunitx} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \def\R{8.31}\def\T{300} \def\a{10^(-3)}\def\b{10^(-5)} % \def\Bone{(\b*\R*\T - \a)} % \def\Btwo{(\b^2*\R*\T - \a*\b + \a^2/(2*\R*\T))} \def\Bone{1000} \def\Btwo{-1000} \def\pzero{\R*\T/x} \def\pone{\pzero + \Bone/x^2} \def\ptwo{\pone + \Btwo/x^3} \begin{axis}[ axis lines=left, samples=100, domain=0.5:5.5, xlabel={$v$ [\si{\meter\cubed\per\mol]}}, ylabel={$p$ [\si{\pascal}]}, every tick/.style={thick}, thick] % p_0 \addplot[color=red]{\pzero}; \addlegendentry[right]{$p_0 = \frac{R \, T}{v}$} % p_1 \addplot[color=blue]{\pone}; \addlegendentry[right]{$p_1 = p_0 + \frac{B_1}{v^2}$} % p_2 \addplot[color=orange]{\ptwo}; \addlegendentry[right]{$p_2 = p_1 + \frac{B_2}{v^3}$} \end{axis} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots,mathtools} \pgfplotsset{compat=newest} \def\xmax{2.3}\def\ymax{1.2} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel=$\epsilon/\mu$, ylabel=$n(\epsilon)$, domain=0:\xmax,ymax=\ymax, ytick={0.5,1}, smooth,thick, axis lines=center, every tick/.style={thick}, legend cell align=left] % Graphs \def\chempot{1} \def\n#1{1/(e^(#1*(x - \chempot)) + 1)} \addplot[color=red]{\n{5}}; \addplot[color=orange,samples=100]{\n{25}}; \addplot[const plot,color=blue] coordinates {(0,1) (\chempot,0) (\xmax,0)}; \legend{$k_\text{B} T = \frac{1}{5} \mu$,$k_\text{B} T = \frac{1}{25} \mu$,$T = 0$} % Thermal fluctuations \draw [thin,dashed] (\chempot-0.25,1.1) -- (\chempot-0.25,0) -| (\chempot+0.25,1.1); \draw [thin,<->,shorten >=1,shorten <=1] (\chempot-0.25,1.05) -- (\chempot+0.25,1.05) node[midway,above] {$\propto 1/\beta$}; \end{axis} \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{pgfplots,mathtools} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture}[thick] \draw[->] (-3,0) -- (3,0) node[below] {$z_1$}; \draw[->] (0,-3) -- (0,3) node[right] {$z_2$}; \draw[fill=blue!30] (0,0) rectangle (1,1) node (z1) {}; \node[below right,font=\large] at (-3,3) {$Z$}; \begin{scope}[xshift=4cm] \draw[->] (-0.3,2.7) -- node[midway,below] {$f$} (0.3,2.7); \draw[<-] (-0.3,-2.7) -- node[midway,below] {$f^{-1}$} (0.3,-2.7); \end{scope} \begin{scope}[xshift=8cm] \draw[->] (-3,0) -- (3,0) node[below] {$x_1$}; \draw[->] (0,-3) -- (0,3) node[right] {$x_1$}; \draw[fill=red!30] (0,0) rectangle (2,2) node (x1) {}; \draw[fill=green!30] (0,0) rectangle (2,-2) node (x2) {}; \node[below left,font=\large] at (3,3) {$X$}; \end{scope} \draw[->,dotted,red!50!black] (z1) -- node[midway,below,sloped,font=\small] {$\det J_f^{-1} = \begin{vmatrix} 2 & 0 \\ 0 & 2 \end{vmatrix}^{-1} \mkern-15mu = \frac 1 4$} (x1); \draw[->,dotted,green!50!black] (z1) -- node[midway,below,sloped,font=\small] {$\det J_f^{-1} = \begin{vmatrix} 2 & 0 \\ 0 & -2 \end{vmatrix}^{-1} \mkern-15mu = -\frac 1 4$} (x2); \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{amssymb} \usetikzlibrary{decorations.pathreplacing} \newcounter{ordering} \begin{document} \begin{tikzpicture}[ brc/.style args = {#1/#2}{decorate,decoration={brace,amplitude=5pt,raise=#1,#2},thick}, pics/realline/.style n args = {3}{ code = {\draw [thick] (0,0) node [left=2mm] {\refstepcounter{ordering}\theordering.\label{ord:\theordering}} -- (8,0) node [right=2mm] {$\mathbb{R}$}; \fill[black] (0,0) circle (1mm) node[below=1mm] {$-\infty$} (3,0) circle (1mm) node[above=9] {$#1$} node[below=1mm] {0} (5,0) circle (1mm) node[above=9] {$#2$} node[below=1mm] {1} (8,0) circle (1mm) node[above=9] {$#3$} node[below=1mm] {$\infty$}; \foreach \i [count=\j] in {0,1,2,3,4,5,6,7,8} \coordinate (-\j) at (\i,0); }} ] \matrix (A) [column sep=40,row sep=20] { \pic (A1) {realline={y_1}{y_2}{y_3}}; \draw[brc=5/] (A1-1) -- node[above=9] {$y_4$} (A1-4); & \pic (A2) {realline={y_2}{y_1}{y_3}}; \draw[brc=5/] (A2-1) -- node[above=9] {$y_4$} (A2-4); \\ \pic (A3) {realline={y_1}{y_2}{y_3}}; \draw[brc=5/] (A3-4) -- node[above=9] {$y_4$} (A3-6); & \pic (A4) {realline={y_2}{y_1}{y_3}}; \draw[brc=5/] (A4-4) -- node[above=9] {$y_4$} (A4-6); \\ \pic (A5) {realline={y_1}{y_2}{y_3}}; \draw[brc=5/] (A5-6) -- node[above=9] {$y_4$} (A5-9); & \pic (A6) {realline={y_2}{y_1}{y_3}}; \draw[brc=5/] (A6-6) -- node[above=9] {$y_4$} (A6-9); \\ }; \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfgantt} \begin{document} \sffamily \begin{ganttchart}[ title label font=\bfseries, y unit title=0.6cm, title height=1, y unit chart=0.5cm, x unit=1cm, inline, vgrid, hgrid, bar height=0.8, bar top shift=0.1, group height=0.8, group top shift=0.1, group inline label node/.style={font=\bfseries\color{white}}, bar inline label node/.append style={font=\footnotesize\color{white}}, group/.append style={blue!50!black}, bar/.style={fill=green!50!black}, time slot format=isodate-yearmonth, time slot unit=month, today=2018-11, today label=now, ]{2018-10}{2019-09} % title \gantttitlecalendar{year,month=shortname} \\ % groups \ganttgroup{Thermoelectrics}{2018-10}{2019-09} \\ \ganttbar{data acquisition}{2018-10}{2019-01} \\ \ganttbar{Dropout NN}{2018-10}{2018-11} \\ \ganttbar{Hyper Optimization}{2018-12}{2019-04} \\ \ganttbar{GPR}{2018-12}{2019-01} \\ \ganttbar{HMC}{2019-01}{2019-03} \\ \ganttbar{SVGD}{2019-03}{2019-04} \\ \ganttbar{Leaderboarding}{2019-03}{2019-05} \\ \ganttbar{DFT}{2019-04}{2019-07} \\ \ganttbar{active ML}{2019-05}{2019-08} \\ \ganttbar{writing up}{2019-07}{2019-09} \\ % legend \node[fill=black!60,anchor=south west,align=left,font=\footnotesize\color{white}] at ([xshift=5,yshift=-10]current bounding box.south west) { GPR: Gaussian Process Regression\\ HMC: Hamiltonian Monte Carlo\\ SVGD: Stein Variational Gradient Descent }; \end{ganttchart} \end{document}
\documentclass{standalone} \usepackage{pgfplots,mathtools} \pgfplotsset{compat=newest} \let\Re\relax \DeclareMathOperator{\Re}{Re} \let\Im\relax \DeclareMathOperator{\Im}{Im} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel=$\Re(p_0)$, ylabel=$\Im(p_0)$, zlabel=$n_\text{B}(p_0)$, x label style={at={(0.35, 0)}}, y label style={at={(0.95, 0.15)}}, shader=flat, tickwidth=0pt ] \def\nB{(e^(2*x) - 2*e^x*cos(deg(y)) + 1)^(-1/2)} \addplot3[surf, opacity=0.5, domain=1:10, y domain=-10:10]{\nB}; \addplot3[surf, opacity=0.5, domain=-10:-2, y domain=-10:10]{\nB}; \addplot3[surf, opacity=0.5, domain=-2:1, y domain=-10:10, restrict z to domain*=0:2]{\nB}; \end{axis} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ axis equal image, axis lines=middle, xmax=18,zmax=5, ticks=none, clip bounding box=upper bound, colormap/blackwhite ] \addplot3[domain=0:360,y domain=0:320, samples=50,surf,z buffer=sort] ({(12 + 3 * cos(x)) * cos(y)} , {(12 + 3 * cos(x)) * sin(y)}, {3 * sin(x)}); % use axis coordinate system to draw the radii \draw [thick,blue] (axis cs: 0,0,0) -- (axis cs: 12,0,0) node [midway,above=-2] {$R$}; \draw [thick,red] (axis cs: 12,-0.2,0) -- (axis cs: 12,3.7,0) node [midway,below right=-3] {$r$}; % use axis coordinate system to draw fake x, y and z axes \draw [-latex] (axis cs: 0,0,0) -- node [pos=0.9, xshift=0.5em]{$z$}(axis cs: 0,0,10); \draw [-latex] (axis cs: 0,-15,0) -- node [pos=0.9, xshift=-1em, yshift=0.5em]{$y$}(axis cs: 0,-20,0); \draw (axis cs: 0,0,0) -- (axis cs: 0,9,0); \draw (axis cs: 0,0,0) -- (axis cs: -9,0,0); \end{axis} \end{tikzpicture} \end{document}
% \documentclass{article} \documentclass[preview]{standalone} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} \usepackage{color} \newcommand{\plain}{\color{black}} \newcommand{\Frac}[2]{\genfrac{}{}{1pt}{}{#1}{#2}} % thicker fraction line \definecolor{c1}{RGB}{114,0,172} % primary \definecolor{c2}{RGB}{45,177,93} % true \definecolor{c3}{RGB}{251,0,29} % false \definecolor{c4}{RGB}{18,110,213} % secondary \definecolor{c5}{RGB}{255,160,109} % tertiary \definecolor{c6}{RGB}{219,78,158} % alt-primary \renewcommand{\familydefault}{\sfdefault} \begin{document} \begin{center} \newcommand{\growth}{\color{c1}} \newcommand{\unitQuantity}{\color{c2}} \newcommand{\unitInterest}{\color{c3}} \newcommand{\unitTime}{\color{c4}} \newcommand{\perfectly}{\color{c5}} \newcommand{\compounded}{\color{c6}} $$\growth e \plain = \perfectly \lim_{n\to\infty} \plain \left( \unitQuantity 1 + \unitInterest \frac{1}{\compounded n} \plain \right) \unitTime^{1 \cdot \compounded n} $$ \growth The base for continuous growth \plain is \\ \unitQuantity the unit quantity \unitInterest earning unit interest \unitTime for unit time, \\ \compounded compounded \perfectly as fast as possible \end{center} \end{document}
\documentclass[tikz,border=5mm]{standalone} \newcommand{\mytab}[1]{% \begin{tabular}{@{}c@{}} #1 \end{tabular} } \begin{document} \begin{tikzpicture} \draw (0,0) -- (11,0); \foreach \x in {0.8,4,5.5,7,10.2} \draw(\x cm,3pt) -- (\x cm, -3pt); \draw (0.8,0) node[below=3pt] {$T_0$}; \draw (4,0) node[below=3pt] {$T_1$}; \draw (5.5,0) node[below=3pt] {$0$}; \draw (7,0) node[below=3pt] {$T_2$}; \draw (10.2,0) node[below=3pt] {$T_3$}; \draw (2.35,0) node[above=6pt, align=center] { $\left(\mytab{estimation \\ window}\right]$}; \end{tikzpicture} \end{document}
\documentclass[tikz,margin=2mm]{standalone} \usepackage{tikz} \tikzset{ declare function={ sig = 0.1; mu = 0; g(\x) = 1/(sig*sqrt(2*pi)) * exp(-1/2 * ((\x-mu)/sig)^2); } } \begin{document} \begin{tikzpicture}[ shorten >=1pt, ->, draw=black!50, node distance=2.5cm, scale=1.5, every pin edge/.style={<-,shorten <=1pt}, neuron/.style={ circle,fill=black!25,minimum size=17pt,inner sep=0pt, path picture={ \draw[red,thick,-] plot[domain=-0.3:0.3,samples=11,smooth] ({\x},{0.05*g(\x)}); }, }, input neuron/.style={neuron, fill=green!50}, output neuron/.style={neuron, fill=red!50}, hidden neuron/.style={neuron, fill=blue!50}, annot/.style={text width=4em, text centered}, ] % Draw the input layer nodes \foreach \name / \y in {1,...,4} % This is the same as writing \foreach \name / \y in {1/1,2/2,3/3,4/4} \node[input neuron, pin=left:Input \y] (I-\name) at (0,-\y) {}; % Draw the hidden layer nodes \foreach \name / \y in {1,...,5} \path[yshift=0.5cm] node[hidden neuron] (H-\name) at (2.5cm,-\y cm) {}; % Draw the output layer node \node[output neuron,pin={[pin edge={->}]right:Output}, right of=H-3] (O) {}; % Connect every node in the input layer with every node in the % hidden layer. \foreach \source in {1,...,4} \foreach \dest in {1,...,5} \path (I-\source) edge (H-\dest); % Connect every node in the hidden layer with the output layer \foreach \source in {1,...,5} \path (H-\source) edge (O); % Annotate the layers \node[annot,above of=H-1, node distance=1cm] (hl) {Hidden layer}; \node[annot,above of=I-1, node distance=1cm] {Input layer}; \node[annot,above of=O] {Output layer}; \end{tikzpicture} \end{document}
\documentclass{article} \usepackage{geometry} \geometry{ a5paper, left=10mm, top=20mm, } \usepackage{tikz} \newcommand{\tikzcuboid}[4]{% width, height, depth, scale % define tikz object \begin{tikzpicture}[scale=#4] \foreach \x in {0,...,#1} { \draw (\x ,0 ,#3 ) -- (\x ,#2 ,#3 ); \draw (\x ,#2 ,#3 ) -- (\x ,#2 ,0 ); } \foreach \x in {0,...,#2} { \draw (#1 ,\x ,#3 ) -- (#1 ,\x ,0 ); \draw (0 ,\x ,#3 ) -- (#1 ,\x ,#3 ); } \foreach \x in {0,...,#3} { \draw (#1 ,0 ,\x ) -- (#1 ,#2 ,\x ); \draw (0 ,#2 ,\x ) -- (#1 ,#2 ,\x ); } \end{tikzpicture} } \newcommand{\tikzcube}[2]{% length, scale \tikzcuboid{#1}{#1}{#1}{#2} } \begin{document} \begin{tikzpicture}[scale=0.5] % manual way of creating a cuboid drawing lines \foreach \x in {0,...,11} { \draw[gray] (\x, 0, 5 ) -- (\x, 7, 5 ); \draw[gray] (\x, 7, 5 ) -- (\x, 7, 0 ); } \foreach \x in {0,...,7} { \draw[gray!75] (11, \x, 5) -- (11, \x, 0); \draw[gray!75] (0, \x, 5) -- (11, \x, 5); } \foreach \x in {0,...,5} { \draw[gray!25] (11, 0, \x ) -- (11, 7, \x); \draw[gray!25] (0, 7, \x) -- (11, 7, \x); } \end{tikzpicture} \vspace{35pt} \begin{tikzpicture} \tikzcuboid{11}{7}{5}{0.5} \end{tikzpicture} \vspace{20pt} \begin{tikzpicture} \tikzcube{13}{0.25} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{tikz} \usepackage{verbatim} \begin{comment} :Title: Airfoil profiles :Tags: Plots, External file, Foreach A few airfoil profiles from the extensive `UIUC Airfoil Coordinates Database`_. The data is provided in a convenient x,y coordinate format suitable for plotting using PGF/TikZ's ``plot file`` construct. Note that the data is released under the `GNU General Public License`_. To use the data files with PGF/TikZ, you have to comment out the lines not containing coordinates. Download the airfoils used in the example: `airfoildata.zip`_ .. _UIUC Airfoil Coordinates Database: http://www.ae.uiuc.edu/m-selig/ads/coord_database.html .. _GNU General Public License: http://www.ae.uiuc.edu/m-selig/pd/gpl.html .. _airfoildata.zip: http://www.fauskes.net/media/pgftikzexamples/data/airfoildata.zip \end{comment} \begin{document} \newcounter{y} \setcounter{y}{0} \begin{tikzpicture} % read all the data files. Don't set the data folder here % read the label \lbl and the filename \fn with the for loop \foreach \lbl / \fn in {EPPLER 625/e625.dat, WORTMANN FX 2/fx2.dat, EPPLER 664 (EXTENDED)/e664ex.dat, CLARK Y/clarcy.dat, Eiffel 10 (Wright)/eiffel10.dat, FX 69-PR-281/fx69pr281.dat, NACA Munk M-4 airfoil/m4.dat} { % Some profiles look better when using plot[smooth] \draw[yshift=-\arabic{y}cm,scale=3] node[left=0.5cm] {\lbl} % set the data folder in the next line plot file{data/\fn} -- cycle; \stepcounter{y} } \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta,positioning} \begin{document} % remove subsection % remove /begin{center} \begin{tikzpicture}[node distance = 0mm, TN/.style args = {#1/#2}{% as Transparency Node fill=#1, fill opacity=#2, text opacity=1, align=flush left, inner sep=1mm, outer sep=0.25mm, draw=gray!15, line width=0.5mm, below}, TN/.default = gray!50/0.5, L/.style = {% as Line draw=red!20, line width=1mm, {Bar[width=4mm,line width=0.4pt]}-{Bar[width=4mm,line width=0.4pt]} } ] \draw[L] ( 0,0) coordinate (s) node[above=2mm] {1850} -- + (20,0) node[above=2mm] {2020}; \draw (3.1,0) -- + (0,-2.4) node (e1) [TN] {1881} node (e1a) [TN,below=of e1] {born in the Austrian part\\ of the Austria-Hungarian\\ Empire}; \draw (3.1,0) -- + (0,-4.2) node (e1y) [TN] {} node (e1t) [TN,below=of e1a] {Something\\ else\\ happened}; \draw (3.5,0) -- + (0,-0.4) node (e2) [TN=blue!30/0.3] {1885} node (e2a) [TN=blue!30/0.7, below=of e2] {Publication of Darwin's\\ Evolutionary Theory}; \end{tikzpicture} \end{document}
\documentclass[tikz,border=10pt]{standalone} \usepackage[margin=25mm]{geometry} \usepackage{tikz} %% like standalone %\usepackage[active,tightpage]{preview} %\PreviewEnvironment{tikzpicture} %\setlength\PreviewBorder{5pt}% \begin{document} \begin{tikzpicture} \foreach \x in{0,...,4} { \draw (0,\x ,4) -- (4,\x ,4); \draw (\x ,0,4) -- (\x ,4,4); \draw (4,\x ,4) -- (4,\x ,0); \draw (\x ,4,4) -- (\x ,4,0); \draw (4,0,\x ) -- (4,4,\x ); \draw (0,4,\x ) -- (4,4,\x ); } \end{tikzpicture} \end{document}
\documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[ man/.style={rectangle, draw, fill=blue!20, align=center}, woman/.style={rectangle, draw, fill=red!20, rounded corners=.8ex, align=center}, grandchild/.style={grow=down, xshift=1em, anchor=west, edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}}, first/.style={level distance=6ex}, second/.style={level distance=12ex}, third/.style={level distance=18ex}, level 1/.style={sibling distance=5em}] % Parents \coordinate child[grow=left] {node[man,anchor=east]{Jim}} child[grow=right] {node[woman,anchor=west]{Jane}} child[grow=down,level distance=0ex] [edge from parent fork down] % Children and grandchildren child{node[man] {Alfred \\ 05-04-83}} child{node[woman] {Berta \\ 05-04-99}} child {node[man] {Charles \\ 05-04-77}} child {node[woman]{Doris \\ 05-04-80}}; \end{tikzpicture} \end{document}
\documentclass[tikz,border=10pt]{standalone} %\documentclass[crop, tikz]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} [level distance=10mm, every node/.style={fill=red!60,circle,inner sep=1pt}, level 1/.style={sibling distance=20mm,nodes={fill=red!45}}, level 2/.style={sibling distance=10mm,nodes={fill=red!30}}, level 3/.style={sibling distance=5mm,nodes={fill=red!25}}] \node {31} child {node {30} child {node {20} child {node {5}} child {node {4}} } child {node {10} child {node {9}} child {node {1}} } } child {node {20} child {node {19} child {node {1}} child[missing] } child {node {18}} }; \end{tikzpicture} \end{document}
\documentclass[border=0.125cm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \tikzset{% every neuron/.style={ circle, draw, minimum size=1cm }, neuron missing/.style={ draw=none, scale=4, text height=0.333cm, execute at begin node=\color{black}$\vdots$ }, } \begin{tikzpicture}[x=1.5cm, y=1.5cm, >=stealth] % input layer \foreach \m/\l [count=\y] in {1,2,3,missing,4} \node [every neuron/.try, neuron \m/.try] (input-\m) at (0,2.5-\y) {}; % hidden layer \foreach \m [count=\y] in {1,missing,2} \node [every neuron/.try, neuron \m/.try ] (hidden-\m) at (2,2-\y*1.25) {}; % output layer \foreach \m [count=\y] in {1,missing,2} \node [every neuron/.try, neuron \m/.try ] (output-\m) at (4,1.5-\y) {}; % labels for input layer \foreach \l [count=\i] in {1,2,3,n} \draw [<-] (input-\i) -- ++(-1,0) node [above, midway] {$I_\l$}; % labels for hidden layer \foreach \l [count=\i] in {1,n} \node [above] at (hidden-\i.north) {$H_\l$}; % labels for output layer \foreach \l [count=\i] in {1,n} \draw [->] (output-\i) -- ++(1,0) node [above, midway] {$O_\l$}; % connections for input layer \foreach \i in {1,...,4} \foreach \j in {1,...,2} \draw [->] (input-\i) -- (hidden-\j); % connections for hidden to output layer \foreach \i in {1,...,2} \foreach \j in {1,...,2} \draw [->] (hidden-\i) -- (output-\j); % labels for each layer at the top \foreach \l [count=\x from 0] in {Input, Hidden, Ouput} \node [align=center, above] at (\x*2,2) {\l \\ layer}; \end{tikzpicture} \end{document}
\documentclass[border=10]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \newcommand{\symbolA}{ \tikz \draw[red] (0,0)--(0,0.2)--(0.2,0.2)--(0.2,0.4)--(0.4,0.4); } \newcommand{\symbolB}{ \tikz[y={(0,-1)}] \draw[blue] (0,0)--(0,0.2)--(0.2,0.2)--(0.2,0.4)--(0.4,0.4); } \newcommand{\symbolC}{ \begin{tikzpicture} \draw[fill=green] (0,0) circle (0.2cm); \end{tikzpicture} } \begin{document} \begin{tikzpicture} \node[draw](A) at (0,0){\symbolA}; \node[draw, right=2em of A] (B) {\symbolB}; \node[draw, right=2em of B] (C) {\symbolC}; \draw[-latex] (A) -- (B); \draw[-latex](B) -- (C); \end{tikzpicture} \end{document}
\documentclass[border={10}]{standalone} \usepackage{tikz} \usepackage{tikz-3dplot} \tdplotsetmaincoords{60}{125} % view angles \tdplotsetrotatedcoords{0}{0}{0} \begin{document} \begin{tikzpicture} [%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% scale=5,tdplot_rotated_coords, grid/.style={very thin,gray} ]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %draw a grid in the x-y plane \foreach \x in {0,1,...,7} \foreach \y in {0,1,...,7} { \draw[grid] (\x,0) -- (\x,7); % draw horizontal lines \draw[grid] (0,\y) -- (7,\y); % draw vertical lines }; % draw the color filled squares \draw[fill=blue] (0,0,0) -- (0,1,0) -- (1,1,0) -- (1,0,0) -- cycle; \draw[fill=green] (1,1,0) -- (2,1,0) -- (2,2,0) -- (1,2,0) -- cycle; \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{tikz} \usepackage{verbatim} % Basis: http://www.texample.net/tikz/examples/neural-network/ \begin{document} \pagestyle{empty} \def\layersep{2.5cm} \begin{tikzpicture}[shorten >=1pt,->,draw=black!100, node distance=\layersep] \tikzstyle{every pin edge}=[<-,shorten <=1pt] \tikzstyle{neuron}=[circle,fill=black!25,minimum size=17pt,inner sep=0pt] \tikzstyle{input neuron}=[neuron, fill=white!100,draw=black]; \tikzstyle{output neuron}=[neuron, fill=white!100,draw=black]; \tikzstyle{hidden neuron}=[neuron, fill=white!100,draw=black]; \tikzstyle{annot} = [text width=4em, text centered] % Draw the input layer nodes and the labels \foreach \name / \y in {1,...,3} % This is the same as writing \foreach \name / \y in {1/1,2/2,3/3,4/4} \node[input neuron, pin=left:Input \y] (I-\name) at (0,-\y) {}; % Draw the hidden layer nodes \foreach \name / \y in {1,...,4} \path[yshift=0.5cm] node[hidden neuron] (H-\name) at (\layersep,-\y cm) {}; % Draw the output layer node \node[output neuron,pin={[pin edge={->}]right:Output}, right of=H-2] (O1) {}; \node[output neuron,pin={[pin edge={->}]right:Output}, right of=H-3] (O2) {}; % Connect every node in the input layer with every node in the % hidden layer. \foreach \source in {1,...,3} \foreach \dest in {1,...,4} \path (I-\source) edge (H-\dest); % Connect every node in the hidden layer with the output layer \foreach \source in {1,...,4} \path (H-\source) edge (O1); \foreach \source in {1,...,4} \path (H-\source) edge (O2); % Annotate the layers at the top \node[annot,above of=H-1, node distance=1cm] (hl) {Hidden layer}; \node[annot,left of=hl] {Input layer}; \node[annot,right of=hl] {Output layer}; \end{tikzpicture} % End of code \end{document}
\documentclass{article} \usepackage[paperheight=6in,paperwidth=7in,top=0.5in, bottom=0.5in, left=0.5in, right=0.5in]{geometry} \pagestyle{empty} \usepackage{tikz} \usetikzlibrary{mindmap,trees} \begin{document} \begin{tikzpicture} \path[mindmap,concept color=black,text=white] node[concept] {Computer Science} [clockwise from=0] child[concept color=green!50!black] { node[concept] {practical} [clockwise from=90] child { node[concept] {algorithms} } child { node[concept] {data structures} } child { node[concept] {pro\-gramming languages} } child { node[concept] {software engineer\-ing} } } child[concept color=blue] { node[concept] {applied} [clockwise from=-30] child { node[concept] {databases} } child { node[concept] {WWW} } } child[concept color=red] { node[concept] {technical} } child[concept color=orange] { node[concept] {theoretical} }; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{basic/.style={draw,fill=blue!20,text width=1em,text badly centered}} \tikzset{input/.style={basic,circle}} \tikzset{weights/.style={basic,rectangle}} \tikzset{functions/.style={basic,circle,fill=blue!10}} \begin{document} \begin{tikzpicture} \node[functions] (center) {}; \node[below of=center,font=\scriptsize,text width=4em] {Activation function}; \draw[thick] (0.5em,0.5em) -- (0,0.5em) -- (0,-0.5em) -- (-0.5em,-0.5em); \draw (0em,0.75em) -- (0em,-0.75em); \draw (0.75em,0em) -- (-0.75em,0em); \node[right of=center] (right) {}; \path[draw,->] (center) -- (right); \node[functions,left=3em of center] (left) {$\sum$}; \path[draw,->] (left) -- (center); \node[weights,left=3em of left] (2) {$w_2$} -- (2) node[input,left of=2] (l2) {$x_2$}; \path[draw,->] (l2) -- (2); \path[draw,->] (2) -- (left); \node[below of=2] (dots) {$\vdots$} -- (dots) node[left of=dots] (ldots) {$\vdots$}; \node[weights,below of=dots] (n) {$w_n$} -- (n) node[input,left of=n] (ln) {$x_n$}; \path[draw,->] (ln) -- (n); \path[draw,->] (n) -- (left); \node[weights,above of=2] (1) {$w_1$} -- (1) node[input,left of=1] (l1) {$x_1$}; \path[draw,->] (l1) -- (1); \path[draw,->] (1) -- (left); \node[weights,above of=1] (0) {$w_0$} -- (0) node[input,left of=0] (l0) {$1$}; \path[draw,->] (l0) -- (0); \path[draw,->] (0) -- (left); \node[below of=ln,font=\scriptsize] {inputs}; \node[below of=n,font=\scriptsize] {weights}; \end{tikzpicture} \end{document}
\documentclass[tikz,border=10pt]{standalone} %%%< \usepackage{verbatim} %%%> \begin{comment} :Title: Time course of events in an experiment :Tags: Styles;Foreach;Paths;Positioning;Scopes;Psychology :Author: Rudolf Siegel :Slug: events A diagram depicting time course of events in an experiment. Every frame represents a screen presented to a participant. This kind of diagram is mostly used in (cognitive) psychology and neuroscience. \end{comment} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \tikzset{ basefont/.style = {font = \Large\sffamily}, timing/.style = {basefont, sloped,above,}, label/.style = {basefont, align = left}, screen/.style = {basefont, white, align = center, minimum size = 6cm, fill = black!60, draw = white}}; % macro for defining screens \newcommand*{\screen}[4]{% \begin{scope} [xshift = #3, yshift = #4, every node/.append style = {yslant = 0.33}, yslant = 0.33, local bounding box = #1] \node[screen] at (3cm,3cm) {#2}; \end{scope} } % define several screens \screen{frame1}{\textbf+} {0} {0} \screen{frame2}{stimuli 1}{150} {-60} \screen{frame3}{} {300}{-120} \screen{frame4}{stimuli 2}{450}{-180} \screen{frame5}{recording}{600}{-240} \coordinate [xshift=750,yshift=-300] (frame6); % add annotations \foreach \i / \content in { 1/fixation cross, 2/picture, 3/blank screen, 4/word, 5/recording\\(depending on response) } \node[label, above right=5em and 1em of frame\i.east] (f\i-label) {\content}; % add time course \foreach \j [count=\i] / \content in { 2/800\,ms, 3/2000\,ms, 4/500-2000\,ms, 5/2000\,ms, 6/till response } \path[ultra thick] (frame\i.south west) edge node[timing] {\content} (frame\j.south west); % some manual addition \path[ultra thick,->] (frame5.south west) edge node[timing, below] {next trial} (frame6); \end{tikzpicture} \end{document}
\documentclass{standalone} %\documentclass[crop, tikz]{standalone} \usepackage{tikz} \begin{document} % add packages \usetikzlibrary{calc,intersections,through,backgrounds} \begin{tikzpicture}[thick,help lines/.style={thin, draw=black!50}] \def\A{\textcolor{input}{$A$}} \def\B{\textcolor{input}{$B$}} \def\C{\textcolor{output}{$C$}} \def\D{$D$} \def\E{$E$} % define colors \colorlet{input}{blue!80!black} \colorlet{output}{red!70!black} \colorlet{triangle}{orange} \coordinate [label=left:\A] (A) at ($ (0,0) + .1*(rand,rand) $); \coordinate [label=right:\B] (B) at ($ (1.25,0.25) + .1*(rand,rand) $); \draw [input] (A) -- (B); \node [name path=D,help lines,draw,label=left:\D] (D) at (A) [circle through=(B)] {}; \node [name path=E,help lines,draw,label=right:\E] (E) at (B) [circle through=(A)] {}; \path [name intersections={of=D and E, by={[label=above:\C]C}}]; \draw [output] (A) -- (C) -- (B); \foreach \point in {A,B,C} \fill [black, opacity=.25] (\point) circle (3pt); \begin{pgfonlayer}{background} \fill[triangle!80] (A) -- (C) -- (B) -- cycle; \end{pgfonlayer} \end{tikzpicture} \end{document}
\documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta, calc, chains, quotes, positioning, shapes.geometric} \begin{document} \begin{tikzpicture}[ node distance = 8mm and 16mm, start chain = A going below, base/.style = {draw, minimum width=32mm, minimum height=8mm, align=center, on chain=A}, startstop/.style = {base, rectangle, rounded corners, fill=red!30}, process/.style = {base, rectangle, fill=orange!30}, io/.style = {base, trapezium, trapezium left angle=70, trapezium right angle=110, fill=blue!30}, decision/.style = {base, diamond, fill=green!30}, every edge quotes/.style = {auto=right}] ] \node [startstop] {Read Video}; % <-- A-1 \node [process] {Extract Frames}; \node [io] {Read Frame}; \node [decision] {Completed?}; \node [process] {Save Watermarked Video}; \node [process] {Stop}; % <-- A-6 % \node [process, % <-- A-7 right=of A-4] {Get Next Frame}; %% \draw [arrows=-Stealth] (A-1) edge["read data"] (A-2) (A-2) edge["get watermark"] (A-3) (A-3) edge[text width=3cm,"apply watermark to all frames "] (A-4) (A-4) edge["yes"] (A-5) (A-5) edge["exit"] (A-6) (A-4) edge["no"'] (A-7) % <-- by ' is swapped label position (A-7) |- ($(A-2.south east)!0.5!(A-3.north east)$) -| ([xshift=7mm] A-3.north) ; \end{tikzpicture} \end{document}
\documentclass[landscape]{article} \usepackage{tikz} %%%< \usepackage{verbatim} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt}% %%%> \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{enumitem} \begin{document} \begin{figure} \setlist[itemize]{nosep, leftmargin=*} \begin{tikzpicture}[ node distance = 0mm and 0.02\linewidth, box/.style = {inner xsep=0pt, outer sep=0pt, text width=0.32\linewidth, align=left, font=\small} ] \node (n1) [box] { \begin{itemize} \item The shareshoulders design compensation contract for the manager simultaneously. \end{itemize} }; \node (n2) [box, below right=of n1.north east] { \begin{itemize} \item The manager of each firm privately observes its entry cost; \item The manager make entry decision simultaneously; \item Trading and financial market occurs. \end{itemize} }; \node (n3) [box, below right=of n2.north east] { \begin{itemize} \item Entry cost and profits are realised; \item Manager receive their compensation; \item Firms are liquidated. \end{itemize} }; \draw[thick, -latex] (n1.north west) -- (n3.north east); \foreach \x [count=\xx from 1] in {0,1,2} \draw (n\xx.north) -- + (0,3mm) node[above] {$t=\x$}; \end{tikzpicture} \end{figure} \end{document}
\documentclass[landscape]{article} \usepackage{tikz} % DON'T FORGET TO ADD THOSE IN THE HEADER OF LATEX FILES %\usepackage{tikz} \usetikzlibrary{arrows,backgrounds} \usepgflibrary{shapes.multipart} %%%< \usepackage{verbatim} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt}% %%%> \begin{comment} :Title: the title Describe the application \end{comment} \usepackage[top=1in,bottom=1in,right=1in,left=1in]{geometry} \begin{document} \begin{tikzpicture} \tikzstyle{place}=[circle, draw=black, minimum size = 8mm] % Input \draw node at (0, -1.25) [place] (first_1) {$x^{(1)}_0$}; \draw node at (0, -2*1.25) [place] (first_2) {$x^{(1)}_1$}; \draw node at (0, -3*1.25) [place] (first_3) {$x^{(1)}_2$}; % Hidden 1 \foreach \x in {1,...,3} \node at (4, -\x*1.25) [place] (second_\x){$a^{(2)}_\x$}; % Output \foreach \x in {2,...,2} \node at (8, -\x*1.25) [place] (fourth_\x){$a^{(3)}_\x$}; \foreach \x in {2,...,2} \node at (10, -\x*1.25) [circle, ] (output_\x){$y_\x$}; % Input -> Hidden \foreach \i in {1,...,3} \foreach \j in {1,...,3} \draw [->] (first_\i) to (second_\j); % Hidden -> Output \foreach \i in {1,...,3} \foreach \j in {2,...,2} \draw [->] (second_\i) to (fourth_\j); \foreach \i in {2,...,2} \draw [->] (fourth_\i) to (output_\i); %Parameters theta \node at (2, 0) [black, ] {$\Theta^{(1)}$}; \node at (6, 0) [black, ] {$\Theta^{(2)}$}; \node at (4, 0) [black, ] {$a^{(2)}$}; \node at (8, 0) [black, ] {$a^{(3)}$}; \end{tikzpicture} \end{document}
\documentclass[crop, tikz, border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{calc} \definecolor{olivegreen}{rgb}{0,0.6,0} \begin{document} \begin{tikzpicture}[scale=0.85] % Axis \draw[thick,-stealth,black] (-3,0)--(3,0) coordinate (A) node[below] {$x$}; % x axis \draw[thick,-stealth,black] (0,-3)--(0,3) node[left] {$y$}; % y axis \draw[black,thin] (0,0) circle (2.5cm); \draw[ultra thick,red] (0,0) -- (60:2.5cm |- 0,0) node[midway,below] {$x$}; % UpOn y axis \draw (1,0) arc (0:60:1) node at ($(60/2:0.7)$) {$\alpha$}; \draw[ultra thick, blue] (60:2.5cm) -- (60:2.5cm |- 0,0) node[midway,right] {$y$}; % vertical line \draw[ultra thick,olivegreen,rotate=60] (0,0) -- node [left] {$r$} (2.5,0) coordinate (B); \draw[xshift=-1cm] (B) node[circle,fill,inner sep=1pt,label=above:$P$](e){}; \end{tikzpicture} \end{document}
\documentclass[tikz]{standalone} \usepackage{verbatim} \begin{document} \newlength\yearposx \begin{tikzpicture}[scale=0.57] % timeline 1990-2010-> % define coordinates (begin, used, end, arrow); doesn't draw anything yet % this is nice because we are creating the reference names for each of the years \foreach \x in {1990,1992,2000,2002,2004,2005,2008,2009,2010,2011} { \pgfmathsetlength\yearposx{(\x-1990)*1cm}; \coordinate (y\x) at (\yearposx,0); \coordinate (y\x t) at (\yearposx,+3pt); % coordinate y at top \coordinate (y\x b) at (\yearposx,-3pt); % coordinate y at bottom } % draw horizontal line with arrow at the right end \draw [->] (y1990) -- (y2011); % draw ticks \foreach \x in {1992,2000,2002,2004,2005,2008,2009} \draw (y\x t) -- (y\x b); % annotate % print years below \foreach \x in {1992,2002,2005,2009} \node at (y\x) [below=3pt] {\x}; % print years above \foreach \x in {2000,2004,2008} \node at (y\x) [above=3pt] {\x}; % \draw node at (y1993) -- [below=5pt] {93}; \end{tikzpicture} \end{document}
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
3