AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,arydshln,multirow,amsfonts,amssymb,amscd,bbm,amsthm,mathrsfs,dsfont}
\usepackage{tikz}
\usepackage[color,matrix,arrow]{xy}
\begin{document}
\begin{tikzpicture}[scale=0.60]
\node (a) at (0,0) {$\bullet$};
\node (b1) at (-7,-5) {$\bullet$};
\node (b2) at (-5,-5) {$\bullet$};
\node (b3) at (-3,-5) {$\bullet$};
\node (b4) at (-1,-5) {$\bullet$};
\node (b5) at (1,-5) {$\bullet$};
\node (b6) at (3,-5) {$\bullet$};
\node (b7) at (5,-5) {$\bullet$};
\node (b8) at (7,-5) {$\bullet$};
\draw (b1.center) --node [below] {$1$} (b2.center);
\draw (b2.center) --node [below] {$2$} (b3.center);
\draw (b3.center) --node [below] {$1$} (b4.center);
\draw (b4.center) --node [below] {$3$} (b5.center);
\draw (b5.center) --node [below] {$1$} (b6.center);
\draw (b6.center) --node [below] {$3$} (b7.center);
\draw (b7.center) --node [below] {$2$} (b8.center);
\draw (a.center) -- (b1.center);
\draw (a.center) -- (b2.center);
\draw (a.center) -- (b3.center);
\draw (a.center) -- (b4.center);
\draw (a.center) -- (b5.center);
\draw (a.center) -- (b6.center);
\draw (a.center) -- (b7.center);
\draw (a.center) -- (b8.center);
\node (l1) at (-3,-2.5) {\textcolor{blue}{1}};
\node (l2) at (-1,-2.5) {\textcolor{blue}{1}};
\node (l3) at (1,-2.5) {\textcolor{blue}{1}};
{\textcolor{blue}{1}};
\draw[blue] (l1)--(l2)--(l3);
\node (m1) at (-2.8,-3.5) {\textcolor{blue}{2}};
\node (m2) at (4.3,-3.5) {\textcolor{blue}{2}};
\draw[blue] (m1)--(m2);
\node (n1) at (0,-4.5) {\textcolor{blue}{3}};
\node (n2) at (3.5,-4.5) {\textcolor{blue}{3}};
\draw[blue] (n1)--(n2);
\node at (-10,-2.5) {\textcolor{blue}{1st level}};
\node at (-10,-3.5) {\textcolor{blue}{2nd level}};
\node at (-10,-4.5) {\textcolor{blue}{3rd level}};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb, amsmath}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[gauge/.style={circle,draw=black,inner sep=0pt,minimum size=8mm},flavor/.style={rectangle,draw=black,inner sep=0pt,minimum size=8mm},AD/.style={rectangle,draw=black,fill=red!20,inner sep=0pt,minimum size=8mm},auto]
\node[AD] (0) at (-1.8,0) {\;
$(A_1,D_{4})$\;
};
\node[gauge] (1) at (0,0) [shape=circle] {\;
$2$\;
} edge (0);
\node[AD] (2) at (1.8,0) {\;
$(A_1,D_{4})$\;
} edge (1);
\node[flavor] (3) at (0,1.3) {\;
1\;
} edge (1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{xcolor}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{cd}
\tikzset{taar/.style={double, double equal sign distance, -implies}
}\tikzset{amar/.style={->, dotted}
}\tikzset{dmar/.style={->, dashed}
}\tikzset{aar/.style={->, very thick}
}
\begin{document}
\begin{tikzpicture}
\tikzstyle{every node}=[font=\tiny]
\node(Qb)at(6.0,-0.0){$b+c$};
\node(QUe)at(4.5,1.5){$a$};
\node(z0)at(3.0,-0.0){$Qz_0$};
\node(zs)at(1.5,1.5){$Qz_1^1$};
\node(zs)at(-0.0,-0.0){$Qz_2^1$};
\node(zs)at(-1.5,1.5){$Qz_3^1$};
\node(dots)at(-3.0,-0.0){$\dots$};
\node(zs)at(-4.5,1.5){$Qz_{v-1}^1$};
\node(zs)at(-6.0,-0.0){$Qz_v^1$};
\path[->](4.8,1.2)edge(5.7,0.3);
\path[->](4.2,1.2)edge(3.3,0.3);
\path[->](1.8,1.2)edge(2.7,0.3);
\path[->](1.2,1.2)edge(0.3,0.3);
\path[->](-1.2,1.2)edge(-0.3,0.3);
\path[->](-1.8,1.2)edge(-2.55,0.45);
\path[->](-4.2,1.2)edge(-3.45,0.45);
\path[->](-4.8,1.2)edge(-5.7,0.3);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[sibling distance=1cm]
\node{root}[level distance=20mm]child child{[level distance=5mm]child child child}child[level distance=10mm];
\end{tikzpicture}
\end{document}
\documentclass[border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows, positioning}
\tikzstyle{node} = [circle, minimum size = 18mm, thick, draw =black!80]
\tikzstyle{nodeobserved} = [circle, minimum size = 18mm, thick, draw =black!80, fill=gray!30]
\tikzstyle{arrow} = [thick,->,>=stealth,line width=0.6mm]
\begin{document}
\begin{tikzpicture}
\LARGE
\node [node](z) {$\mathbf{W, Z}$};
\node [nodeobserved, double, below left = of z, yshift=-0.25cm, xshift=0.65cm](x) {$\mathbf{X}$};
\node [nodeobserved, below right = of z, yshift=-0.25cm, xshift=-0.65cm](y) {$\mathbf{Y}$};
\draw [arrow] (z) -- (y);
\draw [arrow] (z) -- (x);
\draw [arrow] (x) -- (y);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\def\oa{(0,0)}
\def\ob{(1.5,0)}
\def\oc{(3.5,0)}
\def\od{(6.5,0)}
\def\oe{(7.5,0)}
\def\ta{(4,1)}
\def\tb{(5,1)}
\def\tc{(7,1)}
\def\td{(8,1)}
\def\te{(10,1)}
\draw[fill=lightgray,draw=none] (0,0) -- (2,0) -- \tc -- (3,1) -- cycle;
\draw[fill=lightgray,draw=none] (4,0) -- (6,0) -- \td -- cycle;
\draw (0, 0) -- (8, 0);
\draw (3, 1) -- (11, 1);
\draw[dashed] (0,0) -- (3,1);
\draw[dashed] (2,0) -- \tc;
\draw[dashed] (4,0) -- \td;
\draw[dashed] (6,0) -- \td;
\draw[dashed] (8,0) -- (11,1);
\draw (0, -0.1) -- (0, 0.1);
\draw (2, -0.1) -- (2, 0.1);
\draw (4, -0.1) -- (4, 0.1);
\draw (6, -0.1) -- (6, 0.1);
\draw (8, -0.1) -- (8, 0.1);
\draw \oa -- \ta;
\draw \ob -- \tb;
\draw \oc -- \tc;
\draw \od -- \td;
\draw \oe -- \te;
\filldraw \oa circle [radius=2pt]
\ob circle [radius=2pt]
\oc circle [radius=2pt]
\od circle [radius=2pt]
\oe circle [radius=2pt]
\ta circle [radius=2pt]
\tb circle [radius=2pt]
\tc circle [radius=2pt]
\td circle [radius=2pt]
\te circle [radius=2pt];
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsthm,amssymb}
\usepackage{xcolor,colortbl,cite}
\usepackage{tikz}
\usetikzlibrary{positioning,fit,calc,shapes,backgrounds,snakes,matrix,arrows.meta}
\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;
}
\begin{document}
\begin{tikzpicture}[scale=1]
\pgfsetlinewidth{1pt}\pgfdeclarelayer{bg}\pgfsetlayers{bg,main}\tikzset{vertex/.style={circle, minimum size=0.2cm, draw, inner sep=1pt, fill=black}
}\tikzset{snapshot/.style ={draw=black!50, rounded corners, dashed, minimum height=8mm, minimum width=2.3cm}
}\tikzset{subgraph/.style ={draw=black!50, circle, draw, minimum width=1cm, yscale=2, fill=white}
}\node [label=-90:$G_i$, draw=black!50, rounded corners, dashed, minimum height=4cm, minimum width=4cm] at (0,0){};
\node [label=-90:$B_i$, draw=black!50, rounded corners, dashed, minimum height=4cm, minimum width=4cm] at (5,0){};
\node [label=-90:$L_i$, draw=black!50, rounded corners, dashed, minimum height=4cm, minimum width=4cm] at (10,0){};
\node[vertex,label=180:$f_i$,fill=black!50] (f) at (0,1.7) {};
\node[vertex,label=-50:$x^2_{1,2}$,fill=black!50] (x21) at (0,0.7) {};
\node[vertex,label=120:$x^2_{2,2}$,fill=black!50] (x22) at (0,-0.7) {};
\node[vertex,label=150:$x^1_{1,1}$,fill=black!50] (x11) at (-1.1,0.7) {};
\node[vertex,label=150:$x^1_{2,1}$,fill=black!50] (x12) at (-1.1,-0.7) {};
\node[vertex,label=50:$x^3_{1,1}$,fill=black!50] (x31) at (1.1,0.7) {};
\node[vertex,label=50:$x^3_{1,2}$,fill=black!50] (x32) at (1.1,-0.7) {};
\node[vertex,label=180:$\ell_i$] (l) at (0,-1.7) {};
\begin{pgfonlayer}
{bg}\draw (f)--(x21)--(x22)--(l);
\draw (f)--(x11)--(x12)--(l);
\draw (f)--(x31)--(x32)--(l);
\end{pgfonlayer}\node[vertex,label=180:$s$,xshift=5cm] (s) at (0,1.7) {};
\node[label=20:$S_i$, draw=black!50, rounded corners, dashed, minimum height=1cm, minimum width=3.5cm,xshift=5cm] at (0,0){};
\node[vertex,xshift=5cm,fill=black!50] (f) at (-1.4,0) {};
\node[vertex,xshift=5cm,fill=black!50] (x11) at (-0.6,0) {};
\node[vertex,xshift=5cm,fill=black!50] (x32) at (1.4,0) {};
\node[xshift=5cm] at (0.5,0) {$\ldots$};
\node[vertex,label=180:$t$,xshift=5cm] (t) at (0,-1.7) {};
\begin{pgfonlayer}
{bg}\draw (s)--(f)--(t) (s)--(x11)--(t) (s)--(x32)--(t);
\end{pgfonlayer}\node[vertex,label=180:$\ell_i$,xshift=10cm] (l) at (0,1) {};
\node[vertex,label=180:$f_{i+1}$,xshift=10cm] (f) at (0,-1) {};
\begin{pgfonlayer}
{bg}\draw (l)--(f);
\end{pgfonlayer}
\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]=[:-30]-[:30]=[:-30]-[:30]}
\vspace{6pt}
\chemfig{-[:30]=^[:-30]-[:30]=^[:-30]-[:30]}
\vspace{6pt}
\chemfig{-[:30]=_[:-30]-[:30]=_[:-30]-[:30]}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{epsfig,amscd,amssymb,amsmath,amsfonts}
\usepackage{amsthm,color}
\usepackage{tikz}
\usetikzlibrary{graphs,quotes,decorations.pathmorphing,decorations.pathreplacing,decorations.markings,snakes}
\begin{document}
\begin{tikzpicture}[scale=0.9,auto=left]
\node[shape=circle,minimum size = 24pt,inner sep=0.3pt] (m4) at (-2,0) {{\large $\Gamma_4=T_{20}$ :}};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n1) at (0,0) {$1$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n2) at (1,0) {$2$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n3) at (2,0) {$3$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n4) at (3,0) {$4$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n5) at (4,0) {$5$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n6) at (2,1) {$6$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n7) at (3,1) {$7$};
\node[shape=circle,draw=black,minimum size = 12pt,inner sep=0.3pt] (n8) at (3,-1) {$8$};
\path[line width=0.5mm,blue] (n1) edge[bend left=0] node [above] {$\Gamma_4$} (n2);
\path[line width=0.5mm,blue] (n2) edge[bend left=0] node [above] {} (n3);
\path[line width=0.5mm,blue] (n3) edge[bend left=0] node [above] {} (n4);
\path[line width=0.5mm,blue] (n4) edge[bend left=0] node [above] {} (n5);
\path[line width=0.5mm,blue] (n3) edge[bend left=0] node [above] {} (n6);
\path[line width=0.5mm,blue] (n4) edge[bend left=0] node [below] {} (n7);
\path[line width=0.5mm,blue] (n4) edge[bend left=0] node [above] {} (n8);
\path[line width=0.5mm,red,dotted] (n1) edge[bend right=90] node [below] {$\Gamma_3$} (n4);
\path[line width=0.5mm,red,dotted] (n2) edge[bend right=90] node [above] {$\Gamma_3$} (n4);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
arrows.meta,
positioning
}
\tikzset{
place/.style={circle,draw=blue!50,fill=blue!20,thick,minimum size=6mm},
transition/.style={rectangle,draw=black!50,fill=black!20,thick,minimum size=4mm}
}
\begin{document}
\begin{tikzpicture}
[bend angle=45,
pre/.style={<-,shorten <=1pt,>={Stealth[round]},semithick},
post/.style={->,shorten >=1pt,>={Stealth[round]},semithick}]
\node[place] (waiting) {};
\node[place] (critical) [below=of waiting] {};
\node[place] (semaphore) [below=of critical] {};
\node[transition] (leave critical) [right=of critical] {}
edge [pre] (critical)
edge [post,bend right] (waiting)
edge [pre, bend left] (semaphore);
\node[transition] (enter critical) [left=of critical] {}
edge [post] (critical)
edge [pre, bend left] (waiting)
edge [post,bend right] (semaphore);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[active,tightpage]{preview}
\setlength\PreviewBorder{2mm}\usepackage{tikz}
\usetikzlibrary{shapes, calc}
\begin{document}
\begin{preview}
\begin{tikzpicture}
\node[isosceles triangle, isosceles triangle apex angle=44, draw, inner sep=0pt, anchor=lower side, rotate=90, draw=black, line width=1.5pt, minimum height=4cm, fill=gray!2] at (1.6,-0.05) {};
\draw[fill=green!30] (0,0) -- (0:0.50cm) arc (0:68:0.50cm);
\begin{scope}[shift={(3.2cm,0cm)}]
\draw[fill=green!30] (0,0) -- (-180:0.50cm) arc (180:110:0.50cm);
\draw (150:0.35cm) node {$\beta$};
\end{scope}
\begin{scope}[shift={(1.6cm,4cm)}]
\draw[fill=red!30] (0,0) -- (250:0.75cm) arc (250:292:0.75cm);
\draw (-90:0.5cm) node {$\gamma$};
\end{scope}\coordinate[label=left:$A$] (A) at (0,0);
\coordinate[label=right:$B$] (B) at (3.2,0);
\coordinate[label=above:$C$] (C) at (1.6,4);
\coordinate[label=below:$c$] (c) at ($(A)!0.5!(B)$);
\coordinate[label=left:$b$] (b) at ($(A)!0.5!(C)$);
\coordinate[label=right:$a$] (a) at ($(B)!0.5!(C)$);
\coordinate[label=45:$\alpha$] (Alpha) at (A);
\end{tikzpicture}\end{preview}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{statistics}
\pgfplotstableread{
level dof error1 error2 info grad(log(dof),log(error2)) quot(error1)
1 4 2.50000000e-01 7.57858283e-01 48 0 0
2 16 6.25000000e-02 5.00000000e-01 25 -3.00000000e-01 4
3 64 1.56250000e-02 2.87174589e-01 41 -3.99999999e-01 4
4 256 3.90625000e-03 1.43587294e-01 8 -5.00000003e-01 4
5 1024 9.76562500e-04 4.41941738e-02 22 -8.49999999e-01 4
6 4096 2.44140625e-04 1.69802322e-02 46 -6.90000001e-01 4
7 16384 6.10351562e-05 8.20091159e-03 40 -5.24999999e-01 4
8 65536 1.52587891e-05 3.90625000e-03 48 -5.35000000e-01 3.99999999e+00
9 262144 3.81469727e-06 1.95312500e-03 33 -5.00000000e-01 4.00000001e+00
10 1048576 9.53674316e-07 9.76562500e-04 2 -5.00000000e-01 4.00000001e+00
}\datapgfplotstableexampleA
\pgfplotstableread{
level dof error1 error2 info grad(log(dof),log(error2)) quot(error1)
1 4 2.50000000e-01 7.57858283e-01 48 0 0
2 16 6.25000000e-02 5.00000000e-01 25 -3.00000000e-01 4
3 64 1.56250000e-02 2.87174589e-01 41 -3.99999999e-01 4
4 256 3.90625000e-03 1.43587294e-01 8 -5.00000003e-01 4
5 1024 9.76562500e-04 4.41941738e-02 22 -8.49999999e-01 4
6 4096 2.44140625e-04 1.69802322e-02 46 -6.90000001e-01 4
7 16384 6.10351562e-05 8.20091159e-03 40 -5.24999999e-01 4
8 65536 1.52587891e-05 3.90625000e-03 48 -5.35000000e-01 3.99999999e+00
9 262144 3.81469727e-06 1.95312500e-03 33 -5.00000000e-01 4.00000001e+00
10 1048576 9.53674316e-07 9.76562500e-04 2 -5.00000000e-01 4.00000001e+00
}\datapgfplotstableexampleAa
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}
\addplot table [x=dof,y=error2] {\datapgfplotstableexampleA};
\addlegendentry{$y(x)$}
\addplot table [x=dof, y={create col/linear regression={y=error2}}] {\datapgfplotstableexampleAa};
\addlegendentry{slope $\pgfmathprintnumber{\pgfplotstableregressiona}$}
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\path(0,0)coordinate(A)(1,2)coordinate(B);
\draw(A)--(B);
\draw[decorate,decoration={brace,amplitude=.5mm}]($(A)!1mm!90:(B)$)--($(B)!1mm!-90:(A)$)node[midway,sloped,above,yshift=.5mm]{x};
\draw[>=latex,red,<->]($(B)!4mm!90:(A)$)--($(A)!4mm!-90:(B)$)node[midway,sloped,below,align=center]{y};
\draw[very thin,shorten >=1pt,shorten <=1pt](B)--($(B)!5mm!90:(A)$);
\draw[very thin,shorten >=1pt,shorten <=1pt](A)--($(A)!5mm!-90:(B)$);
\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-=-B}
\vspace{6pt}
\chemfig{A-=^-B}
\vspace{6pt}
\chemfig{A-=_-B}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[ultra thick]
\draw (0,0) -- (1,1) -| cycle;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts, amssymb}
\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 (TL) at (0,1) {$1$};
\node (TR) at (4,1) {$\Phi_I(C,C)$};
\node (BR) at (4,-1) {$\Phi'_I(GC,GC)$};
\draw[->] (TL) to node[auto,labelsize](T) {$(\overline{\phi}_\cdot)_{C}$} (TR);
\draw[->] (TR) to node[auto,labelsize] {$g_{I,C,C}$} (BR);
\draw[->] (TL) to node[auto,swap,labelsize] {$(\overline{\phi'}_\cdot)_{GC}$} (BR);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepgfplotslibrary{groupplots}
\pgfplotsset{compat=1.5}
\begin{filecontents*}{460photocell.csv}
Order,Min dSin,Max dSin
1,0,0
2,4.51232E-07,5.96007E-07
3,8.95839E-07,1.07146E-06
4,1.34728E-06,1.51745E-06
\end{filecontents*}
\begin{filecontents*}{470photocell.csv}
Order,Min dSin,Max dSin
1,0,0
2,4.64486E-07,5.78254E-07
3,9.60654E-07,1.08358E-06
4,1.50085E-06,1.58593E-06
\end{filecontents*}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[
group style={group size=1 by 2, vertical sep=2cm},
xlabel=Order of spot,
ylabel=$sin(\theta) \cdot d $ /m,
legend pos=outer north east
]
\nextgroupplot [title=Given wavelength: 460]
\addplot[only marks,mark=*,mark options={red}]
table[y={Min dSin},x=Order,col sep=comma]{460photocell.csv};
\addplot[only marks,mark=*,mark options={orange}]
table[y={Max dSin},x=Order,col sep=comma]{460photocell.csv};
\addplot[thin, blue]
table [col sep=comma,x=Order,y={create col/linear regression={y={Max dSin}}}]
{460photocell.csv};
\xdef\slopeA{\pgfplotstableregressiona}
\xdef\interceptA{\pgfplotstableregressionb}
\addplot [thin, green]
table [col sep=comma,x=Order,y={create col/linear regression={y={Min dSin},}}]
{460photocell.csv};
\xdef\slopeB{\pgfplotstableregressiona}
\xdef\interceptB{\pgfplotstableregressionb}
\addlegendentry{Max Slope}
\addlegendentry{Min Slope}
\addlegendentry{$\pgfmathprintnumber{\slopeA}\cdot x\pgfmathprintnumber[print sign]{\interceptA}$}
\addlegendentry{$\pgfmathprintnumber{\slopeB}\cdot x\pgfmathprintnumber[print sign]{\interceptB}$}
\nextgroupplot [title=Given wavelength: 470]
\addplot[only marks,mark=*,mark options={red}]
table[y={Min dSin},x=Order,col sep=comma]{470photocell.csv};
\addplot[only marks,mark=*,mark options={orange}]
table[y={Max dSin},x=Order,col sep=comma]{470photocell.csv};
\addplot[thin, blue]
table [col sep=comma,x=Order,y={create col/linear regression={y={Max dSin}}}]
{470photocell.csv};
\xdef\slopeA{\pgfplotstableregressiona}
\xdef\interceptA{\pgfplotstableregressionb}
\addplot [thin, green]
table [col sep=comma,x=Order,y={create col/linear regression={y={Min dSin},}}]
{470photocell.csv};
\xdef\slopeB{\pgfplotstableregressiona}
\xdef\interceptB{\pgfplotstableregressionb}
\addlegendentry{Max Slope}
\addlegendentry{Min Slope}
\addlegendentry{$\pgfmathprintnumber{\slopeA}\cdot x\pgfmathprintnumber[print sign]{\interceptA}$}
\addlegendentry{$\pgfmathprintnumber{\slopeB}\cdot x\pgfmathprintnumber[print sign]{\interceptB}$}
\end{groupplot}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath,amsthm,tikz,multirow,nccrules,float,graphicx,makecell,caption,yhmath,bm}
\usetikzlibrary{arrows,calc}
\newcommand{\bbb}{\beta}
\newcommand{\ccc}{\gamma}
\begin{document}
\begin{tikzpicture}[>=latex,scale=0.8]
\draw (0,1.41) -- (-1.41,0) (0.71,0.71) -- (-0.71,-0.71) (1.41,0) -- (0,-1.41) (-1.41,0) -- (0,-1.41) (-0.71,0.71) -- (0.71,-0.71) (0,1.41) -- (1.41,0) (-1.41,0) -- (-1.41,1.41) (-0.71,0.71) -- (-1.41,1.41) -- (-0.71,2.12) -- (0,1.41) (0,1.41) -- (0.71,2.12) -- (1.41,1.41) -- (0.71,0.71) (1.41,1.41) -- (1.41,0);
\draw (-0.71,2.12) -- (0.71,2.12);
\node at (0,-0.3) {\small $\bbb$};
\node at (0.2,0) {\small $\ccc$};
\node at (-0.2,0) {\small $\ccc$};
\node at (0,0.3) {\small $\ccc$};
\node at (-0.71,1) {\small $\ccc$};
\node at (0.71,1) {\small $\ccc$};
\node at (0.71,2.12) {\small $\bullet$};
\node at (-0.71,2.12) {\small $\bullet$};
\node[draw,shape=circle, inner sep=0.2] at (0,-0.7) {\small $1$};
\node[draw,shape=circle, inner sep=0.2] at (0.7,0) {\small $2$};
\node[draw,shape=circle, inner sep=0.2] at (0,0.7) {\small $3$};
\node[draw,shape=circle, inner sep=0.2] at (-0.7,0) {\small $4$};
\node[draw,shape=circle, inner sep=0.2] at (-0.7,1.4) {\small $5$};
\node[draw,shape=circle, inner sep=0.2] at (-1.2,0.7) {\small $6$};
\node[draw,shape=circle, inner sep=0.2] at (0.7,1.4) {\small $7$};
\node[draw,shape=circle, inner sep=0.2] at (1.2,0.7) {\small $8$};
\node[draw,shape=circle, inner sep=0.2] at (0,1.8) {\small $9$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\definesubmol{xy}{CH_2}
\chemfig{H_3C-!{xy}-!{xy}-!{xy}-CH_3}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx,RPvoltages]{circuitikz}
\begin{document}
\begin{tikzpicture}
\tikzset{bare tl/.style={tlineshape,circuitikz/bipoles/tline/bare=true}
}\draw(0,0)node[bare tl](A){}(A.right)to[TL,bipoles/tline/width=1]++(3,0)node[bare tl,anchor=left]{};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view/h=40,colormap/violet]
\addplot3 [
surf,
shader=flat,
samples=50,
domain=-3:3,y domain=-2:2,
]
{sin(deg(x+y^2))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz, pgfplots}
\usetikzlibrary{angles}
\begin{document}
\begin{tikzpicture}
\draw[very thick, blue] (0,0) circle (3);
\draw[<->] (-40:2.9) -- node[midway,fill=white] {$\frac{1}{\lambda}$} (0.2,0.2);
\draw[<->] (-0.25,-0.05) -- node[midway,fill=white] {$\frac{1}{\lambda}$} (-0.25,-2.95);
\draw[->] (0,-3) -- (0,3.2) node[above] {$k_z$};
\draw[->] (-3,-3) -- (3,-3) node[right] {$k$};
\draw[fill=black] (0,0) circle (0.05);
\draw[fill=black] (0,-3) circle (0.05) node[below] {$(0,0)$};
\draw[fill=red] (-45:3) circle (0.08) node[right, yshift=-0.25cm] {$(k,k_z)$};
\draw[fill=black] (2.12,-3) circle (0.05) node[below] {$(k,0)$};
\draw[fill=black] (0,-2.12) circle (0.05) node[left, xshift=-0.2cm] {$(0,k_z)$};
\draw[](0,0) -- (-45:3);
\draw[dashed] (2.12,-3) -- (-45:3);
\draw[dashed] (0,-2.12) -- (-45:3);
\draw[dashed](0,-3) -- (-45:3);
\draw (-45:3) coordinate (A) (0,0) coordinate (B) (0,-3) coordinate (C) pic [draw,black,thick,angle radius=0.7cm, pic text=$\theta$] {angle = C--B--A};
\draw (-45:3) coordinate (A) (0,-3) coordinate (B) (3,-3) coordinate (C) pic [draw,black,thick,angle radius=0.8cm, angle eccentricity=1.5, pic text=$\theta/2$, pic text options={shift={(-0.75, 0.1)}}] {angle = C--B--A};
\draw[black, line width = 0.50mm] plot[smooth,domain=-3:3] (\x, {0.15*\x*\x-3});
\end{tikzpicture}
\end{document}