AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{plotmarks}
\usepackage{tikz-3dplot}
\begin{document}
\begin{tikzpicture}[scale=.85]
\draw[line width=1.2pt] (0,0) node[below]{$N_3$}--(4,0) node[below]{$N_1$}--(0,4) node[above]{$N_2$}--cycle;
\node at (2,0) [below,align=center]{$\gcd(N_1,N_3)$};
\node at (2,0) [above,gray]{$F_2$};
\node at (0,2) [left,align=center]{$\gcd(N_2,N_3)$};
\node at (0,2) [right,gray]{$F_1$};
\node at (2.5,2) [right,align=center]{$\gcd(N_1,N_2)$};
\node at (2,1.5) [gray]{$F_3$};
\begin{scope}[shift={(8,0)}]
\draw[line width=1.2pt] (0,0) node[below]{$\alpha_1\alpha_2$}--(4,0) node[below]{$\alpha_2\alpha_3$}--(0,4) node[above]{$\alpha_1\alpha_3$}--cycle;
\node at (2,0) [below,align=center]{$\alpha_2$};
\node at (2,0) [above,gray]{$C_2$};
\node at (0,2) [left,align=center]{$\alpha_1$};
\node at (0,2) [right,gray]{$C_1$};
\node at (2.5,2) [right,align=center]{$\alpha_3$};
\node at (2,1.5) [gray]{$C_3$};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=0.7cm,y=0.7cm]
\draw plot [smooth] coordinates {(0,4) (0.2,3) (0,0)};
\draw plot [smooth] coordinates {(0,0) (1,0.2) (4,0)};
\draw plot [smooth] coordinates {(4,0) (3.8,1) (4,4)};
\draw plot [smooth] coordinates {(4,4) (3,3.8) (0,4)};
\draw (0,4) -- (4,0);
\draw plot [smooth] coordinates {(8,4) (8.2,3) (8,0)};
\draw plot [smooth] coordinates {(8,0) (9,0.2) (12,0)};
\draw plot [smooth] coordinates {(12,0) (11.8,1) (12,4)};
\draw plot [smooth] coordinates {(12,4) (9,3.8) (8,4)};
\draw (8,0) -- (12,4);
\draw [->] (5,2) -- (7,2);
\begin{scriptsize}\draw (6,2.5) node {flip $\gamma$};
\draw (2.5,2) node {$\gamma$};
\draw (10.5,2) node {$\gamma'$};
\draw (-0.2,2) node {$\sigma_1$};
\draw (4.2,2) node {$\sigma_2$};
\draw (7.8,2) node {$\sigma_1$};
\draw (12.2,2) node {$\sigma_2$};
\draw (2,-0.2) node {$\rho_2$};
\draw (2,4.2) node {$\rho_1$};
\draw (10,-0.2) node {$\rho_2$};
\draw (10,4.2) node {$\rho_1$};
\draw [fill=black] (0,0) circle (2pt);
\draw [fill=black] (0,4) circle (2pt);
\draw [fill=black] (4,0) circle (2pt);
\draw [fill=black] (4,4) circle (2pt);
\draw [fill=black] (8,0) circle (2pt);
\draw [fill=black] (8,4) circle (2pt);
\draw [fill=black] (12,0) circle (2pt);
\draw [fill=black] (12,4) circle (2pt);
\end{scriptsize}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.12]
\tikzstyle{every node}+=[inner sep=0pt]
\draw [black] (36.6,-20.5) circle (3);
\draw [black] (24.8,-30.4) circle (3);
\draw [black] (24.8,-30.4) circle (2.4);
\draw [black] (36.6,-30.4) circle (3);
\draw [black] (36.6,-30.4) circle (2.4);
\draw [black] (47.4,-30.4) circle (3);
\draw [black] (47.4,-30.4) circle (2.4);
\draw [black] (15.7,-40.4) circle (3);
\draw [black] (15.7,-40.4) circle (2.4);
\draw [black] (24.8,-40.4) circle (3);
\draw [black] (24.8,-50.9) circle (3);
\draw [black] (32.1,-40.4) circle (3);
\draw [black] (32.1,-40.4) circle (2.4);
\draw [black] (41.2,-40.4) circle (3);
\draw [black] (54.4,-39) circle (3);
\draw [black] (54.4,-39) circle (2.4);
\draw [black] (34.3,-22.43) -- (27.1,-28.47);
\fill [black] (27.1,-28.47) -- (28.03,-28.34) -- (27.39,-27.57);
\draw (29.69,-24.96) node [above] {$0$};
\draw [black] (36.6,-23.5) -- (36.6,-27.4);
\fill [black] (36.6,-27.4) -- (37.1,-26.6) -- (36.1,-26.6);
\draw (36.1,-25.45) node [left] {$100$};
\draw [black] (38.81,-22.53) -- (45.19,-28.37);
\fill [black] (45.19,-28.37) -- (44.94,-27.46) -- (44.26,-28.2);
\draw (44.01,-24.96) node [above] {$150$};
\draw [black] (22.78,-32.62) -- (17.72,-38.18);
\fill [black] (17.72,-38.18) -- (18.63,-37.93) -- (17.89,-37.25);
\draw (19.71,-33.94) node [left] {$0$};
\draw [black] (24.8,-33.4) -- (24.8,-37.4);
\fill [black] (24.8,-37.4) -- (25.3,-36.6) -- (24.3,-36.6);
\draw (25.3,-35.4) node [right] {$100$};
\draw [black] (24.8,-43.4) -- (24.8,-47.9);
\fill [black] (24.8,-47.9) -- (25.3,-47.1) -- (24.3,-47.1);
\draw (24.3,-45.65) node [left] {$0$};
\draw [black] (36.6,-11.9) -- (36.6,-17.5);
\fill [black] (36.6,-17.5) -- (37.1,-16.7) -- (36.1,-16.7);
\draw [black] (35.37,-33.14) -- (33.33,-37.66);
\fill [black] (33.33,-37.66) -- (34.12,-37.14) -- (33.2,-36.73);
\draw (34.63,-34.4) node [left] {$100$};
\draw [black] (37.85,-33.13) -- (39.95,-37.67);
\fill [black] (39.95,-37.67) -- (40.07,-36.74) -- (39.16,-37.16);
\draw (39.62,-34.37) node [right] {$0$};
\draw [black] (49.29,-32.73) -- (52.51,-36.67);
\fill [black] (52.51,-36.67) -- (52.39,-35.74) -- (51.61,-36.37);
\draw (50.34,-36.13) node [left] {$250$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}
[scale=0.5]\node[circle,draw] (X) at (10,2) {X};
\node[circle,draw] (Y) at (13,4) {$Y'$};
\node[circle,draw] (R) at (13,0) {$R_1 \mid S$};
\draw[dashed, ->] (X)-- (Y);
\draw[->] (Y)--(R);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw[latexslim-latexslim](0,0)--(1,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{
fillbetween
}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [name path=A,samples=7,smooth,domain=0:1]
{sin(360*x)};
\addplot+ [name path=B,samples=15,domain=0:1]
{cos(360*x)};
\addplot [orange] fill between [of=A and B,
split,
every odd segment/.style={yellow},
];
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xbar stacked]
\addplot coordinates {
(1,0) (2,1) (2,2) (3,3)
};
\addplot coordinates {
(1,0) (2,1) (2,2) (3,3)
};
\addplot coordinates {
(1,0) (2,1) (2,2) (3,3)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin}
}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (3,2);
\pgftransformrotate{30}
\draw (0,0) -- (2,1) -- (1,0);
\pgftransforminvert
\draw[red] (0,0) -- (2,1) -- (1,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A}\Vertex[x=2]{B}\Vertex[x=2,y=-1]{C}\Edge[opacity=.7](A)(B)\Edge[opacity=.2](A)(C)
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\makeatletter
\pgfplotsset{
range frame/.style={
tick align=outside,
axis line style={opacity=0},
after end axis/.code={
\draw ({rel axis cs:0,0}-|{axis cs:\pgfplots@data@xmin,0}) -- ({rel axis cs:0,0}-|{axis cs:\pgfplots@data@xmax,0});
\draw ({rel axis cs:0,0}|-{axis cs:0,\pgfplots@data@ymin}) -- ({rel axis cs:0,0}|-{axis cs:0,\pgfplots@data@ymax});
}
}
}
\makeatother
\begin{document}
\begin{tikzpicture}
\begin{axis}[
range frame,
xlabel={$L$ [H]},
ylabel={$\hat{I}_{DM}$ [A]},
axis lines*=left,
xtick=data, ymin=0.41
]
\addplot +[black, mark options=fill=black] coordinates {(948e-6,1.61981) (1.5e-3,1.02377) (2e-3,0.769047) (2.5e-3,0.614994) (3e-3,0.503511)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{datavisualization}
\begin{document}
\tikz \datavisualization [
school book axes,
visualize as line/.list={a,b},
legend={up then right},
style sheet=vary dashing,
a={label in legend={text=a,
label in legend line coordinates={
(-2em,-.2ex), (-1em,.2ex), (0,-.2ex)}}},
b={label in legend={text=b,
label in legend line coordinates={
(-2em,-.2ex), (-1em,.2ex), (0,-.2ex)}}}]
data point [x=-1, y=-1, set=a] data point [x=1, y=0, set=a]
data point [x=-1, y=1, set=b] data point [x=1, y=0.5, set=b];
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[pD, invert] (2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{datavisualization, datavisualization.formats.functions}
\begin{document}
\tikz \datavisualization data group {function classes} = { data [set=log, format=function] { var x : interval [0.2:2.5];
func y = ln(\value x);
} data [set=lin, format=function] { var x : interval [-2:2.5];
func y = 0.5*\value x;
} data [set=squared, format=function] { var x : interval [-1.5:1.5];
func y = \value x*\value x;
} data [set=exp, format=function] { var x : interval [-2.5:1];
func y = exp(\value x);
}};
\tikz \datavisualization [ scientific axes, visualize as smooth line/.list={log, lin, squared, exp}, legend={label style=text colored}, log= {label in legend={text=$\log x$}}, lin= {label in legend={text=$x/2$}}, squared={label in legend={text=$x^2$}}, exp= {label in legend={text=$e^x$}}, style sheet=strong colors]data group {function classes};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsthm,amscd,gensymb,graphicx,etoolbox,booktabs,stackrel,mathtools}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes,positioning,decorations.pathreplacing,calc}
\tikzset{edgee/.style={> = latex'}
} \tikzset{add/.style args={#1 and #2}
{to path={($(\tikztostart)!-#1!(\tikztotarget)$)--($(\tikztotarget)!-#2!( ikztostart)$)\tikztonodes}}}
\begin{document}
\begin{tikzpicture}
\node (-6) at (-6+0.5,0) {$3$};
\node (-5) at (-5+0.5,0) {$2$};
\node (-4) at (-4+0.5,0) {$-1$};
\node (-3) at (-3+0.5,0) {$3$};
\node (-2) at (-2+0.5,0) {$1$};
\node (-1) at (-1+0.45,0) {$2$};
\draw [blue] (0,-0.5)--(0,0.5);
\node (1) at (1-0.45,0) {$-2$};
\node (2) at (2-0.5,0) {$-1$};
\node (3) at (3-0.5,0) {$-3$};
\node (4) at (4-0.5,0) {$1$};
\node (5) at (5-0.5,0) {$-2$};
\node (6) at (6-0.5,0) {$-3$};
\draw (-6.north)..controls +(up:15mm) and +(up:15mm)..(-3.north);
\draw (6.north)..controls +(up:15mm) and +(up:15mm)..(3.north);
\draw (-4.north)..controls +(up:22mm) and +(up:22mm)..(2.north);
\draw (-2.north)..controls +(up:22mm) and +(up:22mm)..(4.north);
\draw (-5.north)..controls +(up:17mm) and +(up:17mm)..(-1.north);
\draw (5.north)..controls +(up:17mm) and +(up:17mm)..(1.north);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,fadings,decorations.pathreplacing}
\newcommand\pgfmathsinandcos[3]{\pgfmathsetmacro#1{sin(#3)}
\pgfmathsetmacro#2{cos(#3)}}\newcommand\LongitudePlane[3][current plane]{\pgfmathsinandcos\sinEl\cosEl{#2}\pgfmathsinandcos\sint\cost{#3}\tikzset{#1/.estyle={cm={\cost,\sint*\sinEl,0,\cosEl,(0,0)}
}}}\newcommand\LatitudePlane[3][current plane]{\pgfmathsinandcos\sinEl\cosEl{#2}\pgfmathsinandcos\sint\cost{#3}\pgfmathsetmacro\yshift{\cosEl*\sint}\tikzset{#1/.estyle={cm={\cost,0,0,\cost*\sinEl,(0,\yshift)}
}}}\newcommand\DrawLongitudeCircle[2][4]{\LongitudePlane{\angEl}{#2}\tikzset{current plane/.prefix style={scale=#1,dashed}
}\pgfmathsetmacro\angVis{atan(sin(#2)*cos(\angEl)/sin(\angEl))}\draw[current plane](\angVis:1)arc(\angVis:\angVis+180:1);
}\newcommand\DrawLatitudeCircle[2][5]{\LatitudePlane{\angEl}{#2}\tikzset{current plane/.prefix style={scale=#1,line width=.7pt}
}\pgfmathsetmacro\sinVis{sin(#2)/cos(#2)*sin(\angEl)/cos(\angEl)}\pgfmathsetmacro\angVis{asin(min(1,max(\sinVis,-1)))}\draw[current plane](\angVis:1)arc(\angVis:-\angVis-180:1);
\draw[gray,current plane,dashed](180-\angVis:1)arc(180-\angVis:\angVis:1);
}\tikzset{>=latex,inner sep=0pt,outer sep=2pt,mark coordinate/.style={inner sep=0pt,outer sep=0pt,minimum size=3pt,fill=black,circle}
}
\begin{document}
\begin{tikzpicture}[scale=1.4]
\def\R{2.5}
\def\angEl{35}
\def\angAz{-105}
\def\angPhi{-40}
\def\angBeta{0}
\filldraw[ball color=white](0,0)circle(\R);
\foreach \t in {-80,-60,...,80}{\DrawLatitudeCircle[\R]{\t}}\foreach \t in {-5,-35,...,-175}{\DrawLongitudeCircle[\R]{\t}}\pgfmathsetmacro\H{\R*cos(\angEl)}\coordinate[mark coordinate](N)at(0,\H);
\draw(N)node[inner sep=1pt,below=0pt]{$\infty$};
\LongitudePlane[xzplane]{\angEl}{\angAz}\LongitudePlane[pzplane]{\angEl}{\angPhi}\LatitudePlane[equator]{\angEl}{0}\LatitudePlane[capr]{\angEl}{37}\LatitudePlane[sag]{\angEl}{68}\draw[red,equator,->,thick](\angAz:\R)to[bend right=11](-80:\R);
\draw[green,sag,->,thick](\angAz:\R)to[bend right=11](-80:\R);
\draw[blue,capr,->,thick](\angAz:\R)to[bend right=11](-80:\R);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, graphicx, latexsym, amssymb, amsthm, amsfonts}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{graphs,graphs.standard}
\usepackage{pgfplots}
\usepackage{tcolorbox}
\begin{document}
\begin{tikzpicture}[scale=1]
\node[shape=circle,draw=black] (A) at (-2,1) {1};
\node[shape=circle,draw=black] (B) at (0,1) {2};
\node[shape=circle,draw=black] (C) at (0,-1) {2};
\node[shape=circle,draw=black] (D) at (-2,-1) {1};
\path [thick](A) edge node[left] {} (D);
\path [dashed] (B) edge node[right] {} (C);
\path [color=black, line width=2.5pt](A) edge node[right] {} (C);
\path[thick](B)edge node[right]{}(D);
\end{tikzpicture}
\end{document}
\documentclass[border=1mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node (developers){Developers};
\node (probI)[below left=of developers,align=center]{Type I: Probability\\
\begin{tabular}{ccc}
1 & 2 & 3 \\
1 & 2 & 3 \\
\end{tabular}
};
\node (probII)[below=of developers,align=center]{Type II: Probability\\
\begin{tabular}{ccc}
1 & 2 & 3 \\
1 & 2 & 3 \\
\end{tabular}
};
\node (probIII)[below right=of developers,align=center]{Type III: Probability\\
\begin{tabular}{ccc}
1 & 2 & 3 \\
1 & 2 & 3 \\
\end{tabular}
};
\draw[->] (developers)--(probI);
\draw[->] (developers)--(probII);
\draw[->] (developers)--(probIII);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[z=0.35cm]
\node (010) at (3,3,0) {${00}:\neg p,\neg q$};
\node (110) at (0,3,0) {$\underline{10}:p,\neg q$};
\node (100) at (3,0,0) {${01}:\neg p,q$};
\node (000) at (0,0,0) {${11}:p,q$};
\draw (100) -- node[fill=white,inner sep=1pt] {$b$} (010);
\draw (000) -- node[fill=white,inner sep=1pt] {$a$} (100);
\draw (010) -- node[fill=white,inner sep=1pt] {$a$} (110);
\draw (000) -- node[fill=white,inner sep=1pt] {$b$} (110);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
declare function={
C=4;
square(\t)=(\t)^2 + C;
},
]
\addplot+ [samples=2] {C*x};
\addplot {square(x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [simple, branch right, grow down]
{
subgraph K_nm [V={1,2,3}, W={a,b,c,d}, ->];
subgraph K_nm [V={2,3}, W={b,c}, <-];
};
\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, i=$\SI{1}{\milli\ampere}$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[>=To,baseline=(current bounding box.center)]
\node (a) at (0,2) {$(N'\otimes B'\otimes A')\Box^{H'}H$};
\node (b) at (5,2) {$(N'\otimes A')\Box^{H'}H$};
\node (c) at (10,2) {$(N'\otimes_{B'} A')\Box^{H'}H$};
\node (d) at (0,0) {$N'\otimes B'\otimes (A'\Box^{H'}H)$};
\node (e) at (5,0) {$N'\otimes (A'\Box^{H'}H)$};
\node (f) at (10,0) {$N'\otimes_{B'} (A' \Box^{H'}H)$};
\draw[transform canvas={yshift=0.3ex},->] (a) -- (b);
\draw[transform canvas={yshift=-0.3ex},->] (a) -- (b);
\draw[transform canvas={yshift=0.3ex},->] (d) -- (e);
\draw[transform canvas={yshift=-0.3ex},->] (d) -- (e);
\draw[->] (b) -- (c);
\draw[->] (e) -- (f);
\draw[->] (a) --node[left] {$\cong$} (d);
\draw[->] (b) --node[left] {$\cong$} (e);
\draw[->,dashed] (c) -- (f);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{circuitikz}
\draw(0,0)to[mic,name=M](0,2)to[amp,t=$A$](2,2)to[loudspeaker,name=L](2,0)to[short,-*](0,0)node[ground]{};
\node[waves,scale=0.7,left=5pt]at(M.north){};
\node[waves,scale=0.7,right]at(L.north){};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[ospst=T, mirror, invert, i=$i_1$, v=$v$] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A^{++}_{2}-B^{-}_3}
\end{document}
\documentclass[12pt,tikz,border=0pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}[height=13cm,ymin=1,ymax=exp(40),hide obscured x ticks=false,hide obscured y ticks=false,axis lines=center,samples at={1,2,...,100},grid=both,legend entries={$y=x!$,$y=\exp(x)$,$y=x^2$,$y=\sqrt{x}$,$y=\ln(x)$},every axis legend/.append style={at={(current axis.above origin)},anchor=north west,xshift=3mm,yshift=-1mm,draw=none,cells={anchor=west}}]\addplot+[mark=none,const plot]{x!};
\addplot+[mark=none]{exp(x)};
\addplot+[mark=none]{x^2};
\addplot+[mark=none]{sqrt(x)};
\addplot+[mark=none]{ln(x)};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,automata,positioning}
\begin{document}
\begin{tikzpicture}[->,>=stealth',scale=0.9,transform shape,node distance=3cm,thick,every state/.style={fill=gray!30,draw=none,text=black}]
\node[state,fill=gray!60] (RET) {Inversion $g(e,\theta)$};
\node[state,above of=RET,fill=gray!60] (RTM) {RTM $f(c,\phi)$};
\node[state,right of=RTM,fill=gray!80,yshift=-2cm] (OBS) {Reflectances $e$};
\node[state,left of=RTM,fill=gray!80,yshift=-2cm] (VARS) {Parameters $c$};
\path[solid, bend left=25, thick, color=gray] (VARS) edge (RTM);
\path[solid, bend left=25, thick, color=gray] (RTM) edge node[yshift=0.5cm,xshift=1cm] {forward problem} (OBS);
\path[dashed, bend left=25, thick, color=gray] (OBS) edge (RET);
\path[dashed, bend left=25, thick, color=gray] (RET) edge node[yshift=-0.5cm,xshift=-1cm] {inverse problem} (VARS);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,blkarray,booktabs,bigstrut}
\usepackage{xcolor}
\usepackage{amsmath, amsthm, amssymb, amsfonts}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzpicture}[scale=.3,auto=left,very thick,-]
\node [circle, fill=green!60!blue!50!white] (nA) at (-4,0) {$A$};
\node [circle, fill=green!60!blue!50!white] (nC) at (4,8) {$C$};
\node [circle, fill=green!60!blue!50!white] (nD) at (4,0) {$D$};
\node [circle, fill=green!60!blue!50!white](nB) at (-4,8) {$B$};
\draw (nB) -- (nA) [green!40!black] node [midway, left, black ] {};
\draw (nB) -- (nC) [green!40!black] node [midway, right, black ] {};
\draw (nC) -- (nD) [green!40!black] node [midway, right, black ] {};
\draw (nA) -- (nD) [green!40!black] node [midway, left, black ] {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+ [
error bars/.cd,
x dir=both, x explicit,
y dir=both, y explicit,
] coordinates {
(1.1,0.9) += (0.4,0.2) -= (0.1,0.1)
(2.7,2) -= (1,0)
(3,3)
(3.8,4.2) +- (0.3,0.2)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
plotmarks
}
\begin{document}
\tikz [scale=.55] \datavisualization
[scientific axes=clean, all axes={ticks=few},
visualize as smooth line=my data, my data={no lines, style={mark=x}}]
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{amssymb,amsmath,amsthm,tikz,multirow,nccrules,float,pst-solides3d,enumerate,graphicx,subfig}
\usetikzlibrary{arrows,calc}
\newcommand{\aaa}{\alpha}
\newcommand{\bbb}{\beta}
\newcommand{\ddd}{\delta}
\newcommand{\ccc}{\gamma}
\begin{document}
\begin{tikzpicture}[>=latex,scale=0.5]
\draw (0,0) -- (0,2) (0,0) -- (2,0);
\draw[dashed] (0,2)--(2,2);
\draw[line width=1.5] (2,0)--(2,2);
\node at (0.35,0.35){\small $\aaa$};
\node at (1.65,0.35){\small $\bbb$};
\node at (1.65,1.65){\small $\ddd$};
\node at (0.35,1.65){\small $\ccc$};
\node at (0,-0.5) {\small $5$};
\node at (0,2.5) {\small $4$};
\node at (2,-0.5) {\small $3$};
\node at (2,2.5) {\small $4$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[x=6cm,y=4cm]
\tikzset{
e4c node/.style={circle,draw,minimum size=0.75cm,inner sep=0},
e4c edge/.style={sloped,above,font=\footnotesize}
}
\node[e4c node] (1) at (0.56, 0.8) {(0,0,0,1)};
\node[e4c node] (2) at (0.44, 0.48) {(0,0,1,0)};
\node[e4c node] (3) at (0.89, 0.62) {(0,0,1,1)};
\node[e4c node] (4) at (0.3 , 0.03) {(0,1,0,0)};
\node[fill=blue!30][e4c node] (5) at (0.7, 0.34) {(0,1,0,1)};
\node[fill=blue!30][e4c node] (8) at (0.2, 1.54) {(1,0,0,0)};
\node[e4c node] (7) at (1.00, 0.23) {(0,1,1,1)};
\node[e4c node] (6) at (0.71, -0.13) {(0,1,1,0)};
\node[e4c node] (9) at (0.56, 1.25) {(1,0,0,0)};
\node[fill=blue!30][e4c node] (10) at (0.55, 2.1) {(1,0,1,0)};
\node[e4c node] (11) at (0.88, 1.60) {(1,0,1,1)};
\node[e4c node] (12) at (0.15, 2.1) {(1,1,0,0)};
\node[e4c node] (13) at (0.60, 1.65) {(1,1,0,1)};
\node[e4c node] (14) at (0.54, 2.5) {(1,1,1,0)};
\node[e4c node] (15) at (0.91, 2.00) {(1,1,1,1)};
\node[fill=blue!30][e4c node] (16) at (0.10, 0.41) {(0,0,0,0)};
\path[->,draw,thick]
(2) edge[e4c edge] (3)
(1) edge[e4c edge] (2)
(1) edge[e4c edge] (5)
(2) edge[e4c edge] (16)
(4) edge[e4c edge] (5)
(4) edge[e4c edge] (16)
(3) edge[e4c edge] (1)
(3) edge[e4c edge] (7)
(15) edge[e4c edge] (11)
(15) edge[e4c edge] (13)
(15) edge[e4c edge] (14)
(14) edge[e4c edge] (10)
(14) edge[e4c edge] (12)
(13) edge[e4c edge] (9)
(13) edge[e4c edge] (12)
(12) edge[e4c edge] (8)
(12) edge[e4c edge] (10)
(11) edge[e4c edge] (9)
(11) edge[e4c edge] (10)
(10) edge[e4c edge, bend left=20] (8)
(9) edge[e4c edge] (1)
(6) edge[e4c edge] (7)
(6) edge[e4c edge] (5)
(6) edge[e4c edge] (2)
(7) edge[e4c edge] (5)
(9) edge[e4c edge] (8)
(8) edge[e4c edge, bend left=20] (10);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\coordinate(Point)at(1,2);
\begin{axis}[anchor=origin,at={(0pt,0pt)},disabledatascaling,x=1cm,y=1cm,xmin=-1,xmax=3,ymin=-1,ymax=3,grid=both]
\draw[blue,fill](Point)circle(2pt)node[right]{(1,2)};
\draw[blue,fill](2,0)circle(2pt)node[right]{(2,0)};
\draw[blue,fill](-1,0)circle(2pt)node[right]{(-1,0)};
\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[cram width=10pt,
cram dash width=0.4pt,
cram dash sep=1pt]{A>B>:C>|D}
\end{document}