AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, backgrounds}
\begin{document}
\begin{tikzpicture}[node distance=1.5cm, auto]
{
\node at (-3.5,1) {$T=1$};
\node[draw, rectangle, fill=white, dotted] (c20) {$c_{2,0}$};
\node[draw, rectangle, fill=white, right=of c20] (c21) {$c_{2,1}$};
\node[draw, rectangle, fill=white, below=of c21] (d11) {$d_{1,1}$};
\node[draw, rectangle, fill=white, below=of d11] (c11) {$c_{1,1}$};
\node[draw, rectangle, fill=white, left=of c11, dotted] (c10) {$c_{1,0}$};
\node[draw, rectangle, fill=white, left=of c10, dotted] (c1-1) {$c_{1,-1}$};
\node[draw, rectangle, fill=white, below=of c11] (d01) {$d_{0,1}$};
\node[draw, rectangle, fill=white, below=of d01] (c01) {$c_{0,1}$};
\begin{pgfonlayer}{background}
\draw[->, dashed] (c20) -- (d11);
\draw[->, dashed] (c21) -- (d11);
\draw[->] (c20) -- (c11);
\draw[->] (c21) to[bend left=30] (c11);
\draw[->, dashed] (c1-1) -- (d01);
\draw[->, dashed] (c11) -- (d01);
\draw[->] (c1-1) -- (c01);
\draw[->] (c11) to[bend left=30] (c01);
\end{pgfonlayer}
}
\draw[dotted] (3.5,1.5) -- (3.5,-9);
\begin{scope}[shift={(8,0)}]
\node at (-3.5,1) {$T=2$};
\node[draw, rectangle, fill=white] (c21) {$c_{2,1}$};
\node[draw, rectangle, fill=white, right=of c21] (c22) {$c_{2,2}$};
\node[draw, rectangle, fill=white, below=of c21] (d11) {$d_{1,1}$};
\node[draw, rectangle, fill=white, right=of d11] (d12) {$d_{1,2}$};
\node[draw, rectangle, fill=white, below=of d11] (c11) {$c_{1,1}$};
\node[draw, rectangle, fill=white, left=of c11, dotted] (c10) {$c_{1,0}$};
\node[draw, rectangle, fill=white, right=of c11] (c12) {$c_{1,2}$};
\node[draw, rectangle, fill=white, below=of c11] (d01) {$d_{0,1}$};
\node[draw, rectangle, fill=white, right=of d01] (d02) {$d_{0,2}$};
\node[draw, rectangle, fill=white, below=of d01] (c01) {$c_{0,1}$};
\node[draw, rectangle, fill=white, right=of c01] (c02) {$c_{0,2}$};
\begin{pgfonlayer}{background}
\draw[->, dashed] (c21) -- (d12);
\draw[->, dashed] (c22) -- (d12);
\draw[->] (c21) -- (c12);
\draw[->] (c22) to[bend left=30] (c12);
\draw[->, dashed] (c10) -- (d02);
\draw[->, dashed] (c12) -- (d02);
\draw[->] (c10) -- (c02);
\draw[->] (c12) to[bend left=30] (c02);
\end{pgfonlayer}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,tikz}
\begin{document}
\begin{tikzpicture}
\node[draw] (r) at (2.5,.5) {$r(\boldsymbol{s},\lambda,t)$};
\node[circle,draw] (u) at (2.5,-1) {$u(\boldsymbol{s},\lambda,t)$};
\node[circle,draw] (sigma) at (4,-1) {$\sigma_{\varepsilon}^{2}$};
\node[rounded corners=2mm,draw,fill=black!17] (y) at (1,-2.5) {$y(\boldsymbol{s})$};
\node[draw] (G) at (2.25,-2.5) {$\boldsymbol{g}(\lambda,t)$};
\node[circle,draw] (gamma) at (3.75,-2.5) {$\boldsymbol{\Gamma}$};
\node[circle,draw,fill=black!33] (prob) at (1,-3.85) {$\boldsymbol{p}(\boldsymbol{s})$};
\node[circle,draw,fill=black!33] (alpha) at (2.5,-3.85) {$\boldsymbol{\alpha}(\boldsymbol{s})$};
\node[circle,draw,fill=black!33] (w) at (3.6,-5) {$\boldsymbol{w}(\boldsymbol{s})$};
\node[draw,fill=black!33] (x) at (1,-6.25) {$\boldsymbol{x}(\boldsymbol{s})$};
\node[circle,draw,fill=black!33] (beta) at (2.2,-6.25) {$\boldsymbol{B}$};
\node[draw,fill=black!33] (H) at (3.4,-6.25) {$\boldsymbol{h}(\boldsymbol{s})$};
\node[circle,draw,fill=black!33] (psi) at (4.6,-6.25) {$\boldsymbol{\Psi}$};
\path[->,densely dotted] (u) edge (r);
\path[->,densely dotted] (y) edge (u);
\path[->,densely dotted] (G) edge (u);
\path[->,densely dotted] (gamma) edge (u);
\path[->] (sigma) edge (r);
\path[->] (prob) edge (y);
\path[->,densely dotted] (alpha) edge (prob);
\path[->,densely dotted] (x) edge (alpha);
\path[->,densely dotted] (beta) edge (alpha);
\path[->,densely dotted] (w) edge (alpha);
\path[->,densely dotted] (H) edge (w);
\path[->,densely dotted] (psi) edge (w);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{shapes,decorations,arrows,calc,arrows.meta,fit,positioning}
\begin{document}
\begin{tikzpicture}[->,>=stealth',auto,node distance=0.5cm,thick,state/.style={ellipse,draw}]
\node [state] (Wg) {Weight};
\node [state, left = of Wg] (Sz) {Size};
\node [state, right = of Wg] (Tx) {Texture};
\node [state, right = of Tx] (Rd) {Rigidity};
\node [state, above = 1.25cm of $(Tx.west)!0.5!(Wg.east)$] (Ty) {Type};
\node [state, below = 1.25cm of $(Wg.west)!0.5!(Sz.east)$] (Gr) {Gripper};
\node [state, right = 1.25cm of Gr] (Ta) {Target};
\node [state, below = 1cm of Gr] (Ro) {Robot};
\node [state, below= 1cm of Ta] (Go) {Goal};
\node [state, right = 1.7cm of $(Ta.south)!0.5!(Go.north)$] (Sc) {Success};
\path[every node/.style={font=\sffamily\small}] (Ty) edge node [below] {} (Sz) (Ty) edge node [below] {} (Wg) (Ty) edge node [below] {} (Tx) (Ty) edge node [below] {} (Rd) (Sz) edge node [below] {} (Gr) (Wg) edge node [below] {} (Gr) (Tx) edge node [below] {} (Gr) (Rd) edge node [below] {} (Gr) (Gr) edge node [right] {} (Ta) (Ro) edge node [above] {} (Gr) (Ta) edge node [right] {} (Sc) (Go) edge node [right] {} (Sc);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[yscale=0.7, xscale=0.9]
\node (node_00) at (100bp, 0bp) {$\epsilon$};
\node (node_01) at (25bp, 50bp) {${{1}}$};
\node (node_02) at ( 5bp, 100bp) {${{12}}$};
\node (node_04) at (45bp, 100bp) {${{13}}$};
\node (node_03) at ( 5bp, 150bp) {${{123}}$};
\node (node_05) at (45bp, 150bp) {${{132}}$};
\node (node_06) at (100bp, 50bp) {${{2}}$};
\node (node_07) at ( 80bp, 100bp) {${{21}}$};
\node (node_09) at (120bp, 100bp) {${{23}}$};
\node (node_08) at ( 80bp, 150bp) {${{213}}$};
\node (node_10) at (120bp, 150bp) {${{231}}$};
\node (node_11) at (175bp, 50bp) {${{3}}$};
\node (node_12) at (155bp, 100bp) {${{31}}$};
\node (node_14) at (195bp, 100bp) {${{32}}$};
\node (node_13) at (155bp, 150bp) {${{312}}$};
\node (node_15) at (195bp, 150bp) {${{321}}$};
\draw [black] (node_00) -- (node_01);
\draw [black] (node_00) -- (node_06);
\draw [black] (node_00) -- (node_11);
\draw [black] (node_01) -- (node_02);
\draw [black] (node_01) -- (node_04);
\draw [black] (node_02) -- (node_03);
\draw [black] (node_04) -- (node_05);
\draw [black] (node_06) -- (node_07);
\draw [black] (node_06) -- (node_09);
\draw [black] (node_07) -- (node_08);
\draw [black] (node_09) -- (node_10);
\draw [black] (node_11) -- (node_12);
\draw [black] (node_11) -- (node_14);
\draw [black] (node_12) -- (node_13);
\draw [black] (node_14) -- (node_15);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\draw (0,0) to[isource, l=$I_0$] (0,3) -- (2,3)
to[R=$R_1$] (2,0) -- (0,0);
\draw (2,3) -- (4,3) to[R=$R_2$]
(4,0) -- (2,0);
\end{circuitikz}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=150mm,xmin=-100,xmax=100,ymin=0,ymax=1.1,xtick={-100,-10,0,10,100},xticklabel={\pgfmathfloatparsenumber\tick\pgfmathfloatgetflagstomacro\pgfmathresult\pgfretval\if2\pgfretval\hskip-1.7ex\fi\pgfmathprintnumber\pgfmathresult},grid,xlabel=xlabel,ylabel=ylabel,title=title]\addplot[const plot,name path global=myFunction]coordinates{(-71,.001144165)(-57,.003432494)(-54,.004576659)(-50,.005720824)(-46,.006864989)(-44,.008009153)(-43,.010297483)(-42,.013729977)(-40,.014874142)(-39,.016018307)(-38,.018306636)(-37,.019450801)(-34,.02173913)(-33,.025171625)(-32,.026315789)(-31,.030892449)(-30,.035469108)(-29,.042334096)(-28,.050343249)(-27,.052631579)(-26,.057208238)(-25,.065217391)(-24,.073226545)(-23,.086956522)(-22,.09610984)(-21,.107551487)(-20,.113272311)(-19,.130434783)(-18,.143020595)(-17,.155606407)(-16,.177345538)(-15,.195652174)(-14,.207093822)(-13,.226544622)(-12,.255148741)(-11,.279176201)(-10,.302059497)(-9,.327231121)(-8,.352402746)(-7,.383295195)(-6,.424485126)(-5,.450800915)(-4,.487414188)(-3,.536613272)(-2,.586956522)(-1,.637299771)(0,.700228833)(1,.747139588)(2,.780320366)(3,.814645309)(4,.83180778)(5,.85583524)(6,.869565217)(7,.8798627)(8,.894736842)(9,.908466819)(10,.916475973)(11,.922196796)(12,.92791762)(13,.935926773)(14,.940503432)(15,.946224256)(16,.949656751)(17,.953089245)(18,.957665904)(19,.958810069)(20,.962242563)(21,.965675057)(22,.970251716)(23,.973684211)(24,.97597254)(25,.977116705)(26,.97826087)(29,.981693364)(31,.982837529)(34,.983981693)(35,.986270023)(36,.987414188)(37,.988558352)(41,.989702517)(42,.990846682)(45,.991990847)(47,.993135011)(49,.994279176)(71,.995423341)(76,.996567506)(79,.99771167)(90,.998855835)(95,1)};
\path[name path=myAxes](axis cs:-10,0)--(axis cs:10,0);
\addplot[fill=blue,draw=red,line width=2pt]fill between[of=myAxes and myFunction,soft clip second={domain=-10.15:10.1}];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions,plotmarks}
\begin{document}
\tikz \datavisualization [scientific axes={clean}, all axes={length=3cm}, visualize as line/.list={a,b,c}, a={gap cycle}, b={smooth cycle}, c={gap line}, a={style={mark=*, mark size=0.5pt}, label in legend={text=polygon}}, b={label in legend={text=circle}}, c={style={mark=*, mark size=0.5pt, mark options=red}, label in legend={text=line}}] data [format=function, set=a] { var t : {0,72,...,359};
func x = cos(\value t);
func y = sin(\value t);
} data [format=function, set=b] { var t : [0:352];
func x = .8*cos(\value t);
func y = .8*sin(\value t);
} data point [x=-1, y=0.5, set=c] data point [x=1, y=0.25, set=c];
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [surf] {x^2 - y^2};
\draw (rel axis cs:0,0,1)
-- (rel axis cs:1,1,1);
\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[bnc](B1){$v_i$} to[R=\SI{50}{\ohm}] ++(3,0)
node[bnc, xscale=-1](B2){\scalebox{-1}[1]{$v_o$}};
\node [ground] at (B1.shield) {};
\node [eground] at (B2.shield){};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}
\node[name=s,shape=capacitor IEC,minimum width=2cm,minimum height=3cm,inner sep=0pt]{};
\foreach\anchor/\placement in{center/above,30/above right,north/above,south/below,east/left,west/right,north east/above,south east/below,south west/below,north west/above,input/left,output/right}\draw[shift=(s.\anchor)]plot[mark=x]coordinates{(0,0)}node[\placement]{\scriptsize\texttt{(s.\anchor)}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{3d}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}[z={(10:10mm)},x={(-45:5mm)}]
\def\wave{
\draw[fill,thick,fill opacity=.2]
(0,0) sin (1,1) cos (2,0) sin (3,-1) cos (4,0)
sin (5,1) cos (6,0) sin (7,-1) cos (8,0)
sin (9,1) cos (10,0)sin (11,-1)cos (12,0);
\foreach \shift in {0,4,8}
{
\begin{scope}[xshift=\shift cm,thin]
\draw (.5,0) -- (0.5,0 |- 45:1cm);
\draw (1,0) -- (1,1);
\draw (1.5,0) -- (1.5,0 |- 45:1cm);
\draw (2.5,0) -- (2.5,0 |- -45:1cm);
\draw (3,0) -- (3,-1);
\draw (3.5,0) -- (3.5,0 |- -45:1cm);
\end{scope}
}
}
\begin{scope}[canvas is zy plane at x=0,fill=blue]
\wave
\node at (6,-1.5) [transform shape] {magnetic field};
\end{scope}
\begin{scope}[canvas is zx plane at y=0,fill=red]
\draw[help lines] (0,-2) grid (12,2);
\wave
\node at (6,1.5) [rotate=180,xscale=-1,transform shape] {electric field};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,automata,positioning}
\begin{document}
\begin{tikzpicture}[->,>= latex,node distance=2.3 cm,semithick]
\node [ state ] (g3) {$g_3$};
\node [ state ] (g4) [ right = 1.5 cm of g3] {$g_4$};
\path (g3) edge [loop left] node{-2} ()
(g3) edge[bend left,above] node {-2,0} (g4)
(g4) edge[loop right] node {3} ()
(g4) edge[bend left,below] node {1,3} (g3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,intersections,arrows.meta,angles,quotes}
\usepackage{tkz-base}
\usepackage{tkz-euclide}

