AIGrounding/Diagram-MMU huggingface dataset:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{chains}
\tikzstyle{sha}=[draw,circle,fill=green!20,opacity=.8,on chain,join,inner sep=.2pt]
\begin{document}
\begin{tikzpicture}[node distance=4mm and 6mm,every join/.style={->},>=latex,start chain=M going above]
\node[sha](C0){$C_{0}$};
\begin{scope}[start branch=B1 going above right]
\node[sha](C4){$C_{4}$};
\node[sha,on chain=going above](C5){$C_{5}$};
\end{scope}\foreach\i in{1,2}{\node[sha](C\i){$C_{\i}$};
}\node[sha,join=with C5]{$C_{3}$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=7pt]{standalone}
\begin{document}
\begin{tikzpicture}[every node/.style={fill=red,circle,text=white,inner sep=0,minimum size=14},every path/.style={draw=white,double=black,very thick}]
\foreach \i in {-1,0,1}\foreach[evaluate={\k=int(5-3*\j+\i)}] \j in {-1,0,1}\node (\k) at (\i,\j) {\char\numexpr64+\k\relax};
\foreach[count=\i, evaluate={\k=int(9+\i)}] \a in {45,0,-45,-90}\node (\k) at (\a:3) {\char\numexpr64+\k\relax};
\draw (1) to (2) to (3) to[out=0,in=135] (11);
\draw (4) to (5) to (6) to (11);
\draw (7) to (8) to (9) to[out=0,in=-135] (11);
\draw (1) to (4) to (7) to[out=-90,in=135] (13);
\draw (2) to (5) to (8) to (13);
\draw (3) to (6) to (9) to[out=-90,in=45] (13);
\draw (7) to[out=135,in=135,distance=100] (2) (2) to (6) (6) to[out=-45,in=90] (12);
\draw (1) to (5) to (9) to (12);
\draw (3) to[out=135,in=135,distance=100] (4) (4) to (8) (8) to[out=-45,in=180] (12);
\draw (1) to[out=-135,in=-135,distance=100] (8) (8) to (6) (6) to[out=45,in=-90] (10);
\draw (7) to (5) to (3) to (10);
\draw (9) to[out=-135,in=-135,distance=100] (4) (4) to (2) (2) to[out=45,in=180] (10);
\draw[bend left=17] (10) to (11) (11) to (12) (12) to (13);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tikzset{every picture/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=2]
\tkzDefPoints{0/0/O,2/2/A,2/1/B}
\tkzDrawSector[rotate,orange](O,A)(20)
\tkzDrawSector[rotate,teal](O,B)(-20)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
}
\begin{document}
\begin{tikzpicture}
\datavisualization [school book axes={standard labels},
visualize as smooth line,
clean ticks,
x axis={label=$x$},
y axis={label=$f(x)$}]
data [format=function] {
var x : interval [-1:1];
func y = \value x*\value x + 1;
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\newcommand{\boundellipse}[3]{(#1) ellipse (#2 and #3)}
\begin{document}
\begin{tikzpicture}[
thick,
fsnode/.style={circle, fill=black, inner sep = 1pt},
ssnode/.style={circle, fill=red, inner sep = 2.5pt},
shorten >= -5pt,
shorten <= -5pt,
scale =.75
]
\node at (0,4) {$M_i$};
\draw \boundellipse{0,3}{3.5}{.5};
\draw \boundellipse{0,1.5}{3.5}{.5};
\draw \boundellipse{0,0}{3.5}{.5};
\node[fsnode] at (0,-.75) (a) {};
\node[fsnode] at (0,-1) (a) {};
\node[fsnode] at (0,-1.25) (a) {};
\draw \boundellipse{0,-2}{3.5}{.5};
\node[ssnode, label={[xshift=1em, yshift=-1em] $v_1$}] at (-2.25,3) (v1) {};
\node[ssnode, label={[xshift=1em, yshift=-1em] $v_2$}] at (-1.25,1.45) (v2) {};
\node[ssnode, label={[xshift=1em, yshift=-1em] $v_3$}] at (-.25,3) (v2) {};
\node[ssnode, label={[xshift=-1em, yshift=-1em] $v_r$}] at (2.25,0) (v2) {};
\node[ssnode, label={[xshift=-1em, yshift=-1em] $v_4$}] at (-2,0) (v2) {};
\node[label={[xshift=0em, yshift=-1.1em] \Large$\cdots$}] at (0,0) (dots) {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*5(-\chembelow{A}{B}--\chemabove{C}{D}--)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R] ++(2,0)
edge[dashed, red] ++(1,0)
++(1,0) to [R] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{pgfpicture}\pgfsetarrowsend{to}\pgfpathmoveto{\pgfpointorigin}\pgfpathlineto{\pgfpointxyz{0}{0}{1}}\pgfusepath{stroke}\pgfpathmoveto{\pgfpointorigin}\pgfpathlineto{\pgfpointxyz{0}{1}{0}}\pgfusepath{stroke}\pgfpathmoveto{\pgfpointorigin}\pgfpathlineto{\pgfpointxyz{1}{0}{0}}\pgfusepath{stroke}\end{pgfpicture}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}[baseline=(origin)]
\begin{axis}[
width=100mm,
height=60mm,
view={135}{45},
xmin=0, xmax=1, xlabel={$t$},
ymin=-1, ymax=1, ylabel={$y$},
zmin=-2, zmax=2, zlabel={$z$},
zlabel style={rotate=-90},
]
\coordinate (origin) at (axis cs:0,0,0);
\fill[blue] (axis cs:0,0,0) -- (axis cs:0,-1,0) -- (axis cs:1,-1,2) -- (axis cs:1,0,2) -- cycle;
\fill[blue] (axis cs:0,0,0) \foreach \pt in {0.1,0.2,...,1}{ -- (axis cs:\pt,0,{2*\pt})} \foreach \pt in {1,0.9,...,0}{ -- (axis cs:\pt,{\pt^2},{(-2)*\pt})};
\fill[blue] (axis cs:0,0,0) -- (axis cs:0,1,0) -- (axis cs:1,1,-2) \foreach \pt in {1,0.9,...,0}{ -- (axis cs:\pt,{\pt^2},{(-2)*\pt})};
\draw[variable=\t,domain=0:1,red,thick] plot (axis cs:\t,0,{2*\t});
\draw[variable=\t,domain=0:1,red,thick] plot (axis cs:\t,{\t^2},{(-2)*\t});
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}[line width=.2pt]
\tkzDefPoint(2,1){A}\tkzDefPoint(6,4){B}\tkzDrawSegment(A,B)\tkzMarkSegment[color=gray,pos=0.2,mark=s|](A,B)\tkzMarkSegment[color=gray,pos=0.4,mark=s||](A,B)\tkzMarkSegment[color=brown,pos=0.6,mark=||](A,B)\tkzMarkSegment[color=red,pos=0.8,mark=|||](A,B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[main/.style={draw,circle,scale=0.58}]
\node[main](1){};
\node[main](2)[right of=1]{};
\node[main](3)[right of=2]{};
\node[main](4)[right of=3]{};
\node[main](5)[right of=4]{};
\node[main](6)[below of=1]{};
\node[main](7)[below of=2]{};
\node[main](8)[below of=3]{};
\node[main](9)[below of=4]{};
\node[main](10)[below of=5]{};
\node[main](11)[below of=6]{};
\node[main](12)[below of=7]{};
\node[main](13)[below of=8]{};
\node[main](14)[below of=9]{};
\node[main](15)[below of=10]{};
\node[main](16)[below of=11]{};
\node[main](17)[below of=12]{};
\node[main](18)[below of=13]{};
\node[main](19)[below of=14]{};
\node[main](20)[below of=15]{};
\draw(1)--(2);
\draw(1)--(6);
\draw(2)--(3);
\draw(2)--(7);
\draw(2)--(8);
\draw(3)--(7);
\draw(3)--(4);
\draw(3)--(8);
\draw(4)--(5);
\draw(4)--(9);
\draw(4)--(10);
\draw(5)--(9);
\draw(5)--(10);
\draw(6)--(7);
\draw(6)--(11);
\draw(6)--(12);
\draw(7)--(11);
\draw(7)--(12);
\draw(7)--(8);
\draw(8)--(13);
\draw(8)--(9);
\draw(8)--(14);
\draw(9)--(13);
\draw(9)--(14);
\draw(9)--(10);
\draw(10)--(15);
\draw(11)--(12);
\draw(11)--(16);
\draw(12)--(13);
\draw(12)--(17);
\draw(12)--(18);
\draw(13)--(18);
\draw(13)--(17);
\draw(13)--(14);
\draw(14)--(15);
\draw(14)--(20);
\draw(14)--(19);
\draw(15)--(19);
\draw(15)--(20);
\draw(16)--(17);
\draw(17)--(18);
\draw(18)--(19);
\draw(19)--(20);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{
calc,
patterns,
patterns.meta,
arrows.meta,
decorations.pathreplacing,
decorations.markings,
backgrounds,
shapes.geometric,
positioning,
intersections,
through,
angles,
quotes,
}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpColors[background=white,text=black]
\tkzSetUpPoint[size=2]
\tkzSetUpLine[line width=.2pt]
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}
\begin{tikzpicture}[scale=.5]
\tkzDefPoint(0,0){A}
\tkzDefPoint(3,-4){B}
\tkzDefMidPoint(A,B) \tkzGetPoint{M}
\tkzCalcLength(M,B)\tkzGetLength{rAB}
\tkzDrawCircle(A,B)
\tkzDrawPoints(A,B)
\tkzLabelPoints(A,B)
\tkzDrawSegment[dashed](A,B)
\tkzLabelSegment(A,B){$\pgfmathprintnumber{\rAB}$}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar]
\addplot3 [
surf,
faceted color=blue,
samples=15,
domain=0:1,y domain=-1:1
] {x^2 - y^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\makeatletter\def\showcoord(#1)<#2:#3>{node[circle,red,draw,inner sep=1pt,pin={[red,inner sep=.5pt,font=\small,pin distance=#3\pgf@circ@Rlen,pin edge=red]#2:#1}](#1){}}\def\showcoordb(#1)<#2:#3>{node[circle,blue,draw,inner sep=1pt,pin={[blue,inner sep=.5pt,font=\small,pin distance=#3\pgf@circ@Rlen,pin edge=blue]#2:#1}](#1){}}\makeatother
\begin{document}
\begin{circuitikz}
\begin{scope}[scale=2,transform shape]
\clip(-1,-.4)rectangle(1,.6);
\draw(0,0)node[rotary switch=9 in 90 wiper 10](Z){};
\draw[dashed,blue](Z.cin)--(Z.sqout 4);
\end{scope}\path(Z.aout 4)\showcoord(aout 4)<-15:0.4>;
\path(Z.sqout 4)\showcoord(sqout 4)<0:0.4>;
\path(Z.out 3)\showcoord(out 3)<15:0.4>;
\path(Z.cout 3)\showcoord(cout 3)<180:0.4>;
\draw(8,0)node[rotary switch -=31 in 150 wiper 10](D){};
\foreach\i in{1,...,31}\draw(D.sqout \i)--(D.aout \i);
\foreach\l/\a/\d in{north/90/0.2,north east/45/0.2,east/0/0.2,south east/-45/0.2,south/-90/0.2,south west/-135/0.2,west/180/0.2,north west/135/0.2,center/-145/0.7}\path(D.ext \l)\showcoord(ext \l)<\a:\d>;
\path(D.aout 12)\showcoordb(aout 12)<-5:0.4>;
\path(D.sqout 12)\showcoordb(sqout 12)<0:0.4>;
\draw[blue,densely dotted](D.ext north west)rectangle(D.ext south east);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (1,0) circle [radius=1.5];
\fill (1,0) circle [x radius=1cm, y radius=5mm, rotate=30];
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz,xcolor}
\definecolor{b}{RGB}{74,144,226}
\definecolor{o}{RGB}{245,166,35}
\begin{document}
\begin{tikzpicture}[x=0.6pt,y=0.6pt,yscale=-1,every node/.style={anchor=north west,inner sep=0.75pt}]
\draw(81.33,157.33)--(199.33,157.33);
\draw[shift={(201.33,157.33)},rotate=180,line width=0.75](10.93,-3.29)..controls(6.95,-1.4)and(3.31,-0.3)..(0,0)..controls(3.31,0.3)and(6.95,1.4)..(10.93,3.29);
\draw[dashed,b](172,48.5)--(172,187.5);
\draw(201.33,147.33)--(201.33,167.33);
\draw(140.33,137.33)--(239.33,137.33);
\draw[shift={(241.33,137.33)},rotate=180,line width=0.75](10.93,-3.29)..controls(6.95,-1.4)and(3.31,-0.3)..(0,0)..controls(3.31,0.3)and(6.95,1.4)..(10.93,3.29);
\draw(241.33,126.33)--(241.33,146.33);
\draw(81.33,146.33)--(81.33,166.33);
\draw(141.33,127.33)--(141.33,147.33);
\draw[o](101,110.5)--(170.33,110.34);
\draw[shift={(172.33,110.33)},rotate=179.87,o,line width=0.75](10.93,-3.29)..controls(6.95,-1.4)and(3.31,-0.3)..(0,0)..controls(3.31,0.3)and(6.95,1.4)..(10.93,3.29);
\draw[o](172.33,100.33)--(172.33,120.33);
\draw[o](101.33,99.33)--(101.33,119.33);
\draw[o](172,80.5)--(219,80.5);
\draw[shift={(221,80.5)},rotate=180,o,line width=0.75](10.93,-3.29)..controls(6.95,-1.4)and(3.31,-0.3)..(0,0)..controls(3.31,0.3)and(6.95,1.4)..(10.93,3.29);
\draw[o](172.33,69.33)--(172.33,89.33);
\draw[o](221.33,69.33)--(221.33,89.33);
\node at (208.25,151.58) {$\bar{\mu}_A$};
\node at (51.8,147.51) {$\hat{\mu}_A$};
\node at (116.44,130.43) {$\hat{\mu}_B$};
\node at (249.69,127.16) {$\bar{\mu}_B$};
\node at (165,25.96) {$\hat{\mu}^*$};
\node at (65,102.51) {$\hat{\mu}_A'$};
\node at (145.8,72.51) {$\hat{\mu}_B'$};
\node at (190,102.16) {$\bar{\mu}_A'$};
\node at (232.69,71.16) {$\bar{\mu}_B'$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title=Default arguments]
\addplot+ [
scatter,
scatter src=y,
] {2*x+3};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-network}
\usepackage{colortbl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{tikzpicture}
\node at (-0.5,0.5)(offs){};
\node at (0,2.4)(0a){};
\node at (1.65,2.4)(1a){};
\node at (3.35,2.4)(2a){};
\node at (5.0,2.4)(3a){};
\node at (6.65,2.4)(4a){};
\node at (8.35,2.4)(5a){};
\SetVertexStyle[FillColor=gray!25]\Vertex[x=4.5,y=2,label=0]{0}\Vertex[x=0.84,y=0.5,label=1]{1}\Vertex[x=3.35,y=1.2,label=2]{2}\Vertex[x=6.65,y=1.7,label=3]{3}\path[->] (0) edge node[align=right,shape=rectangle,fill=white,sloped] {PRED} (3);
\path[->] (2) edge node[align=right,shape=rectangle,fill=white,sloped] {EXT} (1);
\path[->] (3) edge node[align=right,shape=rectangle,fill=white,sloped] {PAT} (2);
\path[dashed] (1) edge (0a);
\path[dashed] (1) edge (1a);
\path[dashed] (2) edge (2a);
\path[dashed] (3) edge (3a);
\path[dashed] (3) edge (4a);
\path[dashed] (3) edge (5a);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usetikzlibrary{calc}
\def\coord(#1){coordinate(#1)}
\def\coordd(#1){node[circle, red, draw, inner sep=1pt, pin={[red, inner sep=0.5pt, font=\scriptsize, pin distance=0.2cm, fill=white, fill opacity=0.5, text opacity=1, pin edge={red}]-45:#1}](#1){}}
\begin{document}
\begin{circuitikz}[american]
\ctikzset{multipoles/dipchip/pin spacing=0.7}
\draw (0,0) node[dipchip, external pins width=0.4, external pad fraction=4](C){IC1};
\foreach \p in {1,...,8}
\path (C.pin \p) \coord(pin \p) (C.bpin \p) \coordd(bpin \p);
\draw (C.pin 7) to[R] ++(3,0) node[dipchip, anchor=pin 2](D){IC2};
\foreach \p in {center, nw, ne, se, sw, north, south, west, east}
\path (D.\p) \coord(\p);
\path (D.text) \coordd(text);
\draw (D.pin 7) ++(2,0) node[dipchip, anchor=pin 2, no topmark](E){};
\foreach \p in {center, n, w, e, s, dot}
\path (E.\p) \coord(\p);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot {x}
[left,/pgf/number format/relative=0]
node [pos=0.5] {
\pgfplotspointplotattime
$(\pgfmathprintnumber{\pgfkeysvalueof{/data point/x}},
\pgfmathprintnumber{\pgfkeysvalueof{/data point/y}})$
}
node [pos=0.25] {
\pgfplotspointplotattime
$(\pgfmathprintnumber{\pgfkeysvalueof{/data point/x}},
\pgfmathprintnumber{\pgfkeysvalueof{/data point/y}})$
}
node [pos=0.7,pin=180:{
\pgfplotspointplotattime{0.7}
$(\pgfmathprintnumber{\pgfkeysvalueof{/data point/x}},
\pgfmathprintnumber{\pgfkeysvalueof{/data point/y}})$
}] {}
;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines](0,0)grid(3,2);
\pgftransformtriangle{\pgfpoint{1cm}{0cm}}{\pgfpoint{0cm}{2cm}}{\pgfpoint{3cm}{1cm}}\draw(0,0)--(1pt,0pt)--(0pt,1pt)--cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{mathabx,txfonts,tikz}
\tikzset{anchorbase/.style={baseline={([yshift=-.5ex]current bounding box.center)}
}}
\begin{document}
\begin{tikzpicture}[scale=1.1,anchorbase]
\draw(-.5,-.2)--(-.5,.2)--(.5,.2)--(.5,-.2)--(-.5,-.2);
\node at(0,0){$\scriptstyle f$};
\draw[thick](-.4,-.2)--(-.4,-.5)(.4,-.2)--(.4,-.5)(-.4,.2)--(-.4,.5)(.4,.2)--(.4,.5);
\node at(0,.35){$\cdot$};
\node at(.2,.35){$\cdot$};
\node at(-.2,-.35){$\cdot$};
\node at(0,-.35){$\cdot$};
\node at(.2,-.35){$\cdot$};
\draw[thick](-.4,.35)--(-.25,.35);
\node at(-.25,.35){$\bullet$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\begin{tikzpicture}[help lines/.style={thin,draw=black!50}]
\draw[help lines] (0,0) grid (4,4);
\draw (0,0) -- (2,1);
\draw (2,2) circle (0.5);
\node at (1,3) {\chemfig{A=B-[:30]C}};
\node[draw,red,anchor=base] at (3,2) {\chemfig{X>[2,,,,blue]Y}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[nmos] (mos) {}
(mos.gate) node[anchor=east] {G}
(mos.drain) node[anchor=south] {D}
(mos.source) node[anchor=north] {S};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[shape=circle,draw=black] (BG1) at (1,0) {BG1};
\node[shape=circle,draw=black,dotted] (BG2) at (2,1) {BG2};
\node[shape=circle,draw=black] (BG3) at (0,1) {BG3};
\path [->](BG2) edge node[left] {} (BG1);
\path [->](BG3) edge node[left] {} (BG1);
\path [->](BG1) edge node[left] {} (BG3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[pigfete, yscale=-1] (pigfete) {}
(pigfete.bulk) node[anchor=west] {Bulk}
(pigfete.G) node[anchor=east] {G}
(pigfete.D) node[anchor=south] {D}
(pigfete.S) node[anchor=north] {S};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw[color=red] (0,0) to[V=1<\volt>, color=red] (0,2);
\draw (0,2) to[R=1<\ohm>] (2,2)
to[C=1<\farad>] (2,0) -- (0,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing, decorations.markings}
\tikzset{
on each segment/.style={
decorate,
decoration={
show path construction,
moveto code={},
lineto code={
\path[#1]
(\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
},
curveto code={
\path[#1] (\tikzinputsegmentfirst)
.. controls
(\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb)
..
(\tikzinputsegmentlast);
},
closepath code={
\path[#1]
(\tikzinputsegmentfirst) -- (\tikzinputsegmentlast);
},
},
},
mid arrow/.style={postaction={decorate,decoration={
markings,
mark=at position .5 with {\arrow[#1]{stealth}}
}}},
}
\begin{document}
\begin{tikzpicture}[baseline=-.5ex]
\foreach \i in {-2,-1,0,1,2} {
\draw[fill] (1,\i) circle (2pt);
}
\draw[fill] (0, 0) circle (2pt) (240:1) circle (2pt) (120:1) circle (2pt);
\draw[postaction={on each segment={mid arrow}}] (0,0) node[left] {$e_2$} -- node[pos=0.75, right] {$\varepsilon_6$} (240:1) node[below left] {$C_3$};
\draw[postaction={on each segment={mid arrow}}] (0,0) -- node[midway, below] {$\varepsilon_2$} (1,0);
\draw[postaction={on each segment={mid arrow}}] (0,0) -- node[pos=0.75, right] {$\varepsilon_5$} (120:1) node[above left] {$C_2$};
\draw[postaction={on each segment={mid arrow}}] (1,1) -- node[midway, right] {$\varepsilon_4$} (1,2) node[above] {$C_1$};
\draw[postaction={on each segment={mid arrow}}] (1,1) node[right] {$e_1$} -- node[midway, right] {$\varepsilon_1$} (1,0);
\draw[postaction={on each segment={mid arrow}}] (1,-1) -- node[midway, right] {$\varepsilon_3$} (1,0) node[right] {$C_0$};
\draw[postaction={on each segment={mid arrow}}] (1,-1) node[right] {$e_3$} -- node[midway, right] {$\varepsilon_7$} (1,-2) node[below] {$C_4$};
\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}
\begin{tikzpicture}[x=1.5cm,y=1cm]
\draw[help lines] (0cm,0cm) grid (3cm,2cm);
\draw (0,0) -- (xyz polar cs:angle=0,radius=1);
\draw (0,0) -- (xyz polar cs:angle=30,radius=1);
\draw (0,0) -- (xyz polar cs:angle=60,radius=1);
\draw (0,0) -- (xyz polar cs:angle=90,radius=1);
\draw (xyz polar cs:angle=0,radius=2)
-- (xyz polar cs:angle=30,radius=2)
-- (xyz polar cs:angle=60,radius=2)
-- (xyz polar cs:angle=90,radius=2);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[xscale=1.57]
\draw (0,0) sin (1,1) cos (2,0) sin (3,-1) cos (4,0) sin (5,1);
\draw[color=red] (0,1.5) cos (1,0) sin (2,-1.5) cos (3,0) sin (4,1.5) cos (5,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
matrix,
circuits.logic.US
}
\begin{document}
\begin{tikzpicture}[circuit logic US]
\matrix[column sep=7mm]
{
\node (i0) {0}; & & \\
& \node [and gate] (a1) {}; & \\
\node (i1) {0}; & & \node [or gate] (o) {};\\
& \node [nand gate] (a2) {}; & \\
\node (i2) {1}; & & \\
};
\draw (i0.east) -- ++(right:3mm) |- (a1.input 1);
\draw (i1.east) -- ++(right:3mm) |- (a1.input 2);
\draw (i1.east) -- ++(right:3mm) |- (a2.input 1);
\draw (i2.east) -- ++(right:3mm) |- (a2.input 2);
\draw (a1.output) -- ++(right:3mm) |- (o.input 1);
\draw (a2.output) -- ++(right:3mm) |- (o.input 2);
\draw (o.output) -- ++(right:3mm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\definecolor{c}{rgb}{0.0416666666666667,0,0}
\begin{tikzpicture}
\begin{axis}[width=11.0276041666667in,height=5.87479166666667in,area legend,scale only axis,clip=false,xmin=0,xmax=25,xtick={1,...,25},xticklabels={E,P,H,N,F,,E,P,H,N,F,,E,P,H,N,F,,E,P,H,N,F,},ymin=0,ymax=2,ylabel={CFU cm$^2$},legend style={draw=black,fill=white,legend cell align=left},yticklabel style={/pgf/number format/fixed},extra x ticks={6,12,18,24},extra x tick style={tickwidth=6ex,tick align=center,tick style={ultra thick,red},xticklabel={},xtick pos=left}]\addplot[ybar,bar width=0.10082380952381in,bar shift=-0.063014880952381in,fill=c,draw=black]coordinates{(1,0.04485625)(2,1.881133333)(3,1.197503086)(4,1.842835802)(5,0.3139072)(6,0)(7,0.04485625)(8,0.002466667)(9,0.578984568)(10,0.003676543)(11,0.3139072)(12,0)(13,0.000628571)(14,0.001266667)(15,0.576515432)(16,0.001048457)(17,0.30285028)(18,0)(19,0.04485625)(20,0.001266667)(21,0.576762346)(22,0.002796914)(23,0.30285028)};
\addlegendentry{4 ac.h$^{-1}$}\addplot[color=black,solid,forget plot]coordinates{(0,0)(25,0)};
\addplot[ybar,bar width=0.10082380952381in,bar shift=0.063014880952381in,fill=white,draw=black]coordinates{(1,0.04265625)(2,0.595466667)(3,0.499092593)(4,0.401030556)(5,0.170007298)(6,0)(7,0.04265625)(8,0.000133333)(9,0.306561728)(10,0.000462346)(11,0.170007298)(12,0)(13,5e-05)(14,0.0002)(15,0.306561728)(16,0.000462346)(17,0.159355735)(18,0)(19,0.04265625)(20,0.0002)(21,0.306592593)(22,0.000777778)(23,0.159355735)};
\addlegendentry{6 ac.h$^{-1}$}\foreach\l/\n in{3/1,9/2,15/3,21/4}{\edef\t{\noexpand\path(xticklabel cs:0)-|(\l,0)node[pos=0.5]{Patient \n};
}\t}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\usepgfplotslibrary{fillbetween}
\definecolor{zzttqq}{rgb}{0.6,0.2,0.0}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines = middle,
xmin=-5, xmax=5,
ymin=0, ymax=6,
xlabel=$t$, ylabel=$v$,
xtick={-4,...,4},
ytick={1,...,5},
width=4in
]
\addplot[draw=none, domain=-4:4, name path=A] {0};
\addplot[blue, thick, samples=100, domain=-4:4, name path=B] {(\x/2)^4-\x^2+5};
\addplot[zzttqq, fill opacity=0.1] fill between[of=A and B, soft clip={domain=-2:2}];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\tikzstyle{level 1}=[level distance=1cm, sibling distance=1cm]
\tikzstyle{level 2}=[level distance=1cm, sibling distance=1cm]
\tikzstyle{level 3}=[level distance=1cm, sibling distance=1cm]
\node {$-\land$} child{node{$-\neg$} child{node{$+\alpha$}}} child{node{$-\neg$} child{node{$+\beta$}}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\definecolor{color1}{cmyk}{0.6,0.9,0.5,0.1}
\begin{document}
\definecolor{color1}{cmyk}{0.6,0.9,0.5,0.1}
\tikz \fill[color1]
(0,0) rectangle (1em,0.6em);
\end{document}