AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric,backgrounds,positioning,decorations.markings,decorations.pathreplacing,arrows,knots,hobby,angles,quotes}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}[xscale=0.4,yscale=0.6, baseline]
\node(1) [circle,draw,inner sep=0pt,minimum size=3.5pt] at (-1,-0.15) {};
\node(2) [circle,draw,inner sep=0pt,minimum size=3.5pt] at (-1,0.15) {};
\node(3) [circle,draw,inner sep=0pt,minimum size=3.5pt] at (-1,0.45) {};
\node(4) [circle,draw,inner sep=0pt,minimum size=3.5pt] at (0,-0.15) {};
\node(5) [circle,draw,inner sep=0pt,minimum size=3.5pt] at (0,0.15) {};
\node(6) [circle,draw,inner sep=0pt,minimum size=3.5pt] at (0,0.45) {};
\draw (1)--(4);
\draw (2)--(4);
\draw (3)--(4);
\draw (1)--(5);
\draw (2)--(5);
\draw (3)--(5);
\draw (1)--(6);
\draw (2)--(6);
\draw (3)--(6);
\draw (6) -- (0.3,0.45);
\draw[out=0,in=0] (0.3,0.45) to (0.3,0.65);
\draw (0.3,0.65) to (-1.3,0.65);
\draw[out=180,in=180] (-1.3,0.65) to (-1.3,0.45);
\draw (-1.3,0.45) -- (3);
\draw (5) -- (0.35,0.15);
\draw[out=0,in=0] (0.35,0.15) to (0.35,0.75);
\draw (0.35,0.75) to (-1.35,0.75);
\draw[out=180,in=180] (-1.35,0.75) to (-1.35,0.15);
\draw (-1.35,0.15) -- (2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}[hhh/.style={draw=black,circle,inner sep=1pt,minimum size=0.2cm},scale=0.7]
\node[hhh] (r) at (-1,2) {$r$};
\node[hhh] (w) at (1,2) {$w$};
\node[hhh] (s) at (0,1.5) {$s$};
\node[hhh] (t) at (0,0.5) {$t$};
\node[hhh] (u) at (-1,1) {$u$};
\node[hhh] (v) at (1,1) {$v$};
\node (g) at (0,-0.2) {$G$};
\draw (v)--(w) (r)--(u) (v)--(s)--(u) (v)--(t)--(u) (t)--(s);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,amsmath,amsfonts,epsf}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,automata,calc,positioning,arrows}
\begin{document}
\begin{tikzpicture}[scale=1,style=thick,x=1cm,y=1cm]
\def\vr{2.5pt}
\draw (0,0) grid (7,4);
\foreach \i [evaluate=\i as \x using int(\i-1)] in {1,...,8} {
\node[anchor=north] at (\x,0) {$a_{\i}$};
\node[anchor=east] at ({\x+0.05},1.25) {$b_{\i}$};
\node[anchor=east] at ({\x+0.05},2.25) {$c_{\i}$};
\node[anchor=east] at ({\x+0.05},3.25) {$d_{\i}$};
\node[anchor=south] at (\x,4) {$e_{\i}$};
}
\foreach \x in {0,6,7}
\foreach \y/\c in {0/black,1/white,2/black,3/white,4/black}
\draw[fill=\c] (\x,\y) circle (\vr);
\foreach \x in {1,3,5}
\foreach \y/\c in {0/white,1/black,2/white,3/black,4/white}
\draw[fill=\c] (\x,\y) circle (\vr);
\foreach \x in {2,4}
\foreach \y/\c in {0/black,1/white,2/white,3/white,4/black}
\draw[fill=\c] (\x,\y) circle (\vr);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\newcommand{\graphxStd}{1.5}
\tikzset{simpleNodes/.style={circle,inner sep=0pt,text width=5mm,text height=3mm,align=center,draw=black,fill=black!5}
,standardLine/.style={black,semithick}}
\begin{document}
\begin{tikzpicture}
\node[simpleNodes](r0)at(1*\graphxStd,4){$\rho_0$};
\node[simpleNodes](r1)at(0,2){$\rho_1$};
\node[simpleNodes](r2)at(2*\graphxStd,2.75){$\rho_2$};
\node[simpleNodes](r3)at(2*\graphxStd,1.25){$\rho_3$};
\node[simpleNodes](r4)at(1*\graphxStd,0){$\rho_4$};
\draw[->,>=latex,standardLine](r0.225)--(r1.45);
\draw[->,>=latex,standardLine](r0.315)--(r2.135);
\draw[->,>=latex,standardLine](r1.315)--(r4.135);
\draw[->,>=latex,standardLine](r2.south)--(r3.north);
\draw[->,>=latex,standardLine](r3.225)--(r4.45);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{pgfplots}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ybar, area legend, width=15cm, height=8cm, enlargelimits=0.15, legend style={at={(0.5,+1.15)}, anchor=north, legend columns=-1}, ylabel={Engagement Rate (\%)}, symbolic x coords={Premier League, Bundesliga, LaLiga, Serie A, Ligue 1, Allsvenskan, Eliteserien}, xtick=data, xticklabel style={yshift=-1mm}, nodes near coords={}, x tick label style={rotate=20,anchor=east,font=\small}, xmin=Premier League, xmax=Eliteserien, ]\addplot coordinates {(Premier League, 2.23) (Bundesliga, 2.51) (LaLiga, 0.16) (Serie A, 1.61) (Ligue 1, 2.39) (Allsvenskan, 0) (Eliteserien, 2.1)};
\addplot coordinates {(Premier League, 0.16) (Bundesliga, 0.18) (LaLiga, 0.02) (Serie A, 0.41) (Ligue 1, 0.52) (Allsvenskan, 1.50) (Eliteserien, 2.08)};
\addplot coordinates {(Premier League, 0) (Bundesliga, 0) (LaLiga, 0) (Serie A, 0) (Ligue 1, 0) (Allsvenskan, 0.25) (Eliteserien, 0.30)};
\addplot coordinates {(Premier League, 0.02) (Bundesliga, 0.02) (LaLiga, 0.01) (Serie A, 0.04) (Ligue 1, 0.01) (Allsvenskan, 0.7) (Eliteserien, 0)};
\addplot coordinates {(Premier League, 0.92) (Bundesliga, 0.07) (LaLiga, 0.01) (Serie A, 0.03) (Ligue 1, 0.04) (Allsvenskan, 0) (Eliteserien, 0)};
\legend{TikTok, Instagram, Facebook, Twitter, YouTube}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\tkzDefPoint(0,0){O}\tkzDefPoint(2,2){A}\tkzFillSector[rotate,color=purple!20](O,A)(30)\tkzFillSector[rotate,color=teal!40](O,A)(-30)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
    enlargelimits=false,
    y dir=reverse, 
    xtick={-0.5,0,0.5,1,1.5,2,2.5}, 
    ytick={0,1,2}                   
]
\addplot[
    matrix plot,
    mark=*,
    nodes near coords=\coordindex,
    mesh/color input=explicit,
    mesh/cols=3,               
] coordinates {
(0,0)[color=red]   (1,0) [color=blue]  (2,0) [color=yellow]
(0,1) [color=black] (1,1) [color=brown] (2,1)[color=magenta]
(0,2) [color=green] (1,2)[color=red]   (2,2) [color=white]
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[dvipsnames,svgnames]{xcolor}
\usepackage{tkz-euclide}
\tkzSetUpCompass[color=orange,line width=.2pt,delta=10]\tkzSetUpPoint[size=2,color=black,fill=black]\tkzSetUpLine[line width=.2pt,color=black]\tikzset{every picture/.style={line width=.2pt}
,new/.style={color=orange,line width=.2pt},label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(1,5){A}\tkzDefPoint(5,2){B}\tkzFindSlopeAngle(A,B)\tkzGetAngle{tkzang}\tkzDefPointBy[rotation=center A angle \tkzang](B)\tkzGetPoint{C}\tkzDefPointBy[rotation=center A angle -\tkzang](B)\tkzGetPoint{D}\tkzDrawSegment(A,B)\tkzDrawSegments[new](A,C A,D)\tkzDrawPoints(A,B,C,D)\tkzCompass[length=1](A,C)\tkzCompass[delta=10,brown](B,C)\tkzLabelPoints(B,C,D)\tkzLabelPoints[above left](A)
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.base)]
\node at (0,1) {$T$};
\node (root) at (0,0) {};
\fill (root) circle(.1) node[above] {$r$};
\node (L) at (-1,-1) {};
\node (DL) at (-1,-3) {};
\node (DLtop) at (-1,-2.5) {};
\draw (L) ellipse (.8 and .3) node {$L$};
\draw (DL) ellipse (.8 and 1) node {$D_L$};
\draw (root)--(L)--(DLtop);
\node (H) at (1,-1) {};
\node (DH) at (1,-3) {};
\node (DHtop) at (1,-2.5) {};
\draw (H) ellipse (.8 and .3) node {$H$};
\draw (DH) ellipse (.8 and 1) node {$D_H$};
\draw (root)--(H)--(DHtop);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) rectangle (2,2);
\draw (0.5,0.5) node [fill=yellow!80!black]
{Text at \verb!node 1!}
-- (1.5,1.5) node {Text at \verb!node 2!};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{HC*6(-C(-OH)=C(-O-[::-60]CH_3)-CH=C(-[,,,2]HC=[::-60]O)-HC=[,,2])} \quad or \quad
\chemfig{*6(-(-OH)=(-OCH_3)-=(-=[::-60]O)-=)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=0.8]
\draw[black] (-0.5,2) -- (0.5,2);
\draw[black] (-0.5,2) -- (-0.5,2.5);
\draw[black] (0.5,2) -- (1.5,1.5);
\draw[black] (0.5,2) -- (0.5,3);
\draw[black] (1.5,1.5) -- (2,0.5);
\draw[black] (1.5,1.5) -- (2.7,2.7);
\draw[black] (2, 0.5) -- (2, -0.5);
\draw[black] (2, 0.5) -- (4,0.5);
\draw[black] (2, -0.5) -- (1.5, -1.5);
\draw[black] (2, -0.5) -- (2.5,-0.5);
\draw[black] (1.5, -1.5) -- (0.5, -2);
\draw[black] (1.5, -1.5) -- (2.3, -2.3);
\draw[black] (0.5,-2) -- (-0.5,-2);
\draw[black] (0.5, -2) -- (0.5, -3.5);
\draw[black] (-0.5,-2) -- (-1.5,-1.5);
\draw[black] (-0.5, -2) -- (-0.5, -4);
\draw[black] (-1.5,-1.5) -- (-2,-0.5);
\draw[black] (-1.5,-1.5) -- (-1.9, -1.9);
\draw[black] (-2, -0.5) -- (-2, 0.5);
\draw[black] (-2, -0.5) -- (-3, -0.5);
\draw[black] (-2, 0.5) -- (-1.5, 1.5);
\draw[black] (-2, 0.5) -- (-3.5, 0.5);
\draw[black] (-1.5, 1.5) -- (-0.5, 2);
\draw[black] (-1.5, 1.5) -- (-3.1, 3.1);
\draw (-0.5,2) node {$\bullet$};
\draw (-0.5,1.6) node {$x_{1}$};
\draw (-0.5,2.5) node {$\bullet$};
\draw (0.5,2) node {$\bullet$};
\draw (0.5,1.6) node {$x_{2}$};
\draw (0.5,2.5) node {$\bullet$};
\draw (1,2.5) node {$P_{2}$};
\draw (0.5,3) node {$\bullet$};
\draw (1.5,1.5) node {$\bullet$};
\draw (1.2,1.2) node {$x_{3}$};
\draw (1.9,1.9) node {$\bullet$};
\draw (2.3,2.3) node {$\bullet$};
\draw (2.7,2.7) node {$\bullet$};
\draw (2,0.5) node {$\bullet$};
\draw (1.5,0.5) node {$x_{4}$};
\draw (2.5,0.5) node {$\bullet$};
\draw (3,0.5) node {$\bullet$};
\draw (3.5,0.5) node {$\bullet$};
\draw (4,0.5) node {$\bullet$};
\draw (2,-0.5) node {$\bullet$};
\draw (1.5,-0.5) node {$x_{5}$};
\draw (2.5,-0.5) node {$\bullet$};
\draw (1.5,-1.5) node {$\bullet$};
\draw (1.2,-1.2) node {$x_{6}$};
\draw (1.9,-1.9) node {$\bullet$};
\draw (2.3,-2.3) node {$\bullet$};
\draw (0.5,-2) node {$\bullet$};
\draw (0.5,-1.6) node {$x_{7}$};
\draw (0.5,-2.5) node {$\bullet$};
\draw (0.5,-3) node {$\bullet$};
\draw (0.5,-3.5) node {$\bullet$};
\draw (-0.5,-2) node {$\bullet$};
\draw (-0.5,-1.6) node {$x_{8}$};
\draw (-0.5,-2.5) node {$\bullet$};
\draw (-0.5,-3) node {$\bullet$};
\draw (-0.5,-3.5) node {$\bullet$};
\draw (-0.5,-4) node {$\bullet$};
\draw (-1.5,-1.5) node {$\bullet$};
\draw (-1.2,-1.2) node {$x_{9}$};
\draw (-1.9,-1.9) node {$\bullet$};
\draw (-2,-0.5) node {$\bullet$};
\draw (-1.5,-0.5) node {$x_{10}$};
\draw (-2.5,-0.5) node {$\bullet$};
\draw (-3,-0.5) node {$\bullet$};
\draw (-2,0.5) node {$\bullet$};
\draw (-1.5,0.5) node {$x_{11}$};
\draw (-2.5,0.5) node {$\bullet$};
\draw (-3,0.5) node {$\bullet$};
\draw (-3.5,0.5) node {$\bullet$};
\draw (-1.5,1.5) node {$\bullet$};
\draw (-1.2,1.2) node {$x_{12}$};
\draw (-1.9,1.9) node {$\bullet$};
\draw (-2.3,2.3) node {$\bullet$};
\draw (-2.3,1.8) node {$P_{12}$};
\draw (-2.7,2.7) node {$\bullet$};
\draw (-3.1,3.1) node {$\bullet$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

% Base packages
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}
  \begin{tikzpicture}
    \begin{axis}[enlargelimits=false,colorbar]
      \addplot [matrix plot,
      shader=interp,
      point meta=explicit,
      ] coordinates {
      (0,0) [0] (1,0) [1] (2,0) [2]

      (0,1) [3] (1,1) [nan] (2,1) [5]

      (0,2) [6] (1,2) [7] (2,2) [8]
    };
  \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