\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}
\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}

\tkzSetUpColors[background=white,text=black]
\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]
\tkzSetUpArc[color=gray,line width=.2pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]

\tikzset{every picture/.style={line width=.2pt}}
\tikzset{new/.style={color=orange,line width=.2pt}}
\tikzset{label angle style/.append style={color=teal,font=\footnotesize}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
\tikzset{line style/.style={line width=.2pt}}

\begin{document}
  \begin{tikzpicture}[scale=.75]
    \tkzDefPoint(0,0){O}
    \tkzDefPoint(5,0){A}
    \tkzDefPoint(0,5){B}
    \tkzDefPoint(-5,0){C}
    \tkzDefPoint(0,-5){D}
    \tkzDefMidPoint(A,O)             \tkzGetPoint{I}
    \tkzInterLC(I,B)(I,A)            \tkzGetPoints{F}{E}
    \tkzInterCC(O,C)(B,E)            \tkzGetPoints{D3}{D2}
    \tkzInterCC(O,C)(B,F)            \tkzGetPoints{D4}{D1}
    \tkzDrawArc[angles](B,E)(180,360)
    \tkzDrawArc[angles](B,F)(220,340)
    \tkzDrawLine[add=.5 and .5](B,I)
    \tkzDrawCircle(O,A)
    \tkzDefCircle[diameter](O,A)     \tkzGetPoint{x}
    \tkzDrawCircle(x,A)
    \tkzDrawSegments(B,D C,A)
    \tkzDrawPolygon[new](D,D1,D2,D3,D4)
    \tkzDrawPoints(A,...,D,O)
    \tkzDrawPoints[new](E,F,I,D1,D2,D4,D3)
    \tkzLabelPoints[below left](A,...,D,O)
    \tkzLabelPoints[new,below right](I,E,F,D1,D2,D4,D3)
  \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.logic.IEC}
