AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{graphs, graphs.standard,fit,positioning}
\begin{document}
\begin{tikzpicture}[main_node/.style={circle,fill=white,draw,minimum size=.2em,inner sep=1.5pt},cp/.style={fill=white,draw,rounded corners=.09cm,minimum size=1.4em,inner sep=1.4pt},scale=0.9]
\node[main_node,label=below:{}] (1) at (0,1) {0};
\node[main_node,label=below:{}] (2) at (0,0) {0};
\node[main_node,label=below:{}] (3) at (0,-1) {0};
\node[cp,label=below:{}] (4) at (1.5,0) {$k+1$};
\node[main_node,label=below:{}] (5) at (3,0) {0};
\node[cp,label=below:{}] (6) at (4.5,1) {$k$};
\node[cp,label=below:{}] (7) at (4.5,0) {$k$};
\node[cp,label=above:{}] (8) at (4.5,-1) {$k$};
\draw (1) -- (4) -- (2) (3) -- (4);
\draw (6) -- (5) -- (7) (4) -- (5) -- (8);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
point meta={
x<0 && y<0 ? nan : z
},
]
\addplot3 [surf] {exp(-sqrt(x^2 + y^2))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[thick, scale = 0.77]
\tikzstyle{vert}=[circle, draw, fill=black!10, inner sep=0pt, minimum width=4pt]
\foreach \x in {1,2,3,4,5}{
\node (k\x) at (4*\x - 4 +1.5,1.5) {$B_{\x}$};
\node[vert, label=below: {$a_{\x}$}] (a\x) at (4*\x - 4 +0,0) {};
\node[vert] (e\x) at (4*\x - 4+1,0) {};
\node[vert, label=below right: {$b_{\x}$}] (b\x) at (4*\x - 4+2,0) {};
\node[vert] (d\x) at (4*\x - 4+2.6,0.3) {};
\node[vert] (h\x) at (4*\x - 4+1,1) {};
\node[vert] (k1\x) at (4*\x - 4+0.5,1) {};
\node[vert] (f1\x) at (4*\x - 4+2,1) {};
\node[vert] (g1\x) at (4*\x - 4+1.5,1) {};
\node[vert] (f2\x) at (4*\x - 4+2,-1) {};
\node[vert] (g2\x) at (4*\x - 4+1.5,-1) {};
\draw (a\x) -- (e\x) -- (b\x) -- (d\x);
\draw (a\x) -- (h\x) -- (e\x) -- (f1\x) -- (b\x) -- (f2\x) -- (e\x) -- (g1\x) -- (f1\x);
\draw (e\x) -- (g2\x) -- (f2\x);
\draw (h\x) -- (k1\x) -- (a\x);
}
\node (h) at (11.25,7) {$H_3$};
\node[vert, label=above right: {$u_0$}] (u0) at (9.5,5) {};
\node[vert, label=left: {$u_1$}] (u1) at (9.5,6) {};
\node[vert, label=below left: {$u_2$}] (u2) at (9.5,7) {};
\node[vert, label=right: {$u_3$}] (u3) at (9.5,8) {};
\node[vert, label=right: {$u_4$}] (u4) at (9.5,9) {};
\node[vert] (x1) at (10.5,6) {};
\node[vert] (y1) at (10.5,7) {};
\node[vert] (x2) at (8.5,7) {};
\node[vert] (y2) at (8.5,8) {};
\draw (u0) -- (u1) -- (u2) -- (u3) -- (u4);
\draw (u1) -- (x1) -- (y1) -- (u2) -- (x1);
\draw (u2) -- (x2) -- (y2) -- (u3) -- (x2);
\draw (u0) to[out=180,in=135,distance=3cm] (a1);
\draw (u0) to[out=-160,in=60,distance=3cm] (b1);
\draw (u0) to[out=-140,in=120,distance=3cm] (a2);
\draw (u0) to[out=-120,in=60,distance=3cm] (b2);
\draw (u0) to[out=-100,in=120,distance=2cm] (a3);
\draw (u0) to[out=-80,in=60,distance=2cm] (b3);
\draw (u0) to[out=-60,in=120,distance=3cm] (a4);
\draw (u0) to[out=-40,in=60,distance=3cm] (b4);
\draw (u0) to[out=-20,in=120,distance=3cm] (a5);
\draw (u0) to[out=0,in=45,distance=3cm] (b5);
\node[vert, label=below:{$c_1$}] (c1) at (4,-4) {};
\node[vert, label=below:{$c_2$}] (c2) at (9.5,-4) {};
\node[vert, label=below:{$c_3$}] (c3) at (15,-4) {};
\draw (c1) to[out=135,in=-135,distance=2cm] (a1);
\draw (c1) to[out=45,in=-135,distance=2cm] (a3);
\draw (c2) to[out=135,in=-135,distance=2cm] (a2);
\draw (c2) to[out=100,in=-45,distance=2cm] (a3);
\draw (c2) to[out=30,in=-135,distance=2cm] (a5);
\draw (c3) to[out=135,in=-135,distance=2cm] (a4);
\draw (c3) to[out=45,in=-45,distance=2cm] (a5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb, amsmath, amsthm, graphicx, tikz}
\begin{document}
\begin{tikzpicture}[thick, scale=.7]
\tikzstyle{uStyle}=[shape = circle, minimum size = 6.0pt, inner sep = 0pt, outer sep = 0pt, draw, fill=white]
\tikzstyle{lStyle}=[shape = rectangle, minimum size = 20.0pt, inner sep = 0pt, outer sep = 2pt, draw=none, fill=none]
\tikzset{every node/.style=uStyle}
\begin{scope}[xshift=-2.2in]
\foreach \i in {1,2,3}\draw (90*\i-90:1.6cm) node(v\i) {};
\draw (260:1.6cm) node(v4){};
\draw (280:1.6cm) node(v5){};
\foreach \i/\j in {1/2,2/3,3/4,4/2,2/5,1/5}\draw (v\i) edge (v\j);
\end{scope}
\begin{scope}[xshift=0in]
\foreach \i in {1,2,3,4}\draw (90*\i:1.6cm) node (v\i) {};
\foreach \i/\j in {1/2,1/3,1/4,2/3,2/4,3/4}\draw (v\i) edge (v\j);
\foreach \i in{1,2,3,4}\draw (45+90*\i:1.5cm) node[lStyle]{$1$};
\draw (70:0.6cm) node[lStyle]{$2$};
\draw (155:0.6cm) node[lStyle]{$0$};
\end{scope}
\begin{scope}[xshift=2.2in,scale=1.1]
\foreach \i in {1,2,3}\draw (90*\i-97:1.6cm) node(v\i1) {};
\foreach \i in {1,2,3}\draw (90*\i-83:1.6cm) node(v\i2) {};
\draw (243:1.6cm) node(v41){};
\draw (283:1.6cm) node(v51){};
\draw (257:1.6cm) node(v42){};
\draw (297:1.6cm) node(v52){};
\foreach \i/\j in {1/2,2/3,3/4,4/2,2/5,1/5}\draw (v\i1) edge (v\j1);
\foreach \i/\j in {1/2,2/3,3/4,4/2,2/5,1/5}\draw (v\i1) edge (v\j2);
\foreach \i/\j in {1/2,2/3,3/4,4/2,2/5,1/5}\draw (v\i2) edge (v\j1);
\foreach \i/\j in {1/2,2/3,3/4,4/2,2/5,1/5}\draw (v\i2) edge (v\j2);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american,scale=0.7,transform shape]
\draw(0,0)node[nmos](Q1){{\raisebox{0pt}[\height][0pt]{Q1}}};
\draw(Q1.S)to[R,l2^=$R_S$ and \SI{5}{k\ohm}]++(0,-3)node[vee]{$V_{EE}=\SI{-10}{V}$};
\draw(Q1.D)to[R,l2_=$R_D$ and \SI{10}{k\ohm}]++(0,3)node[vcc]{$V_{CC}=\SI{10}{V}$};
\draw(Q1.S)to[short]++(2,0)to[C=$C_1$]++(0,-1.5)node[ground](GND){};
\draw(Q1.G)to[short]++(-1,0)coordinate(in)to[R,l2^=$R_G$ and \SI{1}{M\ohm}](in|-GND)node[ground]{};
\draw(in)to[C,l_=$C_2$,*-o]++(-1.5,0)node[left]{$v_i=v_{i1}$};
\end{circuitikz}
\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]\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]\tkzSetUpArc[color=gray,line width=.2pt]\tkzSetUpPoint[size=2,color=black]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
,new/.style={color=orange,line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\tkzDefPoint(0,0){O}\tkzDefPoint(2,-1){A}\tkzDefPoint(1,1){B}\tkzDrawSector[new,dashed](O,A)(B)\tkzDrawSector[new](O,B)(A)
\begin{scope}
\tkzClipSector(O,B)(A)\tkzDefSquare(O,B) \tkzGetPoints{B'}{O'}\tkzDrawPolygon[color=teal,fill=teal!20](O,B,B',O')
\end{scope}\tkzDrawPoints(A,B,O)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=2]{B}
\Edge[bend=45](A)(B)
\Edge[bend=-70](A)(B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
]
\addplot [
red,
domain=-3e-3:3e-3,
samples=201,
]
{exp(-x^2 / (2e-3^2)) / (1e-3 * sqrt(2*pi))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
}
\usepackage{amsmath,amssymb}
\begin{document}
\tikz \datavisualization data group {function classes} = {
data [set=log, format=function] {
var x : interval [0.2:2.5];
func y = ln(\value x);
}
data [set=lin, format=function] {
var x : interval [-2:2.5];
func y = 0.5*\value x;
}
data [set=squared, format=function] {
var x : interval [-1.5:1.5];
func y = \value x*\value x;
}
data [set=exp, format=function] {
var x : interval [-2.5:1];
func y = exp(\value x);
}
};
\tikz \datavisualization [
scientific axes,
visualize as smooth line/.list={log, lin},
legend={right of={x=-1, y=2}},
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
style sheet=strong colors]
data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis x line=bottom,
axis y line=center,
tick align=outside,
axis y discontinuity=crunch,
xtickmax=3,
ytickmin=110,
ymin=95,
enlargelimits=false,
]
\addplot [
blue,
mark=none,
domain=-4:4,
samples=20,
] {x*x+x+104};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt,tikz,multi]{standalone}
\usepackage{forest}
\newcommand*{\lif}{\ensuremath{\mathbin{\rightarrow}}}\forestset{declare toks={wff}{},declare toks={cyswllt}{},declare toks register={nod safonol},nod safonol=\circ,dosbarthu/.style={for tree={math content,parent anchor=children,child anchor=parent,inner sep=0pt,},where level=0{for children={no edge},phantom}{delay={content'/.register=nod safonol,insert before/.wrap pgfmath arg={[{##1}, no edge, math content, before drawing tree={x'+=7.5pt}]}{wff()},if={strequal(cyswllt(),"")}{cyswllt/.option=wff}{},insert after/.wrap pgfmath arg={[{##1}, no edge, math content, before drawing tree={x'-=7.5pt}]}{cyswllt()},},if={n_children("!parent")==1}{before packing={calign with current edge}}{if n=1{before packing={!parent.calign primary child/.process args={O}{n}}}{before packing={!parent.calign secondary child/.process args={O}{n}}}}}}}
\begin{document}
\begin{forest}dosbarthu[ [, wff=((\lnot(p_1\lif(\lnot p_0)))\lif p_0), cyswllt=\lif [, wff=(\lnot(p_1\lif(\lnot p_0))), cyswllt=\lnot [, wff=(p_1\lif(\lnot p_0)), cyswllt=\lif [, wff=p_1] [, wff=(\lnot p_0), cyswllt=\lnot [, wff=p_0] ] ] ] [, wff=p_0] ] ]\end{forest}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz \graph [grid placement] {
[n=6, wrap after=3]
a -- b -- c -- d -- e -- f
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A} \Vertex[x=2]{B}
\Edge[label=X,distance=.7](A)(B)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[straight voltages]
\draw (0,0) to[V, bipole/is voltage=false,
v=10V, i_=$i_1$] (3,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex[style={color=green}]{A}
\Vertex[x=1,style=dashed]{B}
\Vertex[x=2,style={shading=ball}]{C}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
hide x axis,
axis y line=left,
title={$x^2\cos(x)$},
]
\addplot {cos(x)*x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows,positioning,shapes.misc}
\begin{document}
\begin{tikzpicture}[>=stealth,
shorten >=1pt,auto,node distance=1.8cm,host node/.style={scale=0.5,rectangle,draw}]
\node[host node] (a1) {$A_1$};
\node[host node] (a2) [right of=a1] {$A_2$};
\node[host node] (a3) [right of=a2] {$A_3$};
\node[host node] (a4) [right of=a3] {$A_4$};
\node[host node] (a5) [right of=a4] {$A_5$};
\node[host node] (a6) [right of=a5] {$A_6$};
\node[host node] (a7) [right of=a6] {$A_7$};
\node[host node] (a8) [right of=a7] {$A_8$};
\node[host node] (c1) [above right=1cm and 0.5cm of a1] {$C_1$};
\node[host node] (c2) [right=1.2cm of c1] {$C_2$};
\node[host node] (c3) [right=1.2cm of c2] {$C_3$};
\node[host node] (c4) [right=1.2cm of c3] {$C_4$};
\node[host node] (s1) [below =0.85cm of a1] {$T_1$};
\node[host node] (s2) [right of=s1] {$T_2$};
\node[host node] (s3) [right of=s2] {$T_3$};
\node[host node] (s4) [right of=s3] {$T_4$};
\node[host node] (s5) [below =0.85cm of a5] {$T_5$};
\node[host node] (s6) [right of=s5] {$T_6$};
\node[host node] (s7) [right of=s6] {$T_7$};
\node[host node] (s8) [right of=s7] {$T_8$};
\node at (-1.2,0) {\small Aggregation};
\node at (-0.77,1.25) {\small Core};
\node at (-1.2,-1.15) {\small Top-of-Rack};
\node at (0.5,-1.45) {\scriptsize Pod 1};
\node at (2.3,-1.45) {\scriptsize Pod 2};
\node at (4.1,-1.45) {\scriptsize Pod 3};
\node at (5.9,-1.45) {\scriptsize Pod 4};
\path[-]
(s1) edge (a1) edge (a2) (s2) edge (a1) edge (a2)
(s3) edge (a3) edge (a4) (s4) edge (a3) edge (a4)
(s5) edge (a5) edge (a6) (s6) edge (a5) edge (a6)
(s7) edge (a7) edge (a8) (s8) edge (a7) edge (a8)
(c1) edge (a1) edge (a3) edge (a5) edge (a7)
(c2) edge (a1) edge (a3) edge (a5) edge (a7)
(c3) edge (a2) edge (a4) edge (a6) edge (a8)
(c4) edge (a2) edge (a4) edge (a6) edge (a8);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{set layers}
\begin{axis}[
scale only axis,
xmin=-5,xmax=5,
axis y line*=left,
xlabel=$x$,
ylabel=First ordinate,
]
\addplot {x^2};
\end{axis}
\begin{axis}[
scale only axis,
xmin=-5,xmax=5,
axis y line*=right,
axis x line=none,
ylabel=Second ordinate,
]
\addplot [red] {3*x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[12pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.3, every node/.style={draw, shape=circle, outer sep=2pt, inner sep=1pt, minimum size=.2cm}]
\node[fill=none, label={[yshift=-5pt]$y_1$}] (00) at (0,0) {};
\node[fill=none, label={[yshift=-5pt]$y_2$}] (01) at (1,0) {};
\node[fill=none, label={[yshift=-5pt]$y_3$}] (02) at (2,0) {};
\node[fill=none, label={[yshift=-5pt]$y_4$}] (03) at (3,0) {};
\node[fill=none, label={[yshift=-5pt]$y_5$}] (04) at (4,0) {};
\node[fill=none, label={[yshift=-5pt]$w_2$}] (05) at (5,0) {};
\node[fill=none, label={[yshift=-5pt]$u$}] (06) at (6,0) {};
\node[fill=none, label={[yshift=-5pt]$w_1$}] (07) at (5,1) {};
\node[fill=none, label={[yshift=-5pt]$w_3$}] (08) at (5,-1) {};
\draw[thick] (00)--(01)--(02)--(03)--(04)--(05)--(06)--(07)--(04);
\draw[thick] (04)--(08)--(06);
\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) to[R, *-] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, o-] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\newcommand{\colortop}[2]{\foreach \i in {#1} {\filldraw[fill=#2,draw=#2,line width = 1pt] (T\i) circle (4pt);}}
\newcommand{\colorbot}[2]{\foreach \i in {#1} {\filldraw[fill=#2,draw=#2,line width = 1pt] (B\i) circle (4pt);}}
\begin{document}
\begin{tikzpicture}[xscale=.5,yscale=.5,line width=1.25pt]
\foreach \i in {1,2,3,4,5,6,7} {
\path (\i,1.25) coordinate (T\i);
\path (\i,.25) coordinate (B\i);
}
\filldraw[fill= black!12,draw=black!12,line width=4pt] (T1) -- (T7) -- (B7) -- (B1) -- (T1);
\draw[black] (T1)--(T2)--(B1)--(T1);
\draw[black] (T3)--(B2);
\draw[black] (T4)--(T5)--(B4)--(T4);
\draw[black] (T7)--(B7);
\draw[black] (B3) .. controls +(0,+.35) and +(0,+.35) .. (B5);
\colortop{1,...,7}{black}
\colorbot{1,...,7}{black}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar,
enlargelimits=0.15,
legend style={at={(0.5,-0.2)},
anchor=north,legend columns=-1},
ylabel={\#participants},
symbolic x coords={excellent,good,neutral,
not good,poor},
xtick=data,
nodes near coords,
nodes near coords align={vertical},
x tick label style={rotate=45,anchor=east},
]
\addplot coordinates {
(excellent,0) (good,8) (neutral,2)
(not good,0) (poor,0)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\usepackage{amsmath,amssymb}
\begin{document}
\tikz \datavisualization data group {function classes} = {
data [set=log, format=function] {
var x : interval [0.2:2.5];
func y = ln(\value x);
}
data [set=lin, format=function] {
var x : interval [-2:2.5];
func y = 0.5*\value x;
}
data [set=squared, format=function] {
var x : interval [-1.5:1.5];
func y = \value x*\value x;
}
data [set=exp, format=function] {
var x : interval [-2.5:1];
func y = exp(\value x);
}
};
\tikz \datavisualization [
scientific axes,
visualize as smooth line/.list=
{log, lin, squared, exp},
legend=north east outside,
log= {label in legend={text=$\log x$}},
lin= {label in legend={text=$x/2$}},
squared={label in legend={text=$x^2$}},
exp= {label in legend={text=$e^x$}},
style sheet=strong colors]
data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex[opacity = 1]{A}
\Vertex[x=1,opacity =.7]{B}
\Vertex[x=2,opacity =.2]{C}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [default edge operator=matching] {
{a, b} ->[matching and star]
{c, d, e} --[complete bipartite]
{f, g, h} --
{i, j, k}
};
\end{document}
\documentclass[tikz]{standalone}
\newcommand\match[3]{
\begin{scope}[shift={#1}, rotate=#2]
\draw (0,0) rectangle (2.5,0.2);
\fill (2.3,0.1) ellipse (0.35 and 0.2) node at (1,0.1) [
fill=white,
fill opacity=.2,
text opacity=1,
circle,
inner sep=0pt,
minimum size=1pt
]{\textbf{#3}};
\end{scope}
}
\begin{document}
\newcommand\match[3]{
\begin{scope}[shift={#1}, rotate=#2]
\draw (0,0) rectangle (2.5,0.2);
\fill (2.3,0.1) ellipse (0.35 and 0.2) node at (1,0.1) [
fill=white,
fill opacity=.2,
text opacity=1,
circle,
inner sep=0pt,
minimum size=1pt
]{\textbf{#3}};
\end{scope}
}
\begin{tikzpicture}
\match{(0,0)}{45}{4}
\match{(-0.3,-0.18)}{315}{5}
\match{(1.85,2.06)}{315}{3}
\match{(1.89,-1.89)}{45}{1}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw(0,0)to[cute choke]++(3,0);
\draw(0,-1)to[cute choke,twolineschoke]++(3,0);
\ctikzset{bipoles/cutechoke/cthick=2,twolineschoke}\draw(0,-2)to[cute choke]++(3,0);
\draw(0,-3)to[cute choke,onelinechoke]++(3,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=3mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=10cm,height=7cm,xlabel={$x$},ylabel={$f(x)$}]\addplot[domain=1:8000,smooth,samples=501]{10*ln(1+1/(0.01*pi^2/4*(340/x)))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts,amsthm,epsfig}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tcolorbox}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.75]
\tikzstyle{every node}=[draw,shape=circle, inner sep=2pt];
\node (a1) at (2,0) [fill=blue,color=blue,label=below:$a_1$] {};
\node (a2) at (4,0) [fill=blue,color=blue,label=below:$a_2$] {};
\node (a3) at (6,0) [fill=blue,color=blue,label=below:$a_3$] {};
\node (a4) at (8,0) [fill=blue,color=blue,label=below:$a_4$] {};
\node (a5) at (10,0) [fill=blue,color=blue,label=below:$a_5$] {};
\node (a6) at (12,0) [fill=blue,color=blue,label=below:$a_6$] {};
\node (a7) at (14,0) [fill=blue,color=blue,label=below:$a_7$] {};
\node (a8) at (16,0) [fill=blue,color=blue,label=below:$a_8$] {};
\node (b1) at (3,1) [fill=red,color=red,label={above left:$b_1$}] {};
\node (b2) at (5,2) [fill=red,color=red,label={above left:$b_2$}] {};
\node (b3) at (7,1) [fill=red,color=red,label={above right:$b_3$}] {};
\node (b4) at (9,3) [fill=red,color=red,label={above left:$b_4$}] {};
\node (b5) at (11,1) [fill=red,color=red,label={above left:$b_5$}] {};
\node (b6) at (13,2) [fill=red,color=red,label={above right:$b_6$}] {};
\node (b7) at (15,1) [fill=red,color=red,label={above right:$b_7$}] {};
\node (b8) at (9,5) [fill=red,color=red,label={above left:$b_8$}] {};
\path[every node/.style={font=\footnotesize}]
(a1) edge node[xshift=-.1cm, yshift=.1cm] {0} (b1)
(a2) edge node[xshift=.1cm, yshift=.1cm] {0} (b1)
(a3) edge[bend right] node[xshift=-.1cm, yshift=.1cm] {1} (b3)
(a4) edge node[xshift=.1cm, yshift=.1cm] {0} (b3)
(a5) edge node[xshift=-.1cm, yshift=.1cm] {0} (b5)
(a6) edge node[xshift=.1cm, yshift=.1cm] {0} (b5)
(a7) edge node[xshift=-.1cm, yshift=.1cm] {0} (b7)
(a8) edge node[xshift=.1cm, yshift=.1cm] {0} (b7)
(b1) edge node[xshift=-.1cm, yshift=.1cm] {0} (b2)
(a3) edge[bend left] node[xshift=.1cm, yshift=.1cm] {1} (b2)
(b5) edge node[xshift=-.1cm, yshift=.1cm] {0} (b6)
(b7) edge node[xshift=.1cm, yshift=.1cm] {0} (b6)
(a3) edge[bend left] node[xshift=-.1cm, yshift=.1cm] {1} (b4)
(b6) edge node[xshift=.1cm, yshift=.1cm] {0} (b4)
(a3) edge[bend left] node[xshift=-.1cm, yshift=.1cm] {1} (b8);
\end{tikzpicture}
\end{document}
\documentclass[11pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[xscale=0.5,yscale=0.5]
\draw [ultra thick] (0,4.5) -- (16,4.5);
\foreach \j in {0,...,4}
{
\draw [ultra thick, blue] (4*\j,4.5) -- (4*\j,6);
\draw [ultra thick, brown, fill=red!30!white] (4*\j,4.5) circle [radius=1];
\node at (4*\j,4.5) {$A_{\j}$};
}
\draw [blue] (-2,3) rectangle (10,6.5);
\draw [blue] (2,2.5) rectangle (14,6);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
x tick label style={
/pgf/number format/1000 sep=},
ylabel=Population,
enlargelimits=0.15,
legend style={at={(0.5,-0.15)},
anchor=north,legend columns=-1},
ybar=5pt,
bar width=9pt,
nodes near coords,
point meta=y *10^-7,
]
\addplot coordinates {
(1930,50e6) (1940,33e6)
(1950,40e6) (1960,50e6) (1970,70e6)
};
\addplot coordinates {
(1930,38e6) (1940,42e6)
(1950,43e6) (1960,45e6) (1970,65e6)
};
\legend{Far,Near}
\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}
\draw(0,0)node(start){}to[sV=$V_i$]++(0,2+\ctikzvalof{tubes/height})to[C=$C_i$]++(2,0)coordinate(Rg)to[R=$R_g$](Rg|-start)(Rg)to[short,*-]++(1,0)node[triode,anchor=control](Tri){}++(2,0)(Tri.cathode)to[R=$R_c$,-*](Tri.cathode|-start)(Tri.anode)to[R=$R_a$]++(0,2)to[short]++(3.5,0)node(Vatop){}to[V<=$V_a$](Vatop|-start)to[short](start)(Tri.anode)++(0,0.2)to[C=$C_o$,*-o]++(2,0)(Tri.cathode)++(0,-0.2)to[short,*-]++(1.5,0)node(Cctop){}to[C=$C_c$,-*](start-|Cctop);
\draw[red,thin,dashed](Tri.north west)rectangle(Tri.south east);
\draw(Tri.east)node[right]{12AX7};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar interval,
xtick=data,
xticklabel interval boundaries,
x tick label style={
rotate=90,
anchor=east,
},
]
\addplot coordinates {
(0,2) (0.1,1) (0.3,0.5) (0.35,4) (0.5,3)
(0.6,2) (0.7,1.5) (1,1.5)
};
\end{axis}
\end{tikzpicture}
\end{document}