x=1cm,
title=Height is deduced from height option,
]
\addplot expression [domain=0:3] {2*x};
\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}
\definesubmol{@}{([0,2]-O-[0,1]C(=[2,1]O)-C_{17}H_{33})}
\chemfig{[2,2]CH_2!@-CH_{\phantom 2}!@-CH_2!@}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={Same index of each input list},
cycle multiindex* list={
red,blue,teal,brown\nextlist
mark=*,mark=square*,mark=triangle*\nextlist
dashed,every mark/.append style={
solid,draw=.!50!black,fill=.,}\\
\nextlist
},
samples=3,
legend entries={0,...,20},
legend pos=outer north east,
]
\addplot {x};
\addplot {x-1};
\addplot {x-2};
\addplot {x-3};
\addplot {x-4};
\addplot {x-5};
\addplot {x-6};
\addplot {x-7};
\addplot {x-8};
\addplot {x-9};
\addplot {x-10};
\addplot {x-11};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepgfplotslibrary{patchplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
patch,
patch type=bilinear,
mesh/color input=explicit mathparse,
domain=0:1,
samples=30,
point meta={
symbolic={
(sin(deg(x*pi*2))+1)/2,
(sin(deg(y*pi*2))+1)/2,
0
}
},
] {sin(deg(x*pi*2))+sin(deg(y*pi*2))};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\begin{document}
\begin{minipage}[t][][b]{3cm}\begin{enumerate}\item$\vec a+\vec b$\item$\vec a-\vec b$\item$\vec b-\vec a$\item$2\vec a$\end{enumerate}\end{minipage}\begin{minipage}[t][][b]{9cm}
\begin{tikzpicture}[>=stealth]
\draw[gray,step=1](0,0)grid+(9,6);
\draw[ultra thick,red,->](1,4)--node[above]{\Large$\vec a$}+(2,1);
\draw[ultra thick,blue,->](7,5)--node[below left]{\Large$\vec b$}+(0,-3);
\draw[ultra thick,black,|-|](3,1)--node[below]{\Large$u$}+(1,0);
\end{tikzpicture}\end{minipage}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[gray](0,0)node{x}(1,1)node{y}(2,.5)node{z};
\pgfplothandlerpolarcomb\pgfplotstreamstart\pgfplotstreampoint{\pgfpoint{0cm}{0cm}}\pgfplotstreampoint{\pgfpoint{1cm}{1cm}}\pgfplotstreampoint{\pgfpoint{2cm}{0.5cm}}\pgfplotstreamend\pgfusepath{stroke}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) -- ++(1,0) to[R] ++(2,0)
to [ammeter] ++(2,0) --
++(0,-1) node[ground]{};
\draw (1,0) -- (1,1) to[voltmeter]
++(2,0) node[ground]{};
\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}
\begin{tikzpicture}[baseline]
\datavisualization [
school book axes,
visualize as smooth line,
clean ticks,
all axes={grid={step=1,minor steps between steps=1}},
x axis={
ticks={
major={
also at={(0.5*pi) as $\pi/2$},
also at={(pi) as $\pi$},
options at=3 as [no tick text]
}
},
label=$x$
},
y axis={
label=$y$,
}
]
data [format=function] {
var x : interval [-0.5*pi:4] samples 50;
func y = sin(\value x r);
};
\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,
}
\begin{document}
\setchemfig{scheme debug=true}
\schemestart
\chemfig{A*5(-----)}
\arrow
\chemfig{A*5(---(-)--)}
\schemestop
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}
\draw[line width=5pt]
(0,0) node[fill=yellow!80!black] (f) {filled}
(2,0) node[draw] (d) {drawn}
(1,-2) node[draw,scale=2] (s) {scaled};
\draw[->] (1,-1) -- (f);
\draw[->] (1,-1) -- (d);
\draw[->] (1,-1) -- (s);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view={60}{30}]
\addplot3 [
mesh,
z buffer=sort,
samples=20,
domain=-1:0,
y domain=0:2*pi,
] (
{sqrt(1-x^2) * cos(deg(y))},
{sqrt( 1-x^2 ) * sin(deg(y))},
x
);
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title=Separating $z$ from Color Value,
xlabel=$x$,
ylabel=$y$,
]
\addplot3 [
contour prepared,
point meta=\thisrow{level},
] table {
x y z level
0.857143 2 0.4 0.6
1 1 0.6 0.6
2 0.857143 0.6 0.6
2.5 1 0.6 0.6
2.66667 2 0.4 0.6
0.571429 2 0.2 0.4
0.666667 1 0.4 0.4
1 0.666667 0.4 0.4
2 0.571429 0.4 0.4
3 0.8 0.2 0.4
0.285714 2 0 0.2
0.333333 1 0.2 0.2
1 0.333333 0.2 0.2
2 0.285714 0.2 0.2
3 0.4 0 0.2
};
\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,
}
\providecommand*\medskip{\vspace{6pt plus 2pt minus 2pt}}
\begin{document}
\setchemfig{scheme debug=true}
\schemestart
\subscheme{A}\+ B\arrow C
\arrow(@c2--)[-90]E
\schemestop
\medskip
\schemestart
A\subscheme{\+}BCDEF \arrow G
\arrow(@c2--)[-90]H
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotsset{every axis/.append style={
width=6cm,
xmin=7e-3,xmax=7e-2,
extra x ticks={3e-2,6e-2},
extra x tick style={major tick length=0pt,font=\footnotesize},
},
}
\begin{tikzpicture}
\begin{loglogaxis}[
xtick={1e-2},
title=with minor tick identification,
extra x tick style={
log identify minor tick positions=true,
},
]
\addplot coordinates {
(1e-2,10)
(3e-2,100)
(6e-2,200)
};
\end{loglogaxis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{loglogaxis}[
xtick={1e-2},
title=without minor tick identification,
extra x tick style={
log identify minor tick positions=false,
},
]
\addplot coordinates {
(1e-2,10)
(3e-2,100)
(6e-2,200)
};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=5]{standalone}
\begin{document}
\begin{tikzpicture}[bcir/.style={circle,fill=black,minimum size=4pt,inner sep=0}, every node/.style={bcir, anchor=center}]
\node {} child [grow=\g, level distance=\l cm] foreach \i [evaluate={\k=tan(5)*\i;
\g=-atan(\k);
\l=3/cos(\g);
}] in {0,...,13} { node {} };
\foreach \i [evaluate={\k=tan(5)*\i;
\g=-atan(\k);
\l=3/cos(\g);
}] in {0,...,13} {
\draw [red] (0,0) -- (\g:\l) node [fill=red]{};
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
colormap name=viridis,
colorbar
]
\addplot3 [contour filled] {x^2*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}
[declare function = { X1(\y,\z) = -3;} ]
\begin{axis}
[grid,
axis lines=center,
font=\footnotesize,
xmax=5.4,ymax=5.4,zmax=5.4,
xmin=-5.4,ymin=-5.4,zmin=-5.4,
xlabel={\normalsize$x$},
ylabel={\normalsize$y$},
zlabel={\normalsize$z$},
major tick style = {black},
minor tick num=1, minor tick style = {very thin},
axis line style = {-latex},
]
\addplot3 [color=red, surf, semitransparent] ({X1(x,y)},x,y);
\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,
}
\begin{document}
\setchemfig{scheme debug=true}
\schemestart
A
\arrow{0}[-90]
\subscheme{
tagada\arrow{}
tsoin\arrow{}
fin}
\arrow(xx--yy){}E
\arrow(@c1--@c3){}
\arrow(@c1--@c5){}
\arrow(@c1--@c4){}
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,backgrounds,arrows.meta}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tkzSetUpColors[background=white,text=black]
\tkzSetUpCompass[color=orange, line width=.2pt,delta=10]
\tkzSetUpArc[color=gray,line width=.2pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{label angle style/.append style={color=teal,font=\footnotesize}}
\tikzset{label style/.append style={below,color=teal,font=\scriptsize}}
\tikzset{line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=1]
\tkzDefPoints{0/0/A,3/0/B,4/2/C}
\tkzDefParallelogram(A,B,C)
\tkzGetPoint{D}
\tkzDrawPolygon(A,B,C,D)
\tkzLabelPoints(A,B)
\tkzLabelPoints[above right](C,D)
\tkzDrawPoints(A,...,D)
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \i in {90,54,...,-234} {
\draw[ultra thick] (\i:2)--({\i-36}:2);
}
\foreach \i in {90,18,...,-198} {
\draw[fill=black] (\i:2) circle (1.25mm);
}
\foreach \i in {54,-18,...,-234} {
\draw[fill=white] (\i:2) circle (1.25mm);
}
\begin{scope}[xshift=5cm]
\foreach \i in {90,50,...,-230} {
\draw[ultra thick] (\i:2)--({\i-40}:2);
\draw[fill=black] (\i:2) circle (1.25mm);
}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning, shapes.geometric, arrows.meta, fit}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[scale=0.9]
\begin{axis}[xmin=1,xlabel={Simulation Time (s)},xmode=log,ytick=data,yticklabels={2D Forward \\Step, 3D Lid-driven \\Cavity, 2D Methane \\Combustion},yticklabel style={align=center, font=\scriptsize},legend style={at={(0.5,-0.2)}, anchor=north, legend columns=-1, font=\scriptsize},enlarge y limits={0.2},xbar,bar width=9pt,legend image code/.code={
\draw [#1] (0cm,-0.1cm) rectangle (0.2cm,0.25cm);
},]\addplot coordinates {(21,0) (600,1) (78,2)};
\addplot coordinates {(610,0) (43200,1) (7146.67,2)};
\legend{Coarse mesh simulation with PointSAGE, Fine mesh simulation}
\end{axis}\draw[<->|, line width=0.7pt] (1.8,0.6) -- (3.75,0.6) node[midway,below, font=\scriptsize] {\textbf{30X} Speedup};
\draw[<->|, line width=0.7pt] (3.75,2.65) -- (6.25,2.65) node[midway,below, font=\scriptsize] {\textbf{72X} Speedup};
\draw[<->|, line width=0.7pt] (2.55,4.7) -- (5.18,4.7) node[midway,below, font=\scriptsize] {\textbf{92X} Speedup};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepgfplotslibrary{groupplots}
\begin{document}
\begin{tikzpicture}
\begin{groupplot}[group style={group size=3 by 1}]\nextgroupplot\addplot[fill=green]coordinates{(.1,.1) (.1,.12) (.12,.12) (.12,.1) (.1,.1)};
\nextgroupplot\addplot[fill=red]coordinates{(.1,.1) (.1,.12) (.12,.12) (.12,.1) (.1,.1)};
\nextgroupplot\addplot[draw=white,fill=white]coordinates{(0,0) (0,1) (1,1) (1,0)};
\end{groupplot}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{graphs}
\tikzset{>=stealth}
\begin{document}
\tikz \graph { a -> {b, c} -> d };
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title=Allow to rescale \emph{lengths},
x={(0.1cm,-0.05cm)},
y=0.1cm,
z=0cm,
axis on top,
scale mode=scale uniformly,
]
\addplot3 [surf,shader=interp] {x*y};
\end{axis}
\end{tikzpicture}
\end{document}