\begin{document}
\begin{tikzpicture}[minimum size=0.75cm]
\draw[help lines]grid(3,2);
\tikzset{every node/.style={shape=and gate IEC,draw,logic gate inputs=ini}
}\node[logic gate input sep=0.33333cm]at(1,1)(A){A};
\node[logic gate input sep=0.5cm]at(3,1)(B){B};
\foreach\a in{1,2,3}\draw(A.input \a-|0,0)--(A.input \a)(B.input \a-|2,0)--(B.input \a);
\end{tikzpicture}
\end{document}
\documentclass[varwidth,border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\path(-30:3.5)coordinate(X)(210:1.5)coordinate(Y);
\draw[green](X)--(0,0)--(Y);
\draw[red,thick,fill=red!20](0,0)circle(2.5);
\draw[thick,red](0,0)--(45:2.5);
\node[below,red]at(45:1.25){r};
\fill[red](0,0)circle(2pt);
\node[below,red]at(0,0){$x$};
\node(a)at($(X)+(45:1.18)$){};
\draw[blue,thick,fill=blue!20](X)circle(1);
\draw[blue,thick](X)--(a);
\fill[blue](X)circle(2pt);
\node[right,blue]at(X){$y_2$};
\node[right,blue]at($(X)!.5!(a)$){$\varepsilon_2$};
\node(b)at($(Y)+(-45:1.18)$){};
\draw[blue,thick,fill=blue!80!red!30!white](Y)circle(1);
\draw[blue,thick](Y)--(b);
\fill[blue](Y)circle(2pt);
\node[left,blue]at(Y){$y_1$};
\node[above,blue]at($(Y)!.5!(b)$){$\varepsilon_1$};
\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[color=red]
(0,2) node[and port, fill=yellow](myand1) {1}
(0,0) node[and port, fill=cyan] (myand2){2}
(2,1) node[xnor port,fill=red!30!white](myxnor){3}
(myand1.out) -| (myxnor.in 1)
(myand2.out) -| (myxnor.in 2)
;\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
angles,
quotes
}
\usepackage{amsmath,amssymb}
\tikzset{>=stealth}
\begin{document}
\tikz \draw (2,0) coordinate (A) -- (0,0) coordinate (B)
-- (1,1) coordinate (C)
pic ["$\alpha$", draw, ->] {angle};
\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, v=$\SI{1}{\volt}$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsthm, amsfonts, mathtools, nicefrac}
\usepackage{tikz}
\tikzset{kpunkt/.style={circle, fill, inner sep=0, minimum size=3pt}
}
\begin{document}
\begin{tikzpicture}
\foreach \w in {0,1,...,5}\node[kpunkt] (p\w) at (\w,0){};
\node[kpunkt] (p6) at (4,1){};
\draw (p0)--(p1)--(p2) (p3)--(p4)--(p5) (p4)--(p6);
\node at(2.5,0){$\ldots$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz [scale=.55] \datavisualization
[scientific axes=clean, all axes={ticks=few},
visualize as smooth line=my data, my data={gap line}]
data [format=function] {
var t : interval [0:4] samples 5;
func x = cos(\value t r);
func y = sin(\value t r);
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot [blue,domain=0:360] {sin(x)}
[yshift=8pt]
node [pos=0] {$0$}
node [pos=0.25] {$\pi/2$}
node [pos=0.5] {$\pi$}
node [pos=0.75] {$3/2\pi$}
node [pos=1] {$2\pi$}
;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
3d box,
title={3d box=complete},
samples=5,
domain=-4:4,
xtick=data,
ytick=data,
]
\addplot3 [surf] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}[scale=.8]
\begin{axis}[legend pos=north west,axis lines=none]\addplot[domain=-14:14,samples=500,red]{1/(1+(x+5)^2)+2/(1+(x-5)^2)};
\addlegendentry{$A(x)$}
\end{axis}\draw[scale=.5,domain=.6:3.4,dashed,variable=\y,blue]plot({4.4},{\y});
\draw[scale=.5,domain=.6:3.4,dashed,variable=\y,blue]plot({5.15},{\y});
\draw[scale=.5,domain=.6:3.4,dashed,variable=\y,blue]plot({8.2},{\y});
\draw[scale=.5,domain=.6:3.4,dashed,variable=\y,blue]plot({9.6},{\y});
\node[circle,inner sep=1.5pt,fill=black]at(2.2,1.7){};
\node[circle,inner sep=1.5pt,fill=black]at(2.6,1.7){};
\node[circle,inner sep=1.5pt,fill=black]at(4.1,1.7){};
\node[circle,inner sep=1.5pt,fill=black]at(4.8,1.7){};
\draw[line width=1mm](2.18,.3)--(2.6,.3);
\draw[line width=1mm](4.1,.3)--(4.82,.3);
\draw[dashed](.5,1.7)--(6.5,1.7);
\draw(0,.3)--(7,.3);
\draw(2,0)node{$x_1^-$};
\draw(2.7,0)node{$x_1^+$};
\draw(4,0)node{$x_2^-$};
\draw(5,0)node{$x_2^+$};
\draw(6.5,2)node{$\mu$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs, graphs.standard}
\begin{document}
\tikz \graph [clockwise] { subgraph K_n [n=5] };
\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}
\setchemfig{compound style={
draw,
line width=0.8pt,
semitransparent,
text opacity=1,
inner sep=8pt,
rounded corners=1mm
}}
\schemestart
A \arrow([fill=red]--[fill=blue])[90]
B \arrow(--[fill=gray])
C \arrow(--[fill=green])[-90]
D \arrow(--[draw=none])[-180]
\schemestop
\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}\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}\tkzSetUpColors[background=white,text=black]\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]\tkzSetUpArc[color=gray,line width=.2pt]\tkzSetUpPoint[size=2,color=teal]\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{every picture/.style={line width=.2pt}
}\tikzset{new/.style={color=orange,line width=.2pt}
}\tikzset{label angle style/.append style={color=teal,font=\footnotesize}
}\tikzset{label style/.append style={below,color=teal,font=\scriptsize}
}\tikzset{line style/.style={line width=.2pt}
}\tikzset{mybox/.style={draw=gray,fill=gray!10,very thick,rectangle,rounded corners,inner sep=10pt,inner ysep=10pt}
,title/.style={fill=gray,text=white,font=\bfseries,right=10pt}}\providecommand{\widearc}[1]{\overset{\frown}{#1}}\providecommand{\rmark}{}\providecommand{\parallelslant}{\mathbin{\!/\mkern-5mu/\!}}
\begin{document}

  \begin{tikzpicture}
    \tkzDefPoints{0/0/A, 3/2/B, 2/2/C}\tkzDefLine[perpendicular=through C,K=-.5](A,B)\tkzGetPoint{c}\tkzShowLine[perpendicular=through C,K=-.5,gap=3](A,B)\tkzDefPointBy[projection=onto A--B](c)\tkzGetPoint{h}\tkzMarkRightAngle[fill=lightgray](A,h,C)\tkzDrawLines[add=.5 and .5](A,B C,c)\tkzDrawPoints(A,B,C,h,c)
  \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix,chains,scopes,shapes.geometric}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[every node/.style=draw]
\matrix[matrix of nodes,column sep=5mm,row sep=5mm]{|(a)|World&|(b)[circle]|peace\\|(c)|be&|(d)[isosceles triangle]|would\\|(e)[ellipse]|great&|(f)|!\\};
{[start chain,every on chain/.style={join=by ->}]\chainin(a);
\chainin(b);
\chainin(d);
\chainin(c);
\chainin(e);
\chainin(f);
}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean, x axis={grid={major at=(pi/2)}},
visualize as smooth line]
data [format=function] {
var x : interval[0:pi/2-0.1];
func y = tan(\value x r);
}
data point [outlier]
data [format=function] {
var x : interval[pi/2+0.1:pi];
func y = tan(\value x r);
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[title=Snap to nearest for scatter plots]
\addplot+ [only marks]
coordinates { (0,0) (1,1) (2,2) (3,3) }
node [pos=0, pin=0 :0 ] {}
node [pos=0.1, pin=90 :0.1 ] {}
node [pos=0.2, pin=200:0.2 ] {}
node [pos=0.3, pin=135:0.3 ] {}
node [pos=0.4, pin=0 :0.4 ] {}
node [pos=0.5, pin=60 :0.5 ] {}
node [pos=0.75,pin=180:0.75] {}
node [pos=1, pin=90 :1 ] {}
;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\pgfmathsetseed{42}
\begin{axis}[
ymajorgrids,
]
\addplot+ [
domain=0:180,
samples=11,
error bars/.cd,
y dir=both, y fixed=0.1,
error mark=diamond*,
] {sin(x) + rand*0.1};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{ABCD-[:100]EFG}\quad
\chemfig{ABCD-[:-110]EFG}\quad
\chemfig{ABCD-[5]EFG}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\tikz [ultra thick] \draw [draw=red, fill=red!50,
arrows = {-Stealth[length=15pt, fill=pgffillcolor]}]
(0,0) -- (1,1) -- (2,0);
\end{document}