AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,tikz}
\usetikzlibrary{decorations.pathreplacing,arrows}
\begin{document}
\begin{tikzpicture}[every node/.style={font=\scriptsize}]
\foreach \a in {0,2}{\foreach \x in {0,2,6,8,12,14}{\fill (\x,\a) circle (2pt);
}\draw[thick] (0,\a)--(2,\a)--(3.5,\a) (4.5,\a)--(6,\a)--(8,\a)--(9.5,\a) (10.5,\a)--(12,\a)--(14,\a);
\draw[thick,dashed] (3.6,\a)--(4.4,\a) (9.6,\a)--(10.4,\a);
}\foreach \x/\y/\z in {0/S/T,2/{(A_1\rtimes B_1)}/{(H_1 \times H_0)},6/{(A_n\rtimes B_n)}/{(H_n \times H_{n-1})},8/{(A_n\rtimes B_n)}/{(H_n \times H_{n-1})},12/{(A_1\rtimes B_1)}/{(H_1 \times H_0)},14/S/T}{\node at (\x,2.3){$\y$};
\node at (\x,-0.3){$\z$};
\draw[->,-stealth] (\x,1.8)--(\x,0.2);
}\foreach \x/\y/\z in {1/A_0/H_0,3/A_1/H_1,5/A_{n-1}/H_{n-1},7/A_n/H_n,9/A_{n-1}/H_{n-1},11/A_1/H_1,13/A_0/H_0}{\node at (\x,1.8){$\y$};
\node at (\x,0.3){$\z$};
\draw[->,-stealth] (\x,1.6)--(\x,0.5);
}\draw [decorate,decoration={brace,amplitude=5pt,raise=3ex}] (0,2.2) -- (6.5,2.2) node[midway,yshift=2.4em]{$L_n$};
\draw [decorate,decoration={brace,amplitude=5pt,raise=3ex}] (7.5,2.2) -- (14,2.2) node[midway,yshift=2.4em]{$L_n$};
\draw [decorate,decoration={brace,mirror,amplitude=5pt}] (-0.1,-0.7) -- (6.8,-0.7) node[midway,yshift=-1.2em]{$G_n$};
\draw [decorate,decoration={brace,mirror,amplitude=5pt}] (7.2,-0.7) -- (14,-0.7) node[midway,yshift=-1.2em]{$G_n$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[legend pos=outer north east]
\addplot table {
X Y
1 1
2 4
3 9
4 16
5 25
6 36
};
\addplot table [
y={create col/linear regression={y=Y}},
] {
X Y
1 1
2 4
3 9
4 16
5 25
6 36
};
\addlegendentry{$y(x)$}
\addlegendentry{
$\pgfmathprintnumber{\pgfplotstableregressiona} \cdot x
\pgfmathprintnumber[print sign]{\pgfplotstableregressionb}$}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\pgfplotstableread{
n eapprox
1 97.71828182845904
2 101.38905609893065
3 87.08553692318768
4 92.59815003314424
5 194.4131591025766
6 410.4287934927351
7 1174.6331584284585
8 3032.9579870417283
9 8198.083927575384
10 22124.465794806718
11 59973.14171519782
}\dataapproxexp
\pgfplotstableread{
n eapprox
1 97.71828182845904
2 101.38905609893065
3 87.08553692318768
4 92.59815003314424
5 194.4131591025766
6 410.4287934927351
7 1174.6331584284585
8 3032.9579870417283
9 8198.083927575384
10 22124.465794806718
11 59973.14171519782
}\dataapproxexpa
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot table[x=n,y=eapprox]
{\dataapproxexp};
\addplot[no markers,red,thick]
table [x=n,y={create col/linear regression={
y=eapprox,ymode=log,
variance format=linear}}]
{\dataapproxexpa};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0, 0) -- (10, 0);
\draw (0, 5) -- (10, 5);
\draw (0, 0) -- (0, 5);
\draw (10, 0) -- (10, 5);
\draw (10, 5) -- (6, 0);
\draw (10, 5) -- (8, 0);
\draw (10, 5) -- (9, 0);
\draw (6, 0) to[out = 55, in = 125] (8, 0);
\draw (7, 0) to[out = -80, in = -100] (9, 0);
\filldraw [black] (0, 0) circle (3pt);
\filldraw [black] (5, 0) circle (3pt);
\filldraw [black] (6, 0) circle (3pt);
\node at (6, 0.4) {$\alpha$};
\filldraw [black] (7, 0) circle (3pt);
\node at (7, 0.4) {$\beta$};
\filldraw [black] (8, 0) circle (3pt);
\node at (8, 0.4) {$\gamma$};
\filldraw [black] (9, 0) circle (3pt);
\node at (9, 0.4) {$\delta$};
\filldraw [black] (10, 0) circle (3pt);
\filldraw [black] (0, 5) circle (3pt);
\filldraw [black] (5, 5) circle (3pt);
\filldraw [black] (10, 5) circle (3pt);
\node at (10, 5.4) {$\omega$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{decorations}
\usetikzlibrary{shapes}
\usepackage{amssymb}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[scale=1.15,vertex/.style={inner sep=1.3pt,draw,circle, fill}]
\begin{scope}[xshift=-0.5cm]\node[vertex] (1) at (0.2,1) {};
\node[vertex] (2) at (0.2,0) {};
\node[vertex] (3) at (0.7,0.5) {};
\draw[] (1)--(2);
\node[] (s) at (0.5,-0.5) {$P_2+P_1$};
\end{scope}
\begin{scope}[xshift=1.65cm]
\node[vertex] (1) at (0.5,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (1,0) {};
\draw[] (1)--(2)--(3)--(1);
\node[] (s) at (0.5,-0.5) {$K_3$};
\end{scope}
\begin{scope}[xshift=3.8cm]
\node[vertex] (1) at (0,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (1,0) {};
\node[vertex] (4) at (1,1) {};
\draw[] (1)--(4);
\draw[] (3)--(2);
\node[] (s) at (0.5,-0.5) {$2P_2$};
\end{scope}
\begin{scope}[yshift=-2.5cm,xshift=-0.5cm]
\node[vertex] (1) at (0,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (1,0) {};
\node[vertex] (4) at (1,1) {};
\draw[] (1)--(2)--(3)--(4)--(1);
\node[] (s) at (0.5,-0.5) {$C_4$};
\end{scope}
\begin{scope}[xshift=5.9cm]
\node[vertex] (1) at (0,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (0.75,0.5) {};
\node[vertex] (4) at (1.5,0.5) {};
\draw[] (1)--(2)--(3)--(1);
\draw[] (4)--(3);
\node[] (s) at (0.75,-0.5) {paw};
\end{scope}
\begin{scope}[yshift=-2.5cm,xshift=1.65cm]
\node[vertex] (1) at (0,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (1,0) {};
\node[vertex] (4) at (1,1) {};
\draw[] (1)--(2)--(3)--(4)--(1);
\node[] (s) at (0.5,-0.5) {diamond};
\draw[] (1)--(3);
\end{scope}
\begin{scope}[yshift=-2.5cm,xshift=3.8cm]
\node[vertex] (1) at (0,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (1,0) {};
\node[vertex] (4) at (1,1) {};
\node[vertex] (5) at (0.5,1.5) {};
\draw[] (1)--(2)--(3)--(4)--(1);
\node[] (s) at (0.5,-0.5) {house};
\draw[] (4)--(5)--(1);
\end{scope}
\begin{scope}[xshift=5.9cm, yshift=-2.5cm]
\node[vertex] (1) at (0,1) {};
\node[vertex] (2) at (0,0) {};
\node[vertex] (3) at (1.5,0) {};
\node[vertex] (4) at (1.5,1) {};
\node[vertex] (5) at (0.75,0.5) {};
\draw[] (1)--(2)--(5)--(3)--(4)--(5)--(1);
\node[] (s) at (0.75,-0.5) {butterfly};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=1.4]
\begin{scope}[circle,minimum size=13mm]
\draw
(0, 0.5) node[draw=blue!50, fill=blue!20] (s){$s$}
(0, -0.5) node[draw=blue!50, fill=blue!20] (-s){$\bar{s}$}
(1.2, -0.5) node[draw=blue!50, fill=blue!20] (-1){$\bar{x}_{1}$}
(1.2, 0.5) node[draw=blue!50, fill=blue!20] (1){$x_{1}$}
(2.4, -0.5) node[draw=blue!50, fill=blue!20] (-2){$\bar{x}_{2}$}
(2.4, 0.5) node[draw=blue!50, fill=blue!20] (2){$x_{2}$}
(3.6, -0.5) node[draw=blue!50, fill=blue!20] (-3){$\bar{x}_{3}$}
(3.6, 0.5) node[draw=blue!50, fill=blue!20] (3){$x_{3}$}
(4.8, -0.5) node[draw=blue!50, fill=blue!20] (-4){$\bar{x}_{4}$}
(4.8, 0.5) node[draw=blue!50, fill=blue!20] (4){$x_{4}$}
(7.2, -0.5) node[draw=blue!50, fill=blue!20] (-6){$\bar{x}_{|U|-1}$}
(7.2, 0.5) node[draw=blue!50, fill=blue!20] (6){$x_{|U|-1}$}
(8.4, -0.5) node[draw=blue!50, fill=blue!20] (-7){$\bar{x}_{|U|}$}
(8.4, 0.5) node[draw=blue!50, fill=blue!20] (7){$x_{|U|}$}
(9.6, 0.5) node[draw=blue!50, fill=blue!20] (t){$t$}
(9.6, -0.5) node[draw=blue!50, fill=blue!20] (-t){$\bar{t}$}
(2.4, 2) node[draw=red!50, fill=red!20] (1000){$y_{1}$}
(2.4, -2) node[draw=red!50, fill=red!20] (1001){$y_{2}$}
(4.8, 2) node[draw=red!50, fill=red!20] (1002){$y_{3}$}
(4.8, -2) node[draw=red!50, fill=red!20] (1003){$y_{4}$}
(7.2, 2) node[draw=red!50, fill=red!20] (1004){$y_{|C|-1}$}
(7.2, -2) node[draw=red!50, fill=red!20] (1005){$y_{|C|}$};
\end{scope}
\node at ($(4)!.5!(6)$) {\ldots};
\node at ($(-4)!.5!(-6)$) {\ldots};
\node at ($(4)!.5!(-6)$) {\ldots};
\begin{scope}[->]
\draw[blue] (-1) to (2);
\draw[blue] (-1) to (-2);
\draw[red] (-1) to (1004);
\draw[red] (1004) to (-1);
\draw[blue] (1) to (-2);
\draw[blue] (-2) to (3);
\draw[blue] (-2) to (-3);
\draw[red] (-2) to (1003);
\draw[red] (1003) to (-2);
\draw[blue] (2) to (-3);
\draw[blue] (-3) to (4);
\draw[red] (-3) to (1001);
\draw[red] (1001) to (-3);
\draw[blue] (-3) to (-4);
\draw[blue] (3) to (-4);
\draw[blue] (-6) to (7);
\draw[blue] (-6) to (-7);
\draw[red] (-6) to (1002);
\draw[red] (-6) to (1005);
\draw[red] (1002) to (-6);
\draw[red] (1005) to (-6);
\draw[blue] (6) to (-7);
\draw[red] (-7) to (1004);
\draw[red] (-7) to (1005);
\draw[red] (1004) to (-7);
\draw[red] (1005) to (-7);
\draw[blue] (1) to (2);
\draw[red] (1) to (1000);
\draw[red] (1) to (1001);
\draw[red] (1000) to (1);
\draw[red] (1001) to (1);
\draw[blue] (2) to (3);
\draw[red] (2) to (1003);
\draw[red] (1003) to (2);
\draw[blue] (3) to (4);
\draw[red] (3) to (1000);
\draw[red] (1000) to (3);
\draw[red] (4) to (1002);
\draw[red] (1002) to (4);
\draw[blue] (6) to (7);
\draw[blue] (6) to (7);
\draw[blue] (7) to (t);
\draw[blue] (-7) to (t);
\draw[blue] (7) to (-t);
\draw[blue] (-7) to (-t);
\draw[blue] (1) to (s);
\draw[blue] (-1) to (s);
\draw[blue] (1) to (-s);
\draw[blue] (-1) to (-s);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{xcolor}
\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] (1) at (-1,1) {$1$};
\node[fill=none] (2) at (0,0) {$2$};
\node[fill=none] (3) at (0,2) {$3$};
\node[fill=none] (4) at (0.5,1) {$4$};
\node[fill=none] (5) at (1.5,0) {$5$};
\node[fill=none] (6) at (1.5,2) {$6$};
\node[fill=none] (7) at (2,1) {$7$};
\node[fill=none] (8) at (3,0) {$8$};
\node[fill=none] (9) at (3,2) {$9$};
\draw[thick] (1)--(2)--(3)--(1)--(4)--(5)--(6)--(4)--(7)--(8)--(9)--(7);
\draw[thick] (2)--(5)--(8);
\draw[thick] (3)--(6)--(9);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.5,v/.style={circle,draw,fill,inner sep=0pt,minimum size=4pt}]
\node[v](1)at(1,0)[label=left:$ 1$]{};
\node[v](2)at(1,-1)[label=left:$2$]{};
\node[v](3)at(1,-2)[label=left:$3$]{};
\node[v](4)at(1,-3)[label=left:$4$]{};
\node(P)at(0,-1.5)[label=left:$P :$]{};
\path(1)edge(2)(2)edge(3)(3)edge(4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
  \begin{tikzpicture}
    \begin{axis}
      \addplot+ [
      nodes near coords,
      only marks,
      % coordinate style/.condition is a core feature of modern pgfplots
      coordinate style/.condition=
      {\coordindex==0}{below},
      coordinate style/.condition=
      {\coordindex==1}{red},
      coordinate style/.condition=
      {x < 2.1 && y > 4}{green},
      point meta=explicit symbolic,
      ] table [meta=label] {
      Depth Breadth label
      2.57  3.59    Cambridge
      2.58  4.27    Dresden
      2.45  3.77    {Palo Alto}
      2.61  2.10    Asan
      2.03  4.17    Heidelberg
      2.25  4.29    Yamagata
    };
  \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts, amssymb, amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,decorations.pathreplacing,decorations.markings,shapes,calc}
\usetikzlibrary{matrix,arrows,decorations.pathmorphing,backgrounds,decorations.markings,positioning}
\tikzset{2cell/.style={-implies,double,double equal sign distance,shorten >=2pt, shorten <=3pt}
}\tikzset{2cellshort/.style={-implies,double,double equal sign distance,shorten >=4pt, shorten <=5pt}
}\tikzset{2cellr/.style={implies-,double,double equal sign distance,shorten >=3pt, shorten <=2pt}
}\tikzset{3cell/.style={-implies,double,double distance=2.5pt,shorten >=2pt, shorten <=3pt}
}\tikzset{labelsize/.style={font=\scriptsize}
}\tikzset{string/.style={very thick}
}\tikzset{pto/.style={->,postaction={decorate}
,decoration={markings,mark=at position 0.5 with {\arrow{|}}}}}}
\begin{document}
\begin{tikzpicture}[baseline=-\the\dimexpr\fontdimen22\textfont2\relax ]
\node(0) at (0,1) {$P$};
\node(1) at (2,1) {$B$};
\node(2) at (0,-1) {$A$};
\node(3) at (2,-1) {$X$};
\draw [->] (0) to node (t)[auto,labelsize] {$k$} (1);
\draw [->] (1) to node (r)[auto,labelsize] {$g$} (3);
\draw [->] (0) to node (l)[auto,swap,labelsize] {$h$} (2);
\draw [->] (2) to node (b)[auto,swap,labelsize] {$f$} (3);
\draw (0.2,0.4) -- (0.6,0.4) -- (0.6,0.8);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows.meta,arrows}
\begin{document}
\begin{tikzpicture}[greennode/.style={shape=rectangle, fill=green, draw=black, fill opacity=0.2,text opacity=1.0,align=center},
rednode/.style={shape=rectangle, fill=red, draw=black, fill opacity=0.2,text opacity=1.0,align=center}
,font=\sffamily]
\tikzstyle{every node}=[font=\large]
\node[circle,draw] (add_1) at (0,0) {$+$};
\node[rednode] (loss) at (0,2) {Loss};
\node[rednode] (pinn_loss) [below left=1cm and 1cm of add_1] {PINN loss};
\node[circle,draw] (add_2) [below=1cm of pinn_loss] {$+$};
\node[rednode] (mse_loss) [below right=1cm and 1cm of add_1] {MSE loss};
\node[rectangle,draw,align=center] (G) [below left=2cm and 2cm of add_2] {$F$\\(known component)};
\node[greennode] (F) [below right=2cm and 2cm of add_2] {$G$ \\(unknown component)};
\node[rectangle,draw,align=center,fill=green, fill opacity=0.2,text opacity=1.0] (U) [below=4cm of add_2] {$U$ \\(surrogate solution)};
\node (t) [below=3cm of G] {$t$ (time)};
\draw [-{Stealth[length=3mm, width=2mm]}] (mse_loss) |- (add_1);
\draw [-{Stealth[length=3mm, width=2mm]}] (pinn_loss) |- (add_1);
\draw [-{Stealth[length=3mm, width=2mm]}] (G) |- (add_2);
\draw [-{Stealth[length=3mm, width=2mm]}] (F) |- (add_2);
\draw [-{Stealth[length=3mm, width=2mm]}] (add_1) -- (loss);
\draw [-{Stealth[length=3mm, width=2mm]}] (add_2) -- (pinn_loss);
\draw [-{Stealth[length=3mm, width=2mm]}] (U.north) |- (F.west) node[midway,above] {$\hat{U}$} ;
\draw [-{Stealth[length=3mm, width=2mm]}] (U.north) |- (G.east) ;
\draw [-{Stealth[length=3mm, width=2mm]}] (t) -- (G);
\draw [-{Stealth[length=3mm, width=2mm]}] (t.east) -| (U);
\draw [-{Stealth[length=3mm, width=2mm]}] (t.east) -| (F);
\draw [-{Stealth[length=3mm, width=2mm]}] (U.east) -| (5,-5) |- (mse_loss.east) node[pos=0.75,above,align=center] {$\hat{U}$};
\draw [-{Stealth[length=3mm, width=2mm]}] (U.west) -| (-9,-5) |- (pinn_loss.west) node[pos=0.75,above,align=center] {$U_t$ \\ (autodiff)};
\matrix [draw, below] at (current bounding box.north east) {
\node [greennode,label=right:Neural networks] {}; \\
\node [rednode,label=right:Loss components] {}; \\
};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{positioning,arrows}
\usepgfplotslibrary{colorbrewer}
\pgfplotsset{xlabel near ticks, ylabel near ticks,}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=20em, height=16em, ybar stacked, ymin=0, xlabel={Publication year}, ylabel={Unique corpus paper}, grid, bar width=3pt, thick, cycle list/Set1, every axis plot/.append style={draw, fill, fill opacity=0.5}, x tick label style={/pgf/number format/1000 sep=}, try min ticks=5, legend pos=north west, reverse legend,]\addplot coordinates {(1978,1) (1979,1) (1983,1) (1984,1) (1988,2) (1989,1) (1992,1) (1993,1) (1994,2) (1996,1) (1997,3) (1998,4) (1999,6) (2000,8) (2001,10) (2002,8) (2003,10) (2004,9) (2005,4) (2006,11) (2007,9) (2008,8) (2009,16) (2010,14) (2011,13) (2012,14) (2013,14) (2014,24) (2015,23) (2016,26) (2017,17) (2018,29) (2019,35) (2020,33) (2021,21) (2022,5)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[thick]
\node[draw,circle] (0) at (4,4) {$0$};
\node[draw,circle] (1) at (2,3) {$1$};
\node[draw,circle] (2) at (6,3) {$2$};
\node[draw,circle] (3) at (1,2) {$3$};
\node[draw,circle] (4) at (3,2) {$4$};
\node[draw,circle] (5) at (5,2) {$5$};
\node[draw,circle] (6) at (7,2) {$6$};
\node (7) at (0,1) {};
\node (8) at (2,1) {};
\node (9) at (4,1) {};
\node (10) at (6,1) {};
\node (11) at (8,1) {};
\node (12) at (1,0.7) {\huge{$\vdots$}};
\node (13) at (4,0.7) {\huge{$\vdots$}};
\node (14) at (7,0.7) {\huge{$\vdots$}};
\draw[->] (0)--(1);
\draw[->] (0)--(2);
\draw[->] (1)--(3);
\draw[->] (1)--(4);
\draw[->] (2)--(5);
\draw[->] (2)--(6);
\draw[->] (3)--(7);
\draw[->] (3)--(8);
\draw[->] (4)--(8);
\draw[->] (4)--(9);
\draw[->] (5)--(9);
\draw[->] (5)--(10);
\draw[->] (6)--(10);
\draw[->] (6)--(11);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts,mathtools}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[trim axis left,trim axis right]
\begin{axis}[height=4.5cm, width=4.5cm, yminorgrids, tick align=inside, minor grid style={densely dashed}, ymax=2.2, ytick={0,0.4,0.8,1.2,1.6,2.0}, minor ytick={0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2.0,2.1,2.2}, xtick={0,50,...,350}, xmajorgrids, tick align=inside, major grid style={densely dotted}, xticklabel style = {font=\footnotesize, rotate=-90}, xlabel={\footnotesize \# Units}]\addplot+[mark=pentagon*, draw=red, fill=blue, fill opacity=0.1] coordinates {(18,0.15)(46,0.62)(74,0.91)(102,1.59)(130,1.88)(158,1.91)(214,1.94)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\begin{document}
\def\r{2}
\def\k{0.7}
\def\n{31}
\pgfmathsetmacro\f{sqrt(1-\k*\k)}
\begin{tikzpicture}
\foreach\i in{1,...,\n}{\pgfmathsetmacro\h{(\i/(\n+1)-0.5)*2*\r*\f}\pgfmathsetmacro\y{\h/\f/\f}\pgfmathsetmacro\a{sqrt(\r*\r-\y*\y+(\y-\h)*(\y-\h)/(\k*\k))}\pgfmathsetmacro\b{\k*\a}
\begin{scope}
\clip(-\r,\y)rectangle(3.5*\r,-\r);
\draw(0,\h)ellipse(\a cm and \b cm);
\draw(2.5*\r,\h)ellipse(\a cm and \b cm);
\end{scope}
\begin{scope}
\clip(-\r,\y)rectangle(3.5*\r,\r);
\draw[thin,gray!50](2.5*\r,\h)ellipse(\a cm and \b cm);
\end{scope}}\draw[thick,red](0,0)circle(\r);
\draw[thick,red](2.5*\r,0)circle(\r);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{H-C-C=[1]O}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{calc, shapes.misc}
\tikzset{cross/.style={cross out, draw=black, thick, fill=none, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt}
, cross/.default={3pt}}\newcommand{\vertices}{\coordinate (base) at (0, 1);
\draw (0, 0) node[fill, circle, minimum size = 2mm, inner sep = 0]{}
;
\draw (3, 0) node[fill, circle, minimum size = 2mm, inner sep = 0]{};
\draw (0, 3) node[fill, circle, minimum size = 2mm, inner sep = 0]{};
\draw (3, 3) node[fill, circle, minimum size = 2mm, inner sep = 0]{};
}
\begin{document}
\begin{tikzpicture}[baseline=(base), scale = .4]
\vertices;
\draw (0, 0) to [out = 180, in = 135] (-.8, -.8) to [out = -45, in = -90] (0, 0);
\draw (0, 0) -- (0, 3);
\draw (0, 0) -- (3, 3);
\draw (0, 0) -- (3, 0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,bm}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{amssymb}
\usepackage{pgfplots}
\pgfplotsset{width=10cm,compat=1.9}
\begin{document}
\begin{tikzpicture}
\pgfplotsset{set layers, label style={font=\tiny}
, tick label style={font=\tiny}}
\begin{axis}[xbar=\pgflinewidth, bar width=1.5pt, title={Editability}, title style={font=\tiny, yshift=-1ex}, symbolic y coords={SD, SLD, UCE, ESD, SA, AC, NP, FMN}, ytick=data, y tick label style={anchor=east, font=\fontsize{5.5}{6}\selectfont}, ymajorgrids=true, grid style=dashed, height=3cm, width=3.5cm]
\addplot+[xbar] coordinates {(0.1988,SD) (0.1939,SLD) (0.2066,UCE) (0.1845,ESD) (0.2254,SA) (0.1939,AC) (0.2232,NP) (0.1818,FMN)};
\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{H-C(-[2]H)(-[6]H)-C(-[7]H)=[1]O}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[scale=1.2]
\draw
(0,0) node[ground] {}
to[V=$e(t)$, *-*] (0,2) to[C=4<\nano\farad>] (2,2)
to[R, l_=.25<\kilo\ohm>, *-*] (2,0)
(2,2) to[R=1<\kilo\ohm>] (4,2)
to[C, l_=2<\nano\farad>, *-*] (4,0)
(5,0) to[I, i_=$a(t)$, -*] (5,2) -- (4,2)
(0,0) -- (5,0)
(0,2) -- (0,3) to[L, l=2<\milli\henry>] (5,3) -- (5,2)
{[anchor=south east] (0,2) node {1} (2,2) node {2} (4,2) node {3}};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\tikzset{
stochvar/.style={shape=circle, draw, align=center, inner sep=0.5mm},
decvar/.style={shape=rectangle, align=center, draw},
loarc/.style={>=stealth, shorten >=1pt, ->, dashed},
hiarc/.style={>=stealth, shorten >=1pt, ->}
}
\begin{document}
\begin{tikzpicture}
\newcommand\xscale{1}
\newcommand\yscale{.9}
\node (q) at (-1*\xscale, 0*\yscale) {$P(\phi_{a\rightarrow c})$};
\node[stochvar] (t1) at (-1*\xscale, -1*\yscale) {$t_{cd}$};
\node[decvar] (d1) at (1*\xscale, -1.5*\yscale) {$d_{cd}$};
\node[decvar] (d2l) at (-2*\xscale, -4.5*\yscale) {$d_{ac}$};
\node[decvar] (d2r) at (2.5*\xscale, -2*\yscale) {$d_{ac}$};
\node[stochvar] (t2l) at (-1*\xscale, -6.25*\yscale) {$t_{ac}$};
\node[stochvar] (t2r) at (3.75*\xscale, -3*\yscale) {$t_{ac}$};
\node[stochvar] (t3) at (0.75*\xscale, -3.5*\yscale) {$t_{ad}$};
\node[decvar] (d3) at (3*\xscale, -4.5*\yscale) {$d_{ad}$};
\node[decvar] (d4) at (0*\xscale, -5*\yscale) {$d_{bd}$};
\node[stochvar] (t4) at (1*\xscale, -5.5*\yscale) {$t_{bd}$};
\node[stochvar] (t5) at (2.25*\xscale, -6.25*\yscale) {$t_{ab}$};
\node[decvar] (d5) at (3*\xscale, -7.25*\yscale) {$d_{ab}$};
\node (0) at (-1*\xscale, -8.25*\yscale) {$0$};
\node (1) at (3.75*\xscale, -8.25*\yscale) {$1$};
\path
(t1) edge[->, color=gray] (q)
(t1) edge[hiarc] node[midway,fill=white, inner sep=.5mm] {\footnotesize $.1$} (d1)
edge[loarc] node[midway,fill=white, inner sep=.5mm] {\footnotesize $.9$} (d2l)
(d1) edge[loarc] (d2l)
edge[hiarc] (d2r)
(d2l) edge[hiarc] (t2l)
edge[loarc] (0)
(d2r) edge[loarc] (t3)
edge[hiarc] (t2r)
(t2l) edge[loarc] node[near start,fill=white, inner sep=.5mm] {\footnotesize $.6$} (0)
edge[hiarc] node[near end,fill=white, inner sep=.5mm] {\footnotesize $.4$} (1)
(t2r) edge[loarc] node[midway,fill=white, inner sep=.5mm] {\footnotesize $.6$}(t3)
edge[hiarc] node[midway,fill=white, inner sep=.5mm] {\footnotesize $.4$} (1)
(t3) edge[loarc] node[midway,fill=white, inner sep=.5mm] {\footnotesize $.2$} (d4)
edge[hiarc] node[midway,fill=white, inner sep=.5mm] {\footnotesize $.8$} (d3)
(d3) edge[loarc] (d4)
edge[hiarc] (1)
(d4) edge[loarc] (0)
edge[hiarc] (t4)
(t4) edge[loarc] node[near start,fill=white, inner sep=.5mm] {\footnotesize $.5$} (0)
edge[hiarc] node[midway,left, fill=white, inner sep=.5mm] {\footnotesize $.5$} (t5)
(t5) edge[loarc] node[near start,fill=white, inner sep=.5mm] {\footnotesize $.3$} (0)
edge[hiarc] node[midway,left,fill=white, inner sep=.5mm] {\footnotesize $.7$} (d5)
(d5) edge[loarc] (0)
edge[hiarc] (1);
\path (-3*\xscale, -6*\yscale) edge[->] node[midway, above, sloped] {probability} (-3*\xscale, -3*\yscale);
\end{tikzpicture}
\end{document}