AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar interval,
xticklabel=\pgfmathprintnumber\tick--\pgfmathprintnumber\nexttick
]
\addplot+ [hist={bins=3}]
table [row sep=\\,y index=0] {
data\\
1\\ 2\\ 1\\ 5\\ 4\\ 10\\
7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{angles,quotes}
\begin{document}
\begin{tikzpicture}[x=0.5cm,y=0.5cm,z=0.3cm,>=stealth]
\coordinate (origin) at (0,0,0);
\coordinate (vi) at (2,-14,3);
\coordinate (vb) at (0,-4,-14);
\coordinate (normal) at (0,-10,0);
\draw[->,thick] (normal) -- node[left]{$\vec{n}$} (origin);
\draw[->,thick] (origin) -- node[right]{$\vec{v_i}$} (vi);
\draw[->,thick] (origin) -- node[left]{$\vec{v_b}$} (vb);
\draw[->,thick] (vb) -- node[below]{$\vec{v_g}$} (vi);
\draw (vb) -- (0,1,3.5) node[above]{$\vec{B}$};
\draw (normal) -- (vi);
\draw (normal) -- (vb);
\pic [draw, angle eccentricity=1.2, angle radius = 3cm] {angle = normal--origin--vi};
\pic [draw, "$\theta$", angle eccentricity=1.2, angle radius = 3cm] {angle = normal--origin--vb};
\pic [draw, "a", angle eccentricity=1.2, angle radius = 3cm] {angle = vi--origin--vb};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{eqnarray,amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{tikz}
\tikzset{use/.style={}
}\tikzset{rectangle/.append style={circle, fill=blue!25}
}
\begin{document}
\begin{tikzpicture}[scale=.7,auto=center,every node/.style={circle,fill=blue!20}]
\node[rectangle] (c1) at (6.2,2.5) {2};
\node[rectangle] (c2) at (7,1.5) {1};
\node[rectangle] (c4) at (7.8,2.5) {4};
\node[rectangle] (c8) at (6.2,3.7) {3};
\draw (c1) -- (c2);
\draw (c4) -- (c2);
\draw (c8) -- (c1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}[
small,
enlarge x limits={abs=11},
]
\addplot+ [domain=1:100000] {x^-2};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[latin1]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath,mathtools}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\tikzset{snake it/.style={decorate, decoration=snake}
}
\begin{document}
\begin{tikzpicture}[scale=3.2]
\draw[->,very thick](0,0)--(2.1,0);
\draw[->,very thick](0,-0.8)--(0,0.2);
\draw (2.07,-0.1) node [black] {Re($z$)};
\draw (0.09,0.3) node [black] {Im($z$)};
\draw (1.2,-0.25) node [black] {$\phi_{1}$};
\draw (2,-0.35) node [black] {$\beta$};
\draw (0.12,-0.4) node [black] {$\overline{\phi}$};
\draw (1.9,0.15) node [black] {$t$};
\draw (0.4,-0.07) node [black] {$\epsilon$};
\draw[black, thick](1.9,-0.03)--(1.9,0.03);
\draw[dashed](1.9,0)--(1.9, -0.7);
\draw[dashed](0,-0.7)--(1.9, -0.7);
\draw[dashed](0,0)--(1.9, -0.7);
\draw[dashed](1.9,-0.1)--(1.9, 0.1);
\draw [ thick](0.35,0) arc [start angle=0, end angle=-55, radius=0.15];
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tcolorbox}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{positioning,arrows.meta,shapes.geometric,decorations.pathmorphing,decorations.markings,bending,calc,shadings}
\usepackage{tikz-3dplot}
\usetikzlibrary{patterns}
\usepackage{tikz-feynman}
\usepackage{amssymb}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}[scale=0.9,transform shape,>=latex,node distance=2cm,mybox/.style={rectangle,rounded corners,draw,line width=0.7pt,minimum width=2.5cm,minimum height=1cm,align=center,outer sep=7pt,inner sep=7pt},mystyle/.style={->, line width=0.7pt, color=black, shorten >=1mm, shorten <=1mm}]
\node[mybox] (eft) {Effective theory};
\node[mybox, right=of eft] (criteria) {Swampland criteria};
\node[mybox, above right=of criteria] (swampland) {Swampland};
\node[mybox, below right=of criteria] (landscape) {Landscape};
\draw[mystyle] (eft) -- (criteria);
\draw[mystyle] (criteria) -- (swampland);
\draw[mystyle] (criteria) -- (landscape);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.2]
\begin{scope}[every node/.style={circle,thick,draw=green!60!black}]\node(1)at(0,0){$1$};
\node(2)at(1,0){$2$};
\node(3)at(2,0){$3$};
\node(4)at(3,0){$4$};
\node(5)at(0,1){$5$};
\node(6)at(1,1){$6$};
\node(7)at(2,1){$7$};
\node(8)at(3,1){$8$};
\end{scope}\node(X)at(-1,0){$F = $};
\begin{scope}[every edge/.style={draw=black,very thick}]
\path[-](1)edge(2)(2)edge(3)(3)edge(4)(4)edge(8)(8)edge(7)(7)edge(6)(6)edge(5)(7)edge(3)(2)edge(6)(1)edge(5);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,decorations.markings}
\usetikzlibrary{graphs}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\hspace{-7.5cm}
\hspace{3cm}
\begin{scope}
[scale=.4,auto=right,every node/.style={circle,fill=gray!30, inner sep = 1pt,draw}]
\node(a) at(0,-1){\tiny$v_1$};
\node(b) at(0,4){\tiny$v_2$};
\node(c) at(5,-4){\tiny$v_3$};
\node(d) at(-5,-4){\tiny$v_4$};
\draw(a)--(b)--(c)--(a)--(d)--(c);
\draw(b)--(d);
\node(e) at(9,4){\tiny$v$};
\draw(b)--(e)--(c);
\draw(d) to[bend left = 90,looseness=1.25] (e);
\node(f)at(4,1.2){\tiny$a_i$};
\node(g)at(7.5,3.25){\tiny$a_1$};
\draw(b)--(f)--(c);
\draw[dashed](f)--(g);
\draw(b)--(g)--(c);
\draw(g)--(e);
\draw[red,very thick](a) to[bend left =15] (b);
\draw[red,very thick](c) to[bend left =15] (b);
\draw[red,very thick](c) to[bend left =15] (f);
\end{scope}
\hspace{5cm}
\hspace{3cm}
\begin{scope}
[scale=.4,auto=right,every node/.style={circle,fill=gray!30, inner sep = 1pt,draw}]
\node(a) at(0,-1){\tiny$v_1$};
\node(b) at(0,4){\tiny$v_2$};
\node(c) at(5,-4){\tiny$v_3$};
\node(d) at(-5,-4){\tiny$v_4$};
\draw(a)--(b)--(c)--(a)--(d)--(c);
\draw(b)--(d);
\node(e) at(9,4){\tiny$v$};
\draw(b)--(e)--(c);
\draw(d) to[bend left = 90,looseness=1.25] (e);
\node(f)at(4,1.2){\tiny$a_i$};
\node(g)at(7.5,3.25){\tiny$a_1$};
\draw(b)--(f)--(c);
\draw[dashed](f)--(g);
\draw(b)--(g)--(c);
\draw(g)--(e);
\draw[blue,very thick](a) to[bend left =15] (b);
\draw[blue,very thick](c) to[bend left =15] (b);
\draw[blue,very thick](b) to[bend left =15] (f);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (260.14,139.75) .. controls (259.25,104.51) and (266.42,74.93) .. (276.14,73.69) .. controls (285.86,72.44) and (294.47,100.01) .. (295.36,135.25) .. controls (296.25,170.49) and (289.08,200.07) .. (279.36,201.31) .. controls (269.64,202.56) and (261.03,174.99) .. (260.14,139.75) -- cycle ;
\draw (276.14,73.69) .. controls (404.64,50.69) and (578.5,179) .. (279.36,201.31) ;
\draw (332,107) node [anchor=north west][inner sep=0.75pt] [align=left] {Smooth\\geometry\\};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tikz}
\usepgflibrary{plotmarks}
\begin{document}
\begin{tikzpicture}
[x=0.25cm,y=2.5cm]\draw[help lines, ystep=0.2, xstep=1] (-15,-1) grid (15,1);
\draw[fill, color=gray, opacity=0.15] (-15,-1) rectangle (-7.5,1);
\draw[fill, color=gray, opacity=0.15] (2.5,-1) rectangle (15,1);
\draw (-15,-1) rectangle (15,1);
\foreach \x in {-15,-12,...,15} {\draw[thick] (\x,-1)+(0,0.5mm) -- +(0,-1.0mm) node [anchor=north] {\scriptsize $\x$};
}\foreach \y in {-1,0,...,1} {\draw[thick] (-15,\y)+(-0.5mm,0) -- +(0,1.0mm) node [anchor=east] {\scriptsize $\y$};
}\draw[mark=o] plot file{figure/ConditionalSignalValueA.txt};
\draw[mark=square] plot file{figure/ConditionalSignalValueC.txt};
\draw[mark=triangle] plot file{figure/ConditionalSignalValueG.txt};
\draw[mark=diamond] plot file{figure/ConditionalSignalValueT.txt};
\draw[fill, color=white] (11,0.1) rectangle (14,0.9);
\draw[] (11,0.1) rectangle (14,0.9);
\draw plot[only marks,mark=o] coordinates{(12,0.8)} node [right] {A};
\draw plot[only marks,mark=square] coordinates{(12,0.6)} node [right] {C};
\draw plot[only marks,mark=triangle] coordinates{(12,0.4)} node [right] {G};
\draw plot[only marks,mark=diamond] coordinates{(12,0.2)} node [right] {T};
\node at (0,-1.18) [anchor=north] {Base position relative to alignment};
\node at (-16.5,0) [anchor=south, rotate=90] {Conditional mean};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs, graphs.standard}
\begin{document}
\tikz \graph [edge label=out, edge label'=in]
{ subgraph C_n [clockwise, n=5] };
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\filldraw(0,2)--(2,0)-|cycle(0,0)arc(270:315:2)coordinate(a)--($(a)!2!(45:{sqrt(2)})$)arc(135:180:2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xtick={0,1,2,...,20},
xticklabels={a,b,c,d,e,f,g,h,i},
xticklabel style={
anchor=base,
yshift=-\baselineskip,
},
]
\addplot+ [smooth] coordinates {
(0,42)
(1,50)
(2,80)
(5,60)
(6,62)
(8,90)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{label/align = smart}
\def\DIR{0,45,90,135,180,-90,-45,-135}
\foreach \i in \DIR {
\draw (0,0) to[R=\i, *-o] (\i:2.5);
}
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[op amp]{OA1};
\end{circuitikz}\ctikzloadstyle{example}
\begin{circuitikz}[example circuit style]
\draw(0,0)node[op amp]{OA1};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=10pt,multi]{standalone}
\usepackage{forest}
\useforestlibrary{linguistics}\standaloneenv{forest}\forestset{rectangle tree/.style={draw tree stage/.style={for root'={draw tree box=0,draw tree,TeX={\tikz{\node {\box0};
}}}}},pretty nice empty nodes/.style={for tree={calign=fixed edge angles,parent anchor=children,delay={if content={}{inner sep=0pt,edge path={\noexpand\path [\forestoption{edge}] (!u.parent anchor) -- (.children)\forestoption{edge label};
}}{}}}}}
\begin{document}
\begin{forest}baseline,rectangle tree,where n children=0{tier=word}{},pretty nice empty nodes[VP$_1$[read][NP$_1$,[the][[note][PP$_1$[on the table,roof]]]]]\end{forest}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{
every axis plot post/.append style={mark=none},
}
\begin{axis}[
legend pos=north west,
domain=0:1,
]
\addplot {x^2};
\addplot {exp(x)};
\legend{$x^2$,$e^x$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\tikzset{
every pin/.style={fill=yellow!50!white,rectangle,rounded corners=3pt,font=\tiny},
small dot/.style={fill=black,circle,scale=0.3},
}
\begin{axis}[
clip=false,
title=How \texttt{axis description cs} works in 3D,
]
\addplot3 coordinates {(-5,-5,-5) (5,5,5)};
\draw [black!15] (axis description cs:0,0) rectangle (axis description cs:1,1);
\node [small dot,pin=120:{$(0,0)$}] at (axis description cs:0,0) {};
\node [small dot,pin=-30:{$(1,1)$}] at (axis description cs:1,1) {};
\node [small dot,pin=-90:{$(1.03,0.5)$}] at (axis description cs:1.03,0.5) {};
\node [small dot,pin=125:{$(0.5,0.5)$}] at (axis description cs:0.5,0.5) {};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american, voltage shift=0.5]
\draw (0,0)
to[isource, l=$I_0$, v=$V_0$] (0,3)
to[short, -*, f=$I_0$] (2,3)
to[R=$R_1$, f>_=$i_1$] (2,0) -- (0,0);
\draw (2,3) -- (4,3)
to[R=$R_2$, f>_=$i_2$]
(4,0) to[short, -*] (2,0);
\draw[red, thick] (0.6,2.1) rectangle (4.2,3.8)
node[pos=0.5, above]{KCL};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2.5em,bond offset=1pt,compound sep=5em,arrow offset=6pt}\newcommand*\degres{\ensuremath{{}^\circ}}\definesubmol\cycleoplus{-[,0.25,,,draw=none]\oplus}\definesubmol{so2oh}{S(=[::90]O)(=[::-90]O)-OH}
\begin{document}
\schemestart[,1.5]\chemname{\chemfig{*6(=-*6(-=-=-)=-=-)}}{Naphtalene}\+\chemfig{H_2SO_4}\arrow(nph.mid east--.south west){->[80\degres C]}[45]\chemname{\chemfig{*6(=-*6(-=-(!\cycleoplus)-(-SO_3H)-)=-=-)}}{Ion 1-arenium}\arrow(.mid east--.mid west)\chemname{\chemfig{*6(=-*6(-=-=(-!{so2oh})-)=-=-)}}{Acide 1-naphthalenesulfonique}\arrow(@nph.mid east--.north west){->[160\degres C]}[-45]\chemname{\chemfig{*6(=-*6(-=-(-SO_3H)-(!\cycleoplus)-)=-=-)}}{Ion 2-arenium}\kern-4em\arrow(.mid east--.mid west)\chemname{\chemfig{*6(=-*6(-=-(-!{so2oh})=-)=-=-)}}{Acide 2-naphthalenesulfonique}\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usepackage{mathrsfs,amssymb}
\begin{document}
\begin{tikzpicture}[thick]
\draw (-5,-1) -- (-5,-3);
\draw (-5,-2) -- (-2,-2);
\draw (-2,-1) -- (-2,-3);
\filldraw (-4,-2) circle (0.075);
\filldraw (-3,-2) circle (0.075);
\filldraw (-5,-1) circle (0.075);
\filldraw (-5,-2) circle (0.075);
\filldraw (-5,-3) circle (0.075);
\filldraw (-2,-1) circle (0.075);
\filldraw (-2,-2) circle (0.075);
\filldraw (-2,-3) circle (0.075);
\filldraw (3,-1) circle (0.075);
\filldraw (2,-2) circle (0.075);
\filldraw (4,-2) circle (0.075);
\filldraw (3,-3) circle (0.075);
\draw (3,-1) -- (2,-2) -- (3,-3) -- (4,-2) -- cycle;
\draw (3,-1) -- (3,-3);
\draw (2,-2) -- (4,-2);
\filldraw (2.5,0) circle (0.075);
\filldraw (3.5,0) circle (0.075);
\draw (2.5,0) -- (3,-1) -- (3.5,0) -- cycle;
\filldraw (2.5,-4) circle (0.075);
\filldraw (3.5,-4) circle (0.075);
\draw (2.5,-4) -- (3,-3) -- (3.5,-4) -- cycle;
\foreach \x in {1.5,2.5,3.5,4.5}{\filldraw (\x,1) circle (0.075);
\filldraw (\x,-5) circle (0.075);
\draw (2.5,0) -- (\x,1) -- (3.5,0);
\draw (2.5,-4) -- (\x,-5) -- (3.5,-4);
}\draw (1.5,1) -- (2.5,1);
\draw (3.5,1) -- (4.5,1);
\draw (1.5,-5) -- (2.5,-5);
\draw (3.5,-5) -- (4.5,-5);
\filldraw (1,-1.5) circle (0.075);
\filldraw (1,-2.5) circle (0.075);
\draw (1,-1.5) -- (2,-2) -- (1,-2.5) -- cycle;
\filldraw (5,-1.5) circle (0.075);
\filldraw (5,-2.5) circle (0.075);
\draw (5,-1.5) -- (4,-2) -- (5,-2.5) -- cycle;
\foreach \x in {-.5,-1.5,-2.5,-3.5}{\filldraw (0,\x) circle (0.075);
\filldraw (6,\x) circle (0.075);
\draw (1,-1.5) -- (0,\x) -- (1,-2.5);
\draw (5,-1.5) -- (6,\x) -- (5,-2.5);
}\draw (0,-.5) -- (0,-1.5);
\draw (0,-2.5) -- (0,-3.5);
\draw (6,-.5) -- (6,-1.5);
\draw (6,-2.5) -- (6,-3.5);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\foreach \a in {3,...,7}{
\draw[blue, dashed] (\a*2,0) circle(0.5cm);
\node[regular polygon, regular polygon sides=\a, minimum size=1cm, draw] at (\a*2,0) {};
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\tikz {
\draw [help lines] (0,0) grid (3,2);
\draw (2,0) arc [x radius=1, y radius=2, start angle=0, end angle=180]
node foreach \t in {0,0.125,...,1} [pos=\t,auto] {\t};
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
width=0.95\textwidth,
height=0.45\textwidth,
xlabel=Dataset Size,
ylabel=Accuracy,
xmode=log,
xmin=10000, xmax=450000,
xtick={12000, 25000, 50000, 100000, 200000, 400000},
xticklabels={12K, 25K, 50K, 100K, 200K, 400K},
ymin=0.48, ymax=0.82,
ytick={0.5, 0.6, 0.7, 0.8},
grid=both,
major grid style={line width=.2pt,draw=gray!50},
]
\addplot[smooth,color=orange,mark=square*] plot coordinates {
(12000, 0.61)
(25000, 0.66)
(50000, 0.67)
(100000, 0.7)
(200000, 0.7)
(400000, 0.71)
};
\addlegendentry{Combined}
\addplot[smooth, opacity=0.3, name path=TTI1,color=orange,forget plot] plot coordinates {
(12000, 0.58)
(25000, 0.64)
(50000, 0.66)
(100000, 0.69)
(200000, 0.7)
(400000, 0.7)
};
\addplot[smooth, opacity=0.3, name path=TTI2,color=orange,forget plot] plot coordinates {
(12000, 0.64)
(25000, 0.68)
(50000, 0.68)
(100000, 0.71)
(200000, 0.7)
(400000, 0.72)
};
\addplot[color=orange, opacity=0.4, fill opacity=0.1, forget plot] fill between[of=TTI1 and TTI2];
\addplot[smooth,mark=triangle*,color=red] plot coordinates {
(12000, 0.54)
(25000, 0.58)
(50000, 0.61)
(100000, 0.62)
(200000, 0.63)
(400000, 0.63)
};
\addlegendentry{Image-to-Image}
\addplot[smooth, opacity=0.3, name path=TTI1,color=red,forget plot] plot coordinates {
(12000, 0.49)
(25000, 0.56)
(50000, 0.59)
(100000, 0.60)
(200000, 0.61)
(400000, 0.60)
};
\addplot[smooth, opacity=0.3, name path=TTI2,color=red,forget plot] plot coordinates {
(12000, 0.59)
(25000, 0.60)
(50000, 0.63)
(100000, 0.64)
(200000, 0.65)
(400000, 0.66)
};
\addplot[color=red, opacity=0.4, fill opacity=0.1, forget plot] fill between[of=TTI1 and TTI2];
\addplot[smooth,color=blue,mark=*] plot coordinates {
(12000, 0.56)
(25000, 0.61)
(50000, 0.60)
(100000, 0.62)
(200000, 0.62)
(400000, 0.64)
};
\addlegendentry{Text-to-Image}
\addplot[smooth, opacity=0.3, name path=TTI1,color=blue,forget plot] plot coordinates {
(12000, 0.58)
(25000, 0.63)
(50000, 0.62)
(100000, 0.63)
(200000, 0.63)
(400000, 0.65)
};
\addplot[smooth, opacity=0.3, name path=TTI2,color=blue,forget plot] plot coordinates {
(12000, 0.54)
(25000, 0.59)
(50000, 0.58)
(100000, 0.61)
(200000, 0.61)
(400000, 0.63)
};
\addplot[color=blue, opacity=0.4, fill opacity=0.1, forget plot] fill between[of=TTI1 and TTI2];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{scope}[thick, every node/.style={sloped,allow upside down}, scale=0.5]\draw (3,0) node[inner sep=0] (v30) {} -- (3,1) node[inner sep=0] (v31) {};
\draw (2.5,2) node[inner sep=0] (v22) {};
\draw (3,3) node[inner sep=0] (v33) {} -- (3,4) node[inner sep=0] (v34) {};
\draw [color=blue] (v31) to [bend right=70] (v33);
\draw [color=blue] (v30) to [bend left = 50] (v22);
\draw [color=blue] (v22) to [bend left =50] (v34);
\filldraw (v30) circle (2.5pt);
\filldraw (v31) circle (2.5pt);
\filldraw (v22) circle (2.5pt);
\filldraw (v33) circle (2.5pt);
\filldraw (v34) circle (2.5pt);
\draw (3,-0.5) node[left]{} (3,1) node[right]{} (2.5,2) node[left]{} (1,2) node[left]{$ $};
\draw (3,4) node[right]{$ $} (3,3) node[right]{$ $} (2,3) node[left]{$ $} (2,2) node[right]{$ $};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{smithchart}
\begin{document}
\begin{tikzpicture}[scale=0.75]
\begin{smithchart}[
title=Huge Smith Chart (rescaled),
width=20cm,
]
\addplot coordinates {(0.5,0.2) (1,0.8) (2,2)};
\end{smithchart}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [math nodes, nodes={circle, draw}] { a_1 -> {b^2, c_3^n} };
\end{document}
\documentclass[tikz, border=1pt]{standalone}
\begin{document}
\begin{tikzpicture}[scale=0.5]
\draw[thick] (0,0) -- (4,0);
\foreach \x in {0,1,2,3,4}
\node at (\x,0) [circle,fill=black,inner sep=0pt,minimum size=.15cm] {};
\node[anchor=north] at (2.5,0) {$4$};
\node[anchor=north] at (3.5,0) {$4$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,datavisualization,datavisualization.formats.functions}
\begin{document}
\tikz \datavisualization [school book axes, visualize as smooth line, x axis={ticks={major={at={-1,0.5,(pi/2)}}}}] data [format=function] {var x : interval [-1.25:2];
func y = \value x * \value x / 2;
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz\graph[simple]{a->{b->{c,d},e->{f,g},h},{[edges=red]a->e->{f,g}}};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,verbatim,amssymb,amsfonts,amscd,graphicx}
\usepackage[latin2]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat = newest}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\draw[->] (-1,0) -- (1,0) node[right] {$x(\theta)$};
\draw[->] (0,-1.2) -- (0,1) node[above] {$y(\theta)$};
\draw[thick,variable=\t,domain=0.1:3.5,samples=500] plot ({sin((3*\t) r)*cos((\t) r)},{sin((3*\t) r)*sin((\t) r)});
\draw (0,-1.5) node {\footnotesize$\bigl(x(\theta),y(\theta)\bigr) = $};
\draw (0,-1.8) node {\footnotesize$(\sin(3 \theta)\cos \theta, \sin(3\theta)\sin \theta)$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}[]
\begin{axis}[xmin=-4*pi, xmax=2*pi, domain=-4*pi:2*pi, samples=301, axis x line = center, axis y line = center, enlarge x limits, enlarge y limits, xlabel = {$x$}, ylabel = {$y$}, axis line style = {ultra thick}, clip mode = individual]\path[name path=axis] (axis cs:0,0) -- (axis cs:1,0);
\addplot[thick, blue, name path=f] {x*sin(deg(x))};
\addplot[green] fill between[of=f and axis];
\node at (-2.5*pi, 1) {$\mathbf{\pi}$};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
fit,
shapes.geometric
}
\begin{document}
\begin{tikzpicture}[level distance=8mm, sibling distance=1cm]
\node (root) {root}
child { node (a) {a} }
child { node (b) {b}
child { node (d) {d} }
child { node (e) {e} } }
child { node (c) {c} };
\node[draw=red,inner sep=0pt,thick,ellipse,fit=(root) (b) (d) (e)] {};
\node[draw=blue,inner sep=0pt,thick,ellipse,fit=(b) (c) (e)] {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{siunitx}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=0.8, transform shape]
\draw (0,0) node[above]{$v_i$} to[short, o-] ++(1,0)
node[op amp, noinv input up, anchor=+](OA){\texttt{OA1}}
(OA.-) -- ++(0,-1) coordinate(FB)
to[R=$R_1$] ++(0,-2) node[ground]{}
;
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw(0,0)to[pD](2,0);
\end{circuitikz}
\end{document}