AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
quotes
}
\begin{document}
\tikz
\graph [edge quotes={fill=white,inner sep=1pt},
grow down, branch right, nodes={circle,draw}] {
"" -> h [>"9"] -> {
c [>"4"] -> {
a [>"2"],
e [>"0"]
},
j [>"7"]
}
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
patchplots,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
nodes near coords={(\coordindex)},
title=Rectangle from patch input,
]
\addplot [
patch,
patch type=rectangle,
] coordinates {
(0,0) (1,0) (1,1) (0,1)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}[scale=0.5]
\ctikzset{seven seg/width=0.2, seven seg/thickness=2pt}
\foreach \i in {0,...,15} \path (\i,0)
node[seven segment val=\i dot on box off]{};
\ctikzset{seven seg/color on=black}
\foreach \i in {0,...,15} \path (\i,-1.5)
node[seven segment val=\i dot off box off, fill=gray!30!white]{};
\ctikzset{seven seg/color on=green, seven seg/color off=yellow!30}
\foreach \i in {0,...,15} \path[color=red] (\i,-3)
node[seven segment val=\i dot none box on, xslant=0.2]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {$1$};
\node (B) at (-1,1) {$a$};
\node (C) at (1,1) {$b$};
\node (D) at (-2,2) {$ab$};
\node (E) at (0,2) {$aa$};
\node (F) at (2,2) {$bb$};
\node (G) at (-3,3) {$abb$};
\node (H) at (-1,3) {$aab$};
\node (I) at (1,3) {$aaa$};
\node (J) at (3,3) {$bbb$};
\node (K) at (-4,4) { };
\node (L) at (-2,4) { };
\node (M) at (0,4) { };
\node (N) at (2,4) { };
\node (O) at (4,4) { };
\draw (B) -- (A) -- (C);
\draw (D) -- (B) -- (E) -- (C) -- (F);
\draw (G) -- (D) -- (I) -- (E) -- (H) -- (E) -- (I) -- (F) -- (J);
\draw (G) -- (M) -- (H) -- (M) -- (I) -- (M) -- (J);
\draw (G) -- (K);
\draw (H) -- (L);
\draw (I) -- (N);
\draw (J) -- (O);
\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}[baseline]
\datavisualization [ school book axes, visualize as line ]
data [format=function] {
var x : interval [-0.1*pi:2];
func y = sin(\value x r);
}
info' {
\fill [red] (visualization cs: x={(.5*pi)}, y=1) circle [radius=2mm];
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{quotes}
\makeatletter
\newcommand{\NewPoints}[1]{
\expandafter\edef\csname #1\endcsname{a-\NumNode-\theLittNode}
\stepcounter{LittNode}
}
\makeatother
\newcounter{LittNode}
\pgfmathtruncatemacro{\NumNode}{0}
\def\N#1{a-\NumNode-#1}
\newcommand{\KeepUsefullNodes}{
\edef\Sortie{\csname OutPut-\NumNode\endcsname}
\foreach \Nd [count=\i from 1]
in \Sortie {
\coordinate (\Nd) at (\N{\i}) ;
}
\pgfmathtruncatemacro{\NumNode}{\NumNode-1}
}
\newcommand{\AtBeginTikzMacro}[1]{
\pgfmathtruncatemacro{\NumNodep}{\NumNode}
\pgfmathtruncatemacro{\NumNode}{\NumNode+1}
\expandafter\xdef\csname OutPut-\NumNode\endcsname{#1}
\setcounter{LittNode}{1}
}
\def\tr[#1](#2,#3,#4){\draw[#1] (#2) -- (#3) -- (#4) --cycle;}
\def\drawpoints(#1){
\foreach \pt in {#1} {\fill (\pt) circle (2 pt);}}
\def\labelpoints(#1){
\foreach \pt in {#1} {\path coordinate["\pt" below] () at (\pt) ;}}
\def\Middles[#1](#2,#3,#4){
\AtBeginTikzMacro{#1}
\NewPoints{A}
\NewPoints{B}
\NewPoints{C}
\path[coordinate](barycentric cs:#2=1,#3=1) coordinate (\C);
\path[coordinate](barycentric cs:#2=1,#4=1) coordinate (\B);
\path[coordinate](barycentric cs:#3=1,#4=1) coordinate (\A);
\KeepUsefullNodes
}
\def\Medians[#1](#2,#3,#4){
\AtBeginTikzMacro{#1}
\NewPoints{Gravite}
\NewPoints{A}
\NewPoints{B}
\NewPoints{C}
\Middles[\A,\B,\C](#2,#3,#4)
\tr[blue](\A,\B,\C)
\path[coordinate](barycentric cs:\A=1,\B=1,\C=1) coordinate (\Gravite);
\draw[green] (#2)--(\A) (#3)--(\B) (#4)--(\C);
\KeepUsefullNodes
}
\begin{document}
\begin{tikzpicture}
\path coordinate (a) at (0,1)
coordinate (b) at (5,2)
coordinate (c) at (1,6);
\tr[red](a,b,c)
\Medians[G,I,J,K](a,b,c)
\tr[blue](I,J,K)
\drawpoints(G)
\labelpoints(G)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{perspective}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[isometric view]
\draw[->] (-1,0,0) -- (1,0,0) node[pos=1.1]{x};
\draw[->] (0,-1,0) -- (0,1,0) node[pos=1.1]{y};
\draw[->] (0,0,-1) -- (0,0,1) node[pos=1.1]{z};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes,shapes.geometric,positioning,arrows,automata,decorations.pathreplacing,arrows.meta}
\tikzset{sqstate/.style={draw,regular polygon,regular polygon sides=4,inner sep=0cm}
}\tikzset{rectangle/.style={draw,shape=rectangle,inner sep=0cm}
}
\begin{document}
\begin{tikzpicture}[shorten >=1pt,node distance=1cm]
\node[sqstate] (q0) {$C_0$};
\node[sqstate] (q1) [above left=of q0] {$C_1$};
\node[sqstate] (q2) [below left=of q0] {$C_2$};
\node[sqstate] (q3) [right=of q0] {$C_3$};
\node[sqstate] (q4) [above right=of q3] {$C_4$};
\node[sqstate] (q5) [below right=of q3] {$C_5$};
\path[-{latex[scale=3.0]}] (q0) edge node {} (q3) (q2) edge node {} (q1) (q1) edge node {} (q0) (q3) edge node {} (q4) (q4) edge node {} (q5);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A?[a]-[:-72]B-C?[a]?[b]-[:72]D-[:144]E?[a]?[b]}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0,0.5,0.5}
\begin{document}

  \begin{tikzpicture}[scale=.5,line width=.2pt]
    \tkzDefPoints{0/0/A,6/0/B}\tkzDefTriangle[equilateral](A,B)\tkzGetPoint{C}\tkzDefTriangleCenter[centroid](A,B,C)\tkzGetPoint{I}\tkzDefPointBy[homothety=center A ratio 1/3](B)\tkzGetPoint{c1}\tkzInterLC(B,C)(I,c1)\tkzGetPoints{a1}{a2}\tkzInterLC(A,C)(I,c1)\tkzGetPoints{b1}{b2}\tkzInterLC(A,B)(I,c1)\tkzGetPoints{c1}{c2}\tkzDrawPolygon(A,B,C)\tkzDrawCircle[thin,orange](I,c1)\tkzDrawPolygon[red,thick](a2,a1,b2,b1,c2,c1)
  \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\tikz
\graph [grow down,
branch right=2.5cm] {
root -> {
child 1,
child 2 -> {
grand child 1,
grand child 2
},
child 3 -> {
grand child 3
}
}
};
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
node distance = 12mm and 6mm,
box/.style = {rectangle, draw, fill=#1,
minimum width=12mm, minimum height=7mm}
]
\node (delta) [box=blue!10] {$\Delta s_i > 0$};
\node (L1) [box=green!10, below = of delta] {\ref{Word:A2}};
\draw[->] (delta) to (L1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
small,
title=A ``small'' figure,
xlabel=The $x$-axis,
ylabel=The $y$-axis,
minor tick num=1,
legend entries={Leg},
]
\addplot {x^2};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) node[dipchip,
rotate=90]{
\rotatebox{-90}{IC2}};
\draw (3,0) node[qfpchip,
rotated numbers,
rotate=45]{IC3};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[scaled ticks=true]
\addplot coordinates {
(20000,0.0005)
(40000,0.0010)
(60000,0.0020)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{siunitx}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[R, l=$R_1$, f=$i_1$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{decorations.markings,positioning,arrows,matrix,hobby}
\begin{document}
\begin{tikzpicture}
\node[shape=circle,fill,scale=0.3] (v) at (0,0) {};
\node[shape=circle,fill=white,scale=0.3] () at (-2,0) {};
\node[shape=circle,fill=white,scale=0.3] () at (0,-3.4) {};
\node[shape=circle,fill=white,scale=0.3] () at (0,2) {};
\node[shape=circle,fill=white,scale=0.3] () at (2,0) {};
\node[shape=circle,fill=white,scale=1] () at (1.2,-1.15) {$(0,0,1)$};
\node[shape=circle,fill=white,scale=1] () at (0,1.65) {$(1,-1,0)$};
\node[shape=circle,fill=white,scale=1] () at (-1.3,-1.15) {$(1,1,-1)$};
\draw[>=latex,->,line width=0.3mm] (v) to [out=360,in=300,looseness=105] (v);
\draw[>=latex,->,line width=0.3mm] (v) to [out=120,in=60,looseness=105] (v);
\draw[>=latex,->,line width=0.3mm] (v) to [out=240,in=180,looseness=105] (v);
\end{tikzpicture}
\end{document}
\documentclass{tufte-handout}
\usepackage{tikz}
\begin{document}
\begin{fullwidth}
\begin{tikzpicture}

\draw [help lines] (0,-1) -- (0,1);
\draw [help lines] (0,0) -- (5,0);
\draw [very thick, red](0,0) sin (1,1) cos (2,0) sin (3,-1) cos (4,0) sin (5,1);
\end{tikzpicture}\hspace{5mm}
\begin{tikzpicture}

\draw [help lines] (0,-1) -- (0,1);
\draw [help lines] (0,0) -- (4,0);
\draw [very thick, red](0,1) cos (1,0) sin (2,-1) cos (3,0) sin (4,1);
\end{tikzpicture}\end{fullwidth}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}[scale=0.9]
\begin{axis}[ticks=none,axis x line=bottom,axis y line=left,xlabel={Volume}, ylabel={Pressure}]
\end{axis}\draw [very thick][-latex](160pt,20pt)..controls(100pt,25pt) and (60pt,45pt)..(42pt,58pt);
\draw [very thick][-latex] (40pt,60pt)--(40pt,126pt);
\draw [very thick][-latex] (40pt,130pt)..controls(60pt,90pt) and (100pt,70pt)..(157pt,60pt);
\draw [very thick][-latex] (160pt,60pt)--(160pt,23pt);
\filldraw(40pt,60pt)circle(2pt) (40pt,130pt)circle (2pt)(160pt,60pt)circle(2pt)(160pt,20pt)circle(2pt);
\draw (160pt,20pt) node [below right] {$1$};
\draw (40pt,60pt) node [below left] {$2$};
\draw (40pt,130pt) node [left] {$3$};
\draw (160pt,60pt) node [above right] {$4$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[footnotesize,xlabel=$x$,ylabel=$y$,unit vector ratio=]
\addplot3 [surf,z buffer=sort,samples=15,
variable=\u, variable y=\v,
domain=0:180, y domain=0:360]
({cos(u)*sin(v)}, {sin(u)*sin(v)}, {cos(v)});
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[footnotesize,xlabel=$x$,ylabel=$y$,
unit rescale keep size=false,
unit vector ratio=1 1 1]
\addplot3 [surf,z buffer=sort,samples=15,
variable=\u, variable y=\v,
domain=0:180, y domain=0:360]
({cos(u)*sin(v)}, {sin(u)*sin(v)}, {cos(v)});
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{axis}[footnotesize,xlabel=$x$,ylabel=$y$,
unit vector ratio*=0.25 0.5,
]
\addplot3 [surf,z buffer=sort,samples=15,
variable=\u, variable y=\v,
domain=0:180, y domain=0:360]
({cos(u)*sin(v)}, {sin(u)*sin(v)}, {cos(v)});
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.82]
\foreach \inx in {0,-3,-6}{
\draw (0,0+\inx) -- (8*1.618 + 5,0+\inx);
\draw(0,0.2+\inx) -- (0,-0.2+\inx);
\draw(8*1.618 + 5,0.2+\inx) -- (8*1.618 + 5,-0.2+\inx);
\node[anchor=north] at (0,-0.2+\inx) {$0$};
\node[anchor=north] at (8*1.618 + 5,-0.2+\inx) {$1$};
}
\foreach \inx in {-3,-6}{
\draw(3*1.618+2,0.2+\inx) -- (3*1.618+2,-0.2+\inx);
\draw(5*1.618+3,0.2+\inx) -- (5*1.618+3,-0.2+\inx);
\draw(6*1.618+4,0.2+\inx) -- (6*1.618+4,-0.2+\inx);
}
\draw(1*1.618+1,0.2-6) -- (1*1.618+1,-0.2-6);
\draw(2*1.618+1,0.2-6) -- (2*1.618+1,-0.2-6);
\draw(2*1.618+2,0.2-6) -- (2*1.618+2,-0.2-6);
\draw(4*1.618+3,0.2-6) -- (4*1.618+3,-0.2-6);
\draw(7*1.618+4,0.2-6) -- (7*1.618+4,-0.2-6);
\node[scale=1.5, anchor=south] at (4*1.618 + 2.5,0) {$I^0_1$};
\node[scale=1.5, anchor=south] at (1.5*1.618+1,-3) {$I^1_1$};
\node[scale=1.5, anchor=south] at (4*1.618+2.5,-3) {$I^1_2$};
\node[scale=1.5, anchor=south] at (5.5*1.618+3.5,-3) {$I^1_3$};
\node[scale=1.5, anchor=south] at (7*1.618+4.5,-3) {$I^1_4$};
\node[anchor=south] at (0.5*1.618+0.5,-6) {$I^2_1$};
\node[anchor=south] at (1.5*1.618+1,-6) {$I^2_2$};
\node[anchor=south] at (2*1.618+1.5,-6) {$I^2_3$};
\node[anchor=south] at (2.5*1.618+2,-6) {$I^2_4$};
\node[anchor=south] at (3.5*1.618+2.5,-6) {$I^2_5$};
\node[anchor=south] at (4.5*1.618+3,-6) {$I^2_6$};
\node[anchor=south] at (5.5*1.618+3.5,-6) {$I^2_7$};
\node[anchor=south] at (6.5*1.618+4,-6) {$I^2_8$};
\node[anchor=south] at (7.5*1.618+4.5,-6) {$I^2_9$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-qtree-compat}
\usetikzlibrary{shapes, fit, arrows.meta}
\usepackage{colortbl}
\tikzset{>=latex}
\usepackage[color=red!5]{todonotes}
\usepackage{xcolor}
\usepackage[skins]{tcolorbox}
\usepackage{amsmath}
\usepackage{tabularx,lipsum,environ,amsmath,amssymb}
\begin{document}
\begin{tikzpicture}[scale=0.9, level distance=2.4cm, sibling distance=2cm, every tree node/.style={align=center, transform shape}]
\Tree [ .\node [style={draw,rectangle}, fill=gray!10] {SUBORD\\\textit{Attribution}};
\edge node[midway, left] {core};
[.\node(a){``It is not even wrong.''};
]\edge node[midway, right] {context};
[.\node(b){This was what\\ Pauli remarked sadly.};
] ] ]
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:-30]**6(-(-OH)-?-*6(-(-[3]-[2,2]-[0,.5])*6(-(<:[:-150,1.155]O?)-(<:OH)-=-)-(<:[1]H)-(-[2]NCH_3)--)---)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=2]
\coordinate (O) at (0,0);
\coordinate (x0) at (1,0);
\coordinate (x1) at ([shift={+(120:1cm)}] x0);
\coordinate (x2) at ([shift={+(-1,0)}] x1);
\coordinate (x3) at ([shift={+(240:1cm)}] x2);
\coordinate (x4) at ([shift={+(300:1cm)}] x3);
\coordinate (x5) at ([xshift=1cm, yshift=0] x4);
\draw (x0)node [above right]{$x_0$}
--(x1)node [above right]{$x_1$}
--(x2)node [above left]{$x_2$}
--(x3)node [above left]{$x_3$}
--(x4)node [below left]{$x_4$}
--(x5)node [below right]{$x_5$}
--cycle;
\draw (-1.5,0) -- (1.5, 0);
\draw [thick,<->] (1.4,0.1) -- (1.4, -0.1);
\node [right] at (1.5,0){$\tau_0$};
\draw (-1.157,-2/3) -- (1.157, 2/3);
\draw [thick,<->] (0.95, 0.663953) -- (1.05, 0.490748);
\node [right] at (1.157, 2/3){$\sigma_0$};
\node [above] at (0,0){$o$};
\draw [fill] (x0) circle [radius=.03];
\draw [fill] (x1) circle [radius=.03];
\draw [fill] (x2) circle [radius=.03];
\draw [fill] (x3) circle [radius=.03];
\draw [fill] (x4) circle [radius=.03];
\draw [fill] (x5) circle [radius=.03];
\draw [fill] (O) circle [radius=.03];
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[resistor=1<\kilo\ohm>] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotsset{
table/search path={.,plotdata}
}
\pgfplotstableread{
0.190600 0.860900
0.194400 0.908000
0.179900 0.140700
0.212400 0.294200
0.218900 0.779100
0.201700 0.388400
0.209100 0.679900
0.196200 0.470800
0.199900 0.812700
0.199300 0.850500
0.204300 0.980300
0.209500 0.953000
0.176200 0.145300
0.207400 0.351900
0.199000 0.304500
0.202200 0.256300
0.197000 0.744300
0.181100 0.998900
0.193400 0.554900
0.218300 0.506500
0.193800 0.201000
0.208100 0.531900
0.204100 0.635500
0.217000 0.069800
0.196100 0.710300
0.198900 0.440900
0.213000 0.591900
0.206000 0.030700
0.186000 0.395900
0.206500 0.082500
0.195500 0.672000
0.221400 -0.013500
0.202300 0.222300
0.193300 0.959700
}\datapgfplotsscatterdataA
\pgfplotstableread{
0.005300 0.369500
-0.016100 0.610000
-0.007400 0.252100
0.002900 0.699600
0.010900 0.232000
-0.014100 0.152400
-0.008000 -0.003100
-0.009100 0.639900
-0.008700 0.125800
-0.003700 0.897400
0.009600 0.432200
-0.009100 0.770800
-0.030300 0.974200
-0.004000 0.675900
-0.002100 0.089500
0.003300 0.319700
0.006100 0.863300
0.000600 0.263700
-0.008900 0.471500
0.016000 0.505700
0.000000 0.602600
-0.012300 0.404400
-0.007000 0.911900
0.006700 0.747200
0.009000 0.825300
-0.001500 0.534400
-0.020600 0.336300
0.012600 0.039800
0.011600 0.944100
-0.003600 0.068000
-0.022400 0.575400
-0.002900 0.184500
}\datapgfplotsscatterdataB
\pgfplotstableread{
0.968555 0
0.030884 0
0.750000 0
0.468750 0
1.000000 0
0.030176 0
0.750000 0
0.468750 0
0 0
}\datapgfplotsscatterdataAlatent
\pgfplotstableread{
0.367188 0
0.312500 0
0.136719 0
0.828125 0
0.656250 0
0.343750 0
0.125000 0
0.156250 0
}\datapgfplotsscatterdataBlatent
\begin{document}
\begin{tikzpicture}
\pgfplotsset{
every axis/.append style={
cycle list={
{red,only marks,mark=*,
mark options={fill=red,scale=0.8}},
{black,only marks,mark=square*,
mark options={fill=black,scale=0.8}}
},
},
}
\begin{axis}[
width=4cm,scale only axis,
name=main plot,
]
\addplot table{\datapgfplotsscatterdataA};
\addplot table{\datapgfplotsscatterdataB};
\addplot [blue] coordinates {
(0.093947, -0.011481)
(0.101957, 0.494273)
(0.109967, 1.000027)
};
\end{axis}
\begin{axis}[
at={(main plot.below south west)},yshift=-0.1cm,
anchor=north west,
width=4cm,scale only axis,height=0.8cm,
ytick=\empty,
]
\addplot table{\datapgfplotsscatterdataAlatent};
\addplot table{\datapgfplotsscatterdataBlatent};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{lmodern}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=1.2,transform shape,use fpu reciprocal]
\draw(60,1)to[battery2,v_=$V_{cc}$]++(0,2);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
\begin{scope}
\clip(0,0)rectangle(4,3);
\foreach\X in{-2,-1.6,...,2}{\draw(0,\X)parabola++(5,2);}
\end{scope}
\draw[-stealth](-1,0)--(5,0)node[below right]{$x_3$};
\draw[-stealth](0,-0.5)node[above left]{$0$}--(0,3)node[right=2em,yshift=-1em]{$\theta(x_3)$};
\draw[-stealth](4,-0.5)node[above left]{$L$}--(4,3)node[below right]{$x_1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\pgfdeclareplotmark{dot}{\fill circle[x radius=.02,y radius=.08];
}
\begin{document}
\begin{tikzpicture}[declare function={normal(\x,\m,\s)=1/(2*\s*sqrt(pi))*exp(-(\x-\m)^2/(2*\s^2));
invgauss(\a,\b)=sqrt(-2*ln(\a))*cos(deg(2*pi*\b));
}]
\begin{axis}[domain=0:12,zmin=0,zmax=1,xmin=0,xmax=3,samples=200,samples y=0,view={40}{30},axis lines=middle,enlarge y limits=false,xtick={.5,1.5,2.5},xmajorgrids,ytick=\empty,xticklabels={$x_1$,$x_2$,$x_3$},ztick=\empty,xlabel=$x$,xlabel style={at={(rel axis cs:1,0,0)},anchor=west},ylabel=$y$,ylabel style={at={(rel axis cs:0,1,0)},anchor=south west},zlabel=Probability density,zlabel style={at={(rel axis cs:0,0,.5)},rotate=90,anchor=south},set layers]\addplot3[gray!50,only marks,mark=dot,mark layer=like plot,domain=.1:2.9,on layer=axis background](x,{1.5*(x-.5)+3+invgauss(rnd,rnd)},0);
\addplot3[samples=2,domain=0:3](x,{1.5*(x-.5)+3},0);
\addplot3[cyan!50!black,thick](.5,x,{normal(x,3,.75)});
\addplot3[cyan!50!black,thick](1.5,x,{normal(x,4.5,.75)});
\addplot3[cyan!50!black,thick](2.5,x,{normal(x,6,.75)});
\begin{pgfonlayer}
{axis background}\draw[gray](.5,3,0)--(.5,3,{normal(0,0,.75)})(.5,0,0)--(.5,12,0)(1.5,4.5,0)--(1.5,4.5,{normal(0,0,.7)})(1.5,0,0)--(1.5,12,0)(2.5,6,0)--(2.5,6,{normal(0,0,.75)})(2.5,0,0)--(2.5,12,0);
\end{pgfonlayer}
\end{axis}
\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,scheme debug=true}
\begin{document}
\schemestart\chemfig{A*5(-----)}\arrow(.base east--.base west)\chemfig{A*5(---(-)--)}\schemestop\schemestart\chemfig{A*5(-----)}\arrow(foo.mid east--bar.mid west)\chemfig{A*5(---(-)--)}\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots,amsmath,amssymb}
\pgfplotsset{compat=1.15}
\begin{document}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-0.7,xscale=0.7]
\definecolor{c}{RGB}{139,6,24}
\draw [color=c, fill=c] (120.5,323) -- (178.6,238.01);
\draw [color=c, fill=c] (242.5,323.25) -- (178.6,238.01);
\draw [color=c, fill=c] (178.6,238.01) -- (177.5,132.75);
\draw [color=c, fill=c] (213.99,287.47) .. controls (213.99,286.51) and (214.62,285.74) .. (215.4,285.74) .. controls (216.18,285.74) and (216.81,286.51) .. (216.81,287.47) .. controls (216.81,288.42) and (216.18,289.2) .. (215.4,289.2) .. controls (214.62,289.2) and (213.99,288.42) .. (213.99,287.47) -- cycle;
\draw [color=c, fill=c] (143.59,287.87) .. controls (143.59,286.91) and (144.22,286.14) .. (145,286.14) .. controls (145.78,286.14) and (146.41,286.91) .. (146.41,287.87) .. controls (146.41,288.82) and (145.78,289.6) .. (145,289.6) .. controls (144.22,289.6) and (143.59,288.82) .. (143.59,287.87) -- cycle;
\draw [color=c, fill=c] (176.79,179.87) .. controls (176.79,178.91) and (177.42,178.14) .. (178.2,178.14) .. controls (178.98,178.14) and (179.61,178.91) .. (179.61,179.87) .. controls (179.61,180.82) and (178.98,181.6) .. (178.2,181.6) .. controls (177.42,181.6) and (176.79,180.82) .. (176.79,179.87) -- cycle;
\draw [color=c, fill=c] (457.5,324) -- (513.6,239.01);
\draw [color=c, fill=c] (577.5,324.25) -- (513.6,239.01);
\draw [color=c, fill=c] (513.6,239.01) -- (512.5,133.75);
\draw [color=c, fill=c] (512.19,239.28) .. controls (512.19,238.32) and (512.82,237.55) .. (513.6,237.55) .. controls (514.38,237.55) and (515.01,238.32) .. (515.01,239.28) .. controls (515.01,240.24) and (514.38,241.01) .. (513.6,241.01) .. controls (512.82,241.01) and (512.19,240.24) .. (512.19,239.28) -- cycle;
\draw (105.73,310.72) node [anchor=north west, inner sep=0.75pt] {$x$};
\draw (221.49,313.99) node [anchor=north west, inner sep=0.75pt] {$y$};
\draw (183.31,130.18) node [anchor=north west, inner sep=0.75pt] {$z$};
\draw (158.41,203.13) node [anchor=north west, inner sep=0.75pt, font=\small] {$L$};
\draw (140.87,248.14) node [anchor=north west, inner sep=0.75pt, font=\small] {$L$};
\draw (201.49,250.03) node [anchor=north west, inner sep=0.75pt, font=\small] {$L$};
\draw (284,213.4) node [anchor=north west, inner sep=0.75pt] {$={ }\sum\limits_{l} m_{( x,i) ,( y,j),l}^{( z,k)}$};
\draw (148,285.4) node [anchor=north west, inner sep=0.75pt, font=\small] {$i$};
\draw (199.48,286.05) node [anchor=north west, inner sep=0.75pt, font=\small] {$j$};
\draw (184.5,170.4) node [anchor=north west, inner sep=0.75pt, font=\small] {$k$};
\draw (440.73,311.72) node [anchor=north west, inner sep=0.75pt] {$x$};
\draw (552.49,311.99) node [anchor=north west, inner sep=0.75pt] {$y$};
\draw (518.31,130.18) node [anchor=north west, inner sep=0.75pt] {$z$};
\draw (520,226.4) node [anchor=north west, inner sep=0.75pt] {$l$};
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (5,5);
\begin{axis}[xshift=10cm,xmin=1,xmax=3,ymin=1,ymax=2]
\filldraw[red] (axis cs:1,1) -- (axis cs:2,2) -- (axis cs:3,1) -- cycle;
\end{axis}
\end{tikzpicture}
\end{document}