AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{shapes.geometric,calc}
\begin{document}
\begin{tikzpicture}
\node [draw,
shape=cylinder,
name=c,
aspect=1.5,
minimum height=3cm,
minimum width=2cm,
left color=blue!30,
right color=blue!60,
middle color=red!20,
outer sep=-0.5\pgflinewidth,
shape border rotate=90
] at (1,2) {A};
\fill [red!20] let
\p1 = ($(c.before top)!0.5!(c.after top)$),
\p2 = (c.top),
\p3 = (c.before top),
\n1={veclen(\x3-\x1,\y3-\y1)},
\n2={veclen(\x2-\x1,\y2-\y1)}
in (\p1) ellipse (\n1 and \n2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\usetikzlibrary{arrows.meta}
\providecolor{teal}{rgb}{0,0.5,0.5}\tkzSetUpColors[background=white,text=black]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
}\tikzset{line style/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}
\tkzDefPoints{0/0/A,4/0/B}\tkzDrawSegment[Latex-](A,B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{circuitikz}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\node (s0) [draw=black,circle] at (0,0) {$X$};
\node (s2) [draw=black,circle] at (2,0) {$Z$};
\node (s3) [draw=black,circle] at (4,0) {$Y$};
\node (s4) [circle,fill=gray!40] at (2,1.25) {$U$};
\path (s0) edge[->,thick] (s2);
\path (s2) edge[->,thick] (s3);
\path (s4) edge[->,dotted] (s0);
\path (s4) edge[->,dotted] (s3);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xlabel={Numero di elementi},ylabel={Numero di coppie},xmin=3,xmax=20,ymin=0,ymax=55,xtick={1,...,20},samples at={3,...,20}]\addplot{0.5*x*(x-1)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}
\node [or port](O1) at (0,2) {};
\node [or port, no input leads](O1) at (2,2) {};
\ctikzset{logic ports draw input leads=false}
\node [and port](O1) at (0,0) {};
\node [nand port, input leads](O1) at (2,0) {};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}[scale=.5]
\begin{scope}[thick,decoration={markings, mark=at position .5 with {\arrow{>}}}]
\draw[postaction={decorate}][draw, thick] (0,0) to[out=45,in=130, distance=4cm] (8,0);
\draw[postaction={decorate}][draw, thick] (0,0) to[out=330,in=230, distance=4cm] (8,0);
\draw[postaction={decorate}][draw, dotted] (2,1.6) to[out=330,in=140, distance=2cm] (5.5,-1.82);
\draw[postaction={decorate}][draw, dotted] (1,-.55) to[out=60,in=130, distance=2cm] (4.8,-1.9);
\end{scope}\draw[fill] (0,0) circle [radius=0.1];
\draw[fill] (8,0) circle [radius=0.1];
\draw[fill] (2,1.6) circle [radius=0.07];
\draw[fill] (5.5,-1.82) circle [radius=0.07];
\draw[fill] (4.8,-1.9) circle [radius=0.07];
\draw[fill] (1,-.55) circle [radius=0.07];
\node at (-.4,0) {$b$};
\node at (8.4,0) {$e$};
\node at (1.6,1.9) {$u_1$};
\node at (5.9, -2.1) {$v_1$};
\node at (4.8,-2.25) {$v_2$};
\node at (.8,-.85) {$u_2$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsthm,amssymb,amscd,amsmath,latexsym,indentfirst,color,amsfonts}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\tikzstyle{every node}=[font=\small,scale=0.8]
\draw [->] (0,0) -- (5,0) node [below] {$x$};
\draw [->] (0,0) -- (0,5) node [left] {$y$};
\coordinate (w1) at (0,3);
\coordinate (w2) at (1,0);
\coordinate (z1) at (0,0);
\coordinate (z2) at (1,1);
\coordinate (x1) at (4,4);
\coordinate (x2) at (1,3);
\draw (w1) -- node [left] {$f$} (w2);
\draw [<-] (x1) -- node [below right] {$\left(r,s\right) $} (x2);
\foreach \j in {1,2} {
\foreach \k in {w,z} {
\fill (\k\j) circle (1.5pt);
} }\fill (0,1) circle (1.5pt);
\fill (x2) circle (1.5pt);
\node [left] at (0,3) {$3$};
\node [below] at (1,0) {$1$};
\node [left] at (0,1) {$1$};
\node [below] at (0,0) {$O$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[space]{grffile}
\usepackage{xcolor}
\usepackage{epstopdf}
\usepackage[all]{genealogytree}
\begin{document}
\tcbset{male/.style={colframe=black, colback=blue!06, watermark text=\gtrSymbolsSetDraw{blue!16}\gtrsymMale}}\tcbset{female/.style={colframe=black, colback=red!07, watermark text=\gtrSymbolsSetDraw{red!17}\gtrsymFemale}}\gtrset{box={colback=white},edges={swing,no background,foreground=black!50},}
\begin{tikzpicture}
\genealogytree[timeflow=down, box={colback=white}, edges={swing,no background,foreground=black!50}, level size=2 cm, node size=4 cm, level distance=3.5 cm, child distance=1.25 cm, parent distance=0.1 cm, further distance = 3 cm]{sandclock{parent{g[female, id=I01271,tikz={xshift=-2cm}]{Apollonia NN}}parent{g[male, id=I01254_2]{Adam Winklhofer}}child{g[female,id=I01265,tikz={xshift=-1cm}]{Barbara Winklhofer}}}}\genealogytree[timeflow=down, set position=I01254_3 at I01254_2, box={colback=white}, edges={swing,no background,foreground=black!50}, level size=2 cm, node size=4 cm, level distance=3.5 cm, child distance=1.25 cm, parent distance=0.1 cm, further distance = 3 cm]{sandclock{parent{g[female,id=I01262,tikz={xshift=18cm}]{Maria Moser}parent{g[male,id=I01264,tikz={xshift=18cm}]{Wolfgang Moser}}parent{g[female,id=I01429,tikz={xshift=18cm}]{Rosina Kendmayr}}}parent{g[male, id=I01254_3]{Adam Winklhofer}}child{g[male,id=I01251,tikz={xshift=13cm}]{Georg Winklhofer}}}}\genealogytree[timeflow=down, set position=I01254_1 at I01254_2, level size=3 cm, node size=5 cm, level distance=2.5 cm, child distance=1.75 cm, parent distance=2.5 cm, further distance = 3 cm,]{sandclock{parent{g[male, id=I01254_1]{Adam Winklhofer}}parent{g[female, id=I01255_1]{Susanna Urlhardt}}c[male,id=I01301]{Thomas Winklhofer}}}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}
\draw
(0,2) node[and port] (myand1) {}
(0,0) node[and port] (myand2) {}
(2,1) node[xnor port] (myxnor) {}
(myand1.out) -| (myxnor.in 1)
(myand2.out) -| (myxnor.in 2);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}
\usetikzlibrary{calc,intersections,arrows.meta}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=0.4\textwidth,height=0.3\textwidth,at={(0.947in,0.582in)},scale only axis,xmin=0,xmax=450,xlabel style={font=\color{white!15!black}},xlabel={Reference Distance $D$ (m)},ymin=30,ymax=110,ylabel style={font=\color{white!15!black}},ylabel={Mean Sum Rate (bpcu)},axis background/.style={fill=white},xmajorgrids,ymajorgrids,legend style={at={(0.2,0.02)}, anchor=south west, legend cell align=left, align=left, draw=white!15!black, legend columns=3}]\addplot [color=black, line width=1.5pt] table[row sep=crcr]{10 64.0214440316585\\50 69.702935802092\\100 79.4636868025725\\150 90.8100037674485\\200 94.2896462252917\\250 97.2084175938696\\300 97.9856276784136\\350 100.470147355189\\400 100.192337783287\\450 99.9844595413397\\500 100.067585678245\\};
\addlegendentry{$L=20$}\addplot [color=blue, line width=1.5pt] table[row sep=crcr]{10 52.513295277994\\50 54.1002237334148\\100 60.3801560129256\\150 66.4867168271942\\200 71.7060216392172\\250 75.6205647934834\\300 78.3872463956013\\350 79.8329635142321\\400 81.4104154316921\\450 81.4424039673196\\500 81.3596196646584\\};
\addlegendentry{$L=10$}\addplot [color=red, line width=1.5pt] table[row sep=crcr]{10 39.0834459632426\\50 39.7720374626186\\100 40.9114479054366\\150 44.9112856474276\\200 46.4774516930839\\250 50.2184459727402\\300 52.0758545217496\\350 55.0909826363283\\400 55.2747116862167\\450 56.7211196788814\\500 55.5150188674473\\};
\addlegendentry{$L=5$}\addplot [color=black, dashed, forget plot] table[row sep=crcr]{0 100.527176814894\\500 100.527176814894\\};
\addplot [color=blue, dashed, forget plot] table[row sep=crcr]{0 81.4293808230746\\500 81.4293808230746\\};
\addplot [color=red, dashed, forget plot] table[row sep=crcr]{0 56.6258327885455\\500 56.6258327885455\\};
\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
}
\begin{document}
\tikz \datavisualization [
school book axes,
visualize as smooth line,
y axis={ticks={step=1.25}},
]
data [format=function] {
var x : interval [0:3];
func y = \value x*\value x/2;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}

% tkz-euclide loads tikz, xcolor, amsmath, and necessary libraries
\usepackage{tkz-euclide}

% Define used color
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}

% Global settings to match original visual identity
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}

\begin{document}
  \begin{tikzpicture}[scale=.6]
    \tkzDefPoint(100:8){A}
    \tkzDefPoint(50:8){B}
    \tkzDefPoint(0,0){C}
    \tkzDefPoint(0,-4){R}

    \tkzDrawCircle(C,R)

    % Calculate tangents
    \tkzDefLine[tangent from = A](C,R) \tkzGetPoints{D}{E}
    \tkzDefLine[tangent from = B](C,R) \tkzGetPoints{F}{G}

    % Draw and Fill Sectors
    \tkzDrawSector[fill=teal!20,opacity=0.5](A,E)(D)
    \tkzFillSector[color=teal,opacity=0.5](B,G)(F)
  \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\begin{tikzpicture}
\datavisualization [school book axes, visualize as line]
data [headline={x, y}] {
0, 0
1, 1
2, 1
3, 0
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{automata,positioning,arrows,calc,decorations.shapes,decorations.markings,quotes,shapes.misc,arrows.meta,backgrounds}
\begin{document}
\begin{tikzpicture}[every node/.style={circle,inner sep=1pt,thick,draw,scale=1.2},
every edge/.style={very thick,draw},every edge quotes/.append style = {auto, font=\footnotesize, inner sep=2pt}
]
\node (2) at (0,0){};
\node (1) at (4,0){};
\node (3) at (2,-2){};
\begin{scope}[very thick,decoration={
markings,
mark=at position 0.5 with {\arrow{>}}}]
\draw[postaction={decorate}] (1) -- (2);
\draw[postaction={decorate}] (2) -- (3);
\draw[postaction={decorate}] (3) -- (1);
\end{scope}
\node[very thick,label={\large $z_2 = \psi_{(v_1,v_2)}(z_1) = e^{\iota \frac{\pi}{4}} \cdot z_1$},scale=0.001,color=white] (4) at (2,3){};
\node[very thick,label={\large $z_3 = \psi_{(v_2,v_3)}({z_2}) = e^{\iota \frac{\pi}{4}} \cdot {z_2}$},scale=0.001,color=white] (4) at (-4,-4){};
\node[very thick,label={\large $\textcolor{blue}{z_1'} = \psi_{(v_3,v_1)}(z_3) = e^{\iota \frac{\pi}{4}} \cdot z_3$},scale=0.001,color=white] (4) at (8,-4){};
\draw[dashed] (4,0) -- (6,6);
\draw[dashed] (4,0) -- (10,2);
\draw[very thick,dotted] (6,6) rectangle (10,2);
\filldraw (6,2) circle (0pt) node[scale=0.001,label={below: \Large $\mathbf{C}_{v_1}$}]{};
\node[very thick,fill] (c1) at (8,4){};
\draw[very thick] (c1) -> (9,5) node[midway,label={above:$z_1 \ $},scale=0.001]{};
\path (c1) edge[->] (9,5);
\draw[very thick,dashed] (c1) -> (9,3) node[midway,label={above: \large \ $\textcolor{blue}{z_1'}$},scale=0.001]{};
\path (c1) edge[color=blue,dashed,->] (9,3);
\draw[dashed] (0,0) -- (-6,2);
\draw[dashed] (0,0) -- (-2,6);
\draw[very thick,dotted] (-6,6) rectangle (-2,2);
\filldraw (-2,2) circle (0pt) node[scale=0.001,label={below: \Large $\mathbf{C}_{v_2}$}]{};
\node[very thick,fill] (c2) at (-4,4){};
\draw[very thick,dashed] (c2) -> (-5,5) node[midway,label={above: $ \ {z_2}$},scale=0.001]{};
\path (c2) edge[dashed,->] (-5,5);
\draw[dashed] (3) -- (4,-4);
\draw[dashed] (3) -- (0,-4);
\draw[very thick,dotted] (4,-4) rectangle (0,-8);
\draw[ultra thin,dotted] (0,-4) -- (4,-4) node[scale=0.001,midway,label={above:\Large $\mathbf{C}_{v_3}$}]{};
\node[very thick,fill] (c3) at (2,-6){};
\draw[very thick,dashed] (c3) -> (1,-7) node[midway,label={above:$z_3 \ $},scale=0.001]{};
\path (c3) edge[dashed,->] (1,-7);
\node[label={above: \large $ \ \ v_2$},fill=white] (2) at (0,0){};
\node[label={above: \large $v_1 \ \ $},fill=white] (1) at (4,0){};
\node[label={below: $v_3$},fill=white] (3) at (2,-2){};
\draw[very thick] (-7,4) edge[->,bend right=60] (-1,-6);
\node[label=\Large $\psi_{v_2,v_3}\ \ \ $,scale=0.0001,color=white] (4) at (-8.5,-1){};
\draw[very thick] (5,-6) edge[->,bend right=60] (11,4);
\node[label=\Large $\ \ \ \psi_{v_3,v_1} $,scale=0.0001,color=white] (4) at (12.5,-1){};
\draw[very thick] (-1,6) edge[bend left=15,<-] (5,6);
\node[label={\vspace{0.1cm} \Large $\psi_{v_1,v_2}$},scale=0.0001,color=white] (4) at (2,6.2){};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=10pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2.5em,
bond offset=1pt,
compound sep=5em,
arrow offset=6pt,
}
\begin{document}
\schemestart
ABC\arrow{<=>}[90]DEF\merge>[above][below](c1)(c2)--()[0.25,1,0.75]GHIJ
\schemestop\qquad
\schemestart
ABC\arrow{<=>}[90]DEF\merge>[*{45.south west}above][*{45.north east}below](c1)(c2)--()[0.25,1,0.75]GHIJ
\schemestop\qquad
\schemestart
ABC\arrow{<=>}[90]DEF\merge>[*{90}above][*{90}below](c1)(c2)--()[0.25,1,0.75]GHIJ
\schemestop
\bigskip
\schemestart
ABC\arrow{<=>}DEF\merge v[above][below](c1)(c2)--()[0.25,1,0.75]GHIJ
\schemestop\qquad
\schemestart
ABC\arrow{<=>}DEF\merge v[*{45.north west}above][*{45.south east}below](c1)(c2)--()[0.25,1,0.75]GHIJ
\schemestop\qquad
\schemestart
ABC\arrow{<=>}DEF\merge v[*{0}above][*{0}below](c1)(c2)--()[0.25,1,0.75]GHIJ
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb,verbatim,mathrsfs,latexsym,paralist}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center), scale =.9]
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=2pt,minimum height=2pt]
\node[] (v00) at (-1,1) {};
\node[] (v01) at (-1,0.333) {};
\node[] (v02) at (-1,-0.330) {};
\node[] (v03) at (-1,-1) {};
\draw[fill] (v00) circle (.05);
\draw[fill,red] (v01) circle (.07);
\draw[fill] (v02) circle (.05);
\draw[fill] (v03) circle (.05);
\node[] (v10) at (1,1) {};
\node[] (v11) at (1,0.333) {};
\node[] (v12) at (1,-0.330) {};
\node[] (v13) at (1,-1) {};
\draw[fill,red] (v10) circle (.07);
\draw[fill,red] (v11) circle (.07);
\draw[fill] (v12) circle (.05);
\draw[fill] (v13) circle (.05);
\node[] (v20) at (3,1) {};
\node[] (v21) at (3,0.333) {};
\node[] (v22) at (3,-0.330) {};
\node[] (v23) at (3,-1) {};
\draw[fill,red] (v20) circle (.07);
\draw[fill,red] (v21) circle (.07);
\draw[fill] (v22) circle (.05);
\draw[fill,red] (v23) circle (.07);
\draw[] (v00) -- (v10);
\draw[ultra thick, red] (v01) -- (v11);
\draw[] (v03) -- (v13);
\draw[ultra thick, red] (v10) -- (v20);
\draw[] (v12) -- (v22);
\draw[] (v13) -- (v23);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{
level distance=1cm,
sibling distance=1cm,
}
\begin{document}
\begin{tikzpicture}
\node {root}
child {node {left}}
child {node {right}
child {node {child}}
child {node {child}}
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{amsmath, amssymb}
\usetikzlibrary{positioning}
\usetikzlibrary{fit}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[align = center, node distance = 2cm and 4cm]
\node[draw](xi^*){Teacher \\ pattern $\xi^*$};
\node[draw](sigma)[right = of xi^*]{Examples $\sigma$};
\node[draw](xi^b)[right = of sigma]{Student \\ pattern $\xi$};
\node[draw](v)[below = of xi^*]{Data $x$ \\ with known \\ labels $y$};
\node[draw](xi) at (sigma |- v){Weights $w$};
\node[draw](c)[below = of xi^b]{Data $x$ \\ with predicted \\ labels $y'$};
\draw[draw, ->](xi^*.east)--(sigma.west) node[midway, above]{$H \left( \sigma \big| \xi^* \right)$};
\draw[draw, ->](sigma.east)--(xi^b.west) node[midway, above]{$H \left( \xi^b \big| \sigma \right)$};
\draw[draw, ->](v.east)--(xi.west) node[midway, below]{Backward \\ propagation};
\draw[draw, ->](xi.east)--(c.west) node[midway, below]{Forward \\ propagation};
\draw[draw, dashed](xi^*.south)--(v.north);
\draw[draw, dashed](sigma.south)--(xi.north);
\draw[draw, dashed](xi^b.south)--(c.north);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[baseline={([yshift=-10pt]
current bounding box.north)},rotate=45,scale=.3]\draw (0,0) rectangle ++(1,1);
\draw [very thick] (0,1) -- ++(1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\begin{circuitikz}[
american]
\ctikzset{american or shape=roundy}
\ctikzset{logic ports/fill=yellow}
\node [or port](O1) at (0,0) {};
\node [nor port](O2) at (0,-1.5) {};
\node [xor port](O3) at (0,-3) {};
\node [xnor port](O4) at (0,-4.5) {};
\begin{scope}[xshift=3cm]
\ctikzset{american or shape=pointy}
\node [or port](O1) at (0,0) {};
\node [nor port](O2) at (0,-1.5) {};
\node [xor port](O3) at (0,-3) {};
\node [xnor port](O4) at (0,-4.5) {};
\end{scope}
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.175,baseline=0.3ex]
\foreach \y in {0,...,5}
\draw[thin,xshift=\y cm] (\y cm,0) ++(.3 cm, 0) -- +(14 mm,0);
\draw[thin,fill=black] (0 cm,0) circle (3 mm);
\draw[thin,fill=black] (2 cm,0) circle (3 mm);
\draw[thin] (4 cm,0) circle (3 mm);
\draw[thin] (6 cm,0) circle (3 mm);
\draw[thin] (8 cm,0) circle (3 mm);
\draw[thin] (10 cm,0) circle (3 mm);
\draw[thin] (12 cm,0) circle (3 mm);
\draw[thin,fill=black] (2 cm,2 cm) circle (3 mm);
\draw[thin] (2 cm, 3mm) -- +(0, 1.4 cm);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[->,>=stealth,shorten >=0.05cm,auto,node distance=1.3cm,
thick,
main node/.style={rectangle,draw,fill=gray!10,rounded corners=1.5ex,font=\sffamily \scriptsize \bfseries },
rigid node/.style={rectangle,draw,fill=black!20,rounded corners=0ex,font=\sffamily \scriptsize \bfseries },
poisson node/.style={rectangle,draw,fill=black!20,rounded corners=0ex,font=\sffamily \scriptsize \bfseries },
ac node/.style={rectangle,draw,fill=black!20,rounded corners=0ex,font=\sffamily \scriptsize \bfseries },
lie node/.style={rectangle,draw,fill=black!20,rounded corners=0ex,font=\sffamily \scriptsize \bfseries },
style={draw,font=\sffamily \scriptsize \bfseries }]
\node (3) at (0.5,6) {$4$};
\node (2) at (0.5,4) {$3$};
\node (1) at (0.5,2) {$2$};
\node (0) at (0.5,0) {$0$};
\node[main node] (c20) at (-3,0) {${\mathbb C^8}$};
\node[main node] (c21) at (-5,2) {${\rm T}_{1}$};
\node[main node] (c22) at (-3,2) {${\rm T}_{2}$};
\node[ac node] (c27) at (-1,2) {${\rm T}_{7}^{\alpha}$};
\node[ac node] (c25) at (-3,4) {${\rm T}_{5}^{\beta}$};
\node[ac node] (c26) at (-1,4) {${\rm T}_{6}$};
\node[ac node] (c28) at (-5,4) {${\rm T}_{8}$};
\node[ac node] (c23) at (-2,6) {${\rm T}_{3}$};
\node[ac node] (c24) at (-4,6) {${\rm T}_{4}$};
\path[every node/.style={font=\sffamily\small}]
(c23) edge node[above=3, right=-12, fill=white]{\tiny $\beta=0$} (c25)
(c24) edge node[above=-2, right=-18, fill=white]{\tiny $\beta=0$} (c25)
(c26) edge node[above=3, right=-12, fill=white]{\tiny $\alpha=0$} (c27)
(c25) edge node[above=3, right=-22, fill=white]{\tiny $\alpha=0$} (c27)
(c28) edge node[above=2, right=-25, fill=white]{\tiny $\alpha=0$} (c27)
(c23) edge (c26)
(c28) edge (c22)
(c24) edge [bend left=0] (c21)
(c24) edge [bend left=5] (c27)
(c21) edge (c20)
(c22) edge (c20)
(c27) edge (c20);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzset{root/.style = {circle, double, draw, inner sep = 1pt}
}\tikzset{vertex/.style = {circle, fill, inner sep = 1.5pt}
}
\begin{document}
\begin{tikzpicture}[ node distance = 1.5em]
\node[root, vertex] (1) {};
\node[vertex, below = of 1] (2) {};
\node[vertex, below = of 2] (3) {};
\draw (1)--(2) node[midway, left] {$-$};
\draw (2)--(3) node[midway, left] {$-$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amssymb,url,mathdots,verbatim,psfrag,color}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node at (0,0) {$1$};
\node at (1.2,0) {$2$};
\node at (.6,.5) {$1$};
\node at (-.3,.15) {$\nwarrow$};
\node at (.9,.15) {$\nwarrow$};
\node at (1.5,.15) {$\nearrow$};
\node at (.3,.65) {$\nwarrow$};
\node at (.9,.65) {$\nearrow$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[scientific axes,
all axes={
length=3cm,
grid,
grid={minor steps between steps}
},
grid layer/.style=,
visualize as line]
data [format=function] {
var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0)
-- ++(1,0) node[nigbt, anchor=B](B1){} (B1.nobase)
-- ++(1,0) node[pigbt, anchor=B](B2){} (B2.nobase)
-- ++(1,0) node[Lnigbt, anchor=B](B3){} (B3.nobase)
-- ++(1,0) node[Lpigbt, anchor=B](B4){} (B4.nobase)
;
\ctikzset{tripoles/igbt/outer base height=0.3}
\ctikzset{tripoles/igbt/outer base thickness=1.5}
\draw (6,0)
-- ++(1,0) node[nigbt, anchor=B](B5){} (B5.nobase)
-- ++(1,0) node[pigbt, anchor=B](B6){} (B6.nobase)
-- ++(1,0) node[Lnigbt, anchor=B](B7){} (B7.nobase)
-- ++(1,0) node[Lpigbt, anchor=B](B8){} (B8.nobase)
;
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\tikz \draw[line width=2pt,color=red] (1,0) -- (0,0) -- (0,1) -- cycle;
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt,cram width=2pt}
\begin{document}
\definesubmol{x}{-[:+30,.6]-[:-30,.6]}\definesubmol{y}{-O-(=[2,.6]O)-!x!x!x!x!x!x!x!x}\chemfig{[2]([0]!y)-[,1.5]([0]!y)-[,1.5]([0]!y)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=1.3]
\node[inner sep=1.75pt, circle, fill=black] (e3) at (0,0) [draw] {};
\node[inner sep=1.75pt, circle, fill=black] (e1) at (-1,1) [draw] {};
\node[inner sep=1.75pt, circle, fill=black] (f3) at (-2,0) [draw] {};
\node[inner sep=1.75pt, circle, fill=black] (e2) at (-1,-1) [draw] {};
\draw (e3) -- (e1);
\draw (e3) -- (e2);
\draw (e1) -- (e2);
\draw (e1) -- (f3);
\draw (e2) -- (f3);
\node[right] at (e3) {{$\mathbf{e}_k$}};
\node[above] at (e1) {{$\mathbf{e}_i$}};
\node[left] at (f3) {{$-\mathbf{e}_k$}};
\node[below] at (e2) {{$\mathbf{e}_j$}};
\end{tikzpicture}
\end{document}