AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={$x \exp(-x^2-y^2)$},
domain=-2:2,
xlabel=$x$, ylabel=$y$,
]
\addplot3 [
samples y=10,
samples=25,
mesh,
patch type=line,
thick,
] {exp(-x^2-y^2)*x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx,RPvoltages]{circuitikz}
\usetikzlibrary{arrows.meta}
\def\killdepth#1{{\raisebox{0pt}[\height][0pt]{#1}}}
\tikzset{blockdef/.style={{Straight Barb[harpoon,reversed,right,length=0.2cm]}-{Straight Barb[harpoon,reversed,left,length=0.2cm]},blue}}
\begin{document}
\begin{circuitikz}[american]
\draw(0,0)node[nmos](Q1){\killdepth{Q1}};
\draw(Q1.S)to[R,l2^=$R_S$ and \SI{5}{k\ohm}]++(0,-3)node[vee](VEE){$V_{EE}=\SI{-10}{V}$};
\draw(Q1.S)to[short]++(2,0)to[C=$C_1$]++(0,-1.5)node[ground](GND){};
\draw(Q1.G)to[short]++(-1,0)coordinate(in)to[R,l2^=$R_G$ and \SI{1}{M\ohm}](in|-GND)node[ground]{};
\draw(in)to[C,l_=$C_2$,*-o]++(-1.5,0)node[left](vi1){$v_i=v_{i1}$};
\draw(Q1.D)to[R,l2_=$R_D$ and \SI{10}{k\ohm}]++(0,3)node[vcc](VCC){$V_{CC}=\SI{10}{V}$};
\draw(Q1.D)to[short,-o]++(1,0)node[right](vo1){$v_{o1}$};
\path(vo1)--++(2,0)coordinate(bjt);
\draw(bjt)node[npn,anchor=B](Q2){\killdepth{Q2}};
\draw(Q2.B)to[short,-o]++(-0.5,0)node[left](vi2){$v_{12}$};
\draw(Q2.E)to[R,l2^=$R_E$ and \SI{9.3}{k\ohm}](Q2.E|-VEE)node[vee]{};
\draw(Q2.E)to[short,-o]++(1,0)node[right](vo2){$v_{o2}$};
\draw(Q2.C)to[short](Q2.C|-VCC)node[vcc]{};
\path(vo2)++(1.5,0)coordinate(load);
\draw(load)to[C=$C_3$]++(1,0)coordinate(tmp)to[R=$R_L$](tmp|-GND)node[ground]{};
\draw[densely dashed](vo2)--(load);
\draw[densely dashed](vo1)--(vi2);
\draw[blockdef](vi1|-VEE)++(0,-2)coordinate(tmp)--node[midway,fill=white]{bloque 1}(vo1|-tmp);
\draw[blockdef](vi2|-VEE)++(0,-2)coordinate(tmp)--node[midway,fill=white]{bloque 2}(vo2|-tmp);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\filldraw[black]
(0,0) circle[radius=2pt]
(1,-1) circle[radius=2pt]
(-1,-1) circle[radius=2pt]
(-1,0) circle[radius=2pt]
(0,-1) circle[radius=2pt]
(1,0) circle[radius=2pt];
\draw (-1,0)--(1,0)--(0,-1)--(1,0)--(1,-1);
\draw (0,0)--(0,-1)--(-1,0);
\draw (0,-1)--(1,-1);
\draw (-1,-1)--(-1,0);
\draw (1,-1)--(0,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{datavisualization,datavisualization.formats.functions}
\begin{document}
\tikz\datavisualization data group {sin functions} = {data [format=function] {var set : {1,...,8};
var x : interval [0:50];
func y = sin(\value x * (\value{set}+10))/(\value{set}+5);
}};
\tikzdatavisualizationset{legend example/.style={scientific axes,all axes={length=1cm,ticks=none},1={label in legend={text=1}},2={label in legend={text=2}},3={label in legend={text=3}},4={label in legend={text=4}},5={label in legend={text=5}},6={label in legend={text=6}},7={label in legend={text=7}},8={label in legend={text=8}}}}\tikz\datavisualization [visualize as smooth line/.list={1,2,3,4,5,6,7,8},legend example,style sheet=vary hue,main legend={right then down,max columns=2}] data group {sin functions};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.fractals}
\begin{document}
\begin{tikzpicture}[scale=2.3,decoration=Koch snowflake]
\draw[fill=black!20!white!40!,line width=.01mm,dashed]decorate{(0,0)--(3,0)};
\draw[line width=.5mm](0,0)--(3,0);
\node[above]at(.5,0){\small$\phi_1(I_0)$};
\node[above]at(1.13,.5){\small$\phi_2(I_0)$};
\node[above]at(1.87,.5){\small$\phi_3(I_0)$};
\node[above]at(2.5,0){\small$\phi_4(I_0)$};
\foreach\k in{0,5,...,40}\draw[gray](1.5+\k/80,0)--(1.5+\k/80,{-sqrt(3)*(1.5+\k/80)+2*sqrt(3)})(1.5-\k/80,0)--(1.5-\k/80,{-sqrt(3)*(1.5+\k/80)+2*sqrt(3)});
\foreach\m in{5,10,...,240}\draw[dotted](\m/80,0)--(\m/80,-.2);
\draw(0,0)--(0,-.2)--(3,-.2)--(3,0);
\node at(.75,-.1){\small$E$};
\node at(1.5,-.08){\small$I_0$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[table,xcdraw]{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.9}
\pgfplotsset{
every axis legend/.style={
cells={anchor=center},
inner xsep=3pt,inner ysep=2pt,
nodes={inner sep=2pt,text depth=0.1em},
anchor=north east,
shape=rectangle,
fill=white,draw=green,
font=\footnotesize
},
}
\begin{document}
\begin{tikzpicture}
\begin{semilogyaxis}[
scale = 0.75,
xlabel={$E_b/N_0$(dB)},
ylabel={FER},
xmin=1.9, xmax=3.5,
ymin=1e-4, ymax=1,
xtick={1.0,1.5,2,2.5,...,4.8},
legend pos = north east,
ymajorgrids=true,
xmajorgrids=true,
grid style=dashed,
legend style={font=\tiny},
]
\addplot[color=violet,mark=x,dashed,very thin] coordinates {(2.0,0.446)(2.2,0.360)(2.4,0.28)(2.6,0.212)(2.8,0.150)(3.0,0.104)(3.2, 0.068)};
\addlegendentry{NMS(12)}
\addplot[color=blue,mark= +,dashed,very thin] coordinates {(2.0,0.3)(2.25,0.2)(2.5,0.13)(2.75,0.085)(3.0,0.053)(3.25,0.027)(3.5,0.013)(3.75,0.005)(4.0,0.002)};
\addlegendentry{BP(40)\cite{helmling19}}
\addplot[color=red,mark=triangle*,very thin] coordinates {(2.0, 0.07768)(2.2, 0.04567)(2.4, 0.02647)(2.6, 0.01802)(2.8, 0.00887)(3.0, 0.00544)(3.2, 0.00245) };
\addlegendentry{N-D-O(1,4)}
\addplot[color=black,mark=halfcircle,very thin] coordinates {(2.0,5e-2)(2.5,1.5e-2)(3.0,4e-3)(3.5,8e-4)(4.0,1.2e-4)};
\addlegendentry{ NBP-D(10,4,4)\cite{buchberger21}}
\addplot[color=purple,mark=*,very thin] coordinates {(2.0, 0.02257)(2.2, 0.01212)(2.4, 0.00704)(2.6, 0.00446)(2.8, 0.00183)(3.0, 0.00083)(3.2, 0.00035)};
\addlegendentry{N-D-O(3,10)}
\addplot[color=magenta,mark=square*] coordinates {(2.0, 0.01304)(2.2, 0.00748)(2.4, 0.00367)(2.6, 0.00221)(2.8, 0.00083)(3.0, 0.00041)(3.2, 0.00014)};
\addlegendentry{N-D-O(3,15)}
\addplot[color=green,mark=triangle,very thin] coordinates {(2.50, 2.2e-03)(3.00, 3.0e-04)(3.25, 9.0e-05)(3.5,2.5e-5)};
\addlegendentry{$D_{10}$-OSD-2(25)\cite{Rosseel2022}}
\addplot[color=cyan,mark=asterisk,very thin] coordinates {(1.00, 1.064e-01)(1.50, 3.397e-02)(2.00, 8.773e-03)(2.50, 1.168e-03)(3.00, 1.321e-04)(3.50, 1.022e-05)};
\addlegendentry{ML\cite{helmling19}}
\end{semilogyaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.6}
\begin{document}
\begin{tikzpicture}[scale=0.4990]
\begin{axis}[title={ Polblogs},xlabel={Iterations},ylabel={Fraction of nodes covered},xmin=1, xmax=10,ymin=0, ymax=1.2,xtick={1,2, 3, 4,5,6,7,8,9,10},ytick={0.20,0.40,0.60,0.80,1.00},legend pos=south east,ymajorgrids=true,grid style=dashed]\addplot[color=red,mark=diamond]coordinates {(1,0.0441)(2,0.5743)(3,0.8905)(4,0.9199)};
\addlegendentry{\footnotesize CNS}\addplot[color=blue,mark=square]coordinates {(1,0.0040)(2,0.3382)(3,0.9313)(4,0.9942)(5,0.9975)(6,0.9983)};
\addlegendentry{\footnotesize IC}\addplot[color=green,mark=triangle]coordinates {(1,0.0032)(2,0.0514)(3,0.4852)(4,0.8937)(5,0.9591)(6,0.9779)(7,0.9893)(8,0.9959)(9,0.9975)(10,0.9983)};
\addlegendentry{\footnotesize SI}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title = {SF-4, Gumbel},
xlabel = {$d$},
xmin = 5, xmax = 105,
xtick = {20, 40, 60, 80, 100},
xlabel shift = -4,
ymin = 0.55, ymax = 1.0,
ytick = {0.6, 0.7, 0.8, 0.9},
yticklabel = \empty,
ymajorgrids=true
]
\addplot+ [
mark = o, very thick,
error bars/.cd,
y dir= both, y explicit,
] coordinates {
(10,0.9412) +- (0, 0)
(20,0.8649) +- (0.1956, 0.1956)
(50,0.8793) +- (0.0957, 0.0957)
(100,0.8493) +- (0.1523, 0.1523)
};
\addplot+ [
mark = square, very thick,
error bars/.cd,
y dir= both, y explicit,
] coordinates {
(10,0.9490) +- (0.0472, 0.0472)
(20,0.8918) +- (0.0164, 0.0164)
(50,0.9291) +- (0.0950, 0.0950)
(100,0.8529) +- (0.0021, 0.0021)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\ctikzset{
logic ports=ieee,
logic ports/scale=0.7,
}
\begin{document}
\tikz \draw (0,0) node[nand port] {}; \par
\ctikzset{tripoles/american nand port/input height=.2}
\ctikzset{tripoles/american nand port/port width=.4}
\ctikzset{tripoles/thickness=4}
\tikz \draw (0,0) node[nand port] {};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{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},>=stealth}
\begin{document}
\begin{tikzpicture}
\node[place](w){};
\node[place](c)[below=of w]{};
\node[place](s)[below=of c]{};
\node[transition](l)[right=of c]{};
\node[transition](e)[left=of c]{};
\draw[->](e)to(c);
\draw[->](w)to[bend right=45](e);
\draw[->](e)to[bend right=45](s);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{calc,patterns,patterns.meta,arrows.meta,decorations.pathreplacing,decorations.markings,backgrounds,shapes.geometric,positioning,intersections,through,angles,quotes}
\usepackage{tkz-base,tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}\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}
,new/.style={color=orange,line width=.2pt},label angle style/.append style={color=teal,font=\footnotesize},label style/.append style={below,color=teal,font=\scriptsize},line style/.style={line width=.2pt},mybox/.style={draw=gray,fill=gray!10,very thick,rectangle,rounded corners,inner sep=10pt,inner ysep=10pt},title/.style={fill=gray,text=white,font=\bfseries,right=10pt}}\providecommand{\widearc}[1]{\overset{\frown}{#1}}\providecommand{\rmark}{}\providecommand{\parallelslant}{\mathbin{\!/\mkern-5mu/\!}}
\begin{document}

  \begin{tikzpicture}
    \tkzDefPoints{0/0/A,3/1/B,0.9/-1.2/P}\tkzDefPointBy[projection = onto B--A](P)\tkzGetPoint{H}\tkzDrawLines[add=.5 and .5](P,H)\tkzMarkRightAngle[fill=blue!20,size=.5,draw](A,H,P)\tkzDrawLines[add=.5 and .5](A,B)\tkzMarkRightAngle[fill=red!20,size=.8](B,H,P)\tkzDrawPoints[](A,B,P,H)
  \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}}
\providecommand*\qquad{\hspace{2em}}
\begin{document}
\setchemfig{scheme debug=false}
\schemestart A\arrow{->[up][down]}B \schemestop
\qquad
\schemestart A\arrow{->[up][down][4pt]}B \schemestop
\qquad
\schemestart A\arrow{->[up][down][-4pt]}B \schemestop
\medskip
\schemestart A\arrow{<=>[up][down]}[30,1.5]B \schemestop
\medskip
\schemestart[-20]
A\arrow{->}B\arrow{->[][][3pt]}C\arrow{->[][][-3pt]}D
\schemestop
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amssymb, amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows, shapes}
\tikzset{edgee/.style = {> = latex'}}
\begin{document}
\begin{tikzpicture}[rotate=180]
\node (1) [draw=black,circle] at (4,0) {$6$};
\node (11) [draw=black,circle] at (1-1+3-0.5,0.8) {$7$};
\draw (1)--(11);
\node (15) [circle,fill=black,inner sep=2pt] at (0.5-1+3-0.5,0.75-5+4) {};
\node (16) [circle,fill=black,inner sep=2pt] at (1-1+3-0.5,0.75-5+4) {};
\draw (15)--(11)--(16);
\node (2) [draw=black,circle] at (1+1,-2) {$2$};
\node (b) [circle,fill=black,inner sep=2pt] at (2,-3) {};
\node (3) [draw=black,circle] at (4,-2) {$3$};
\node (4) [draw=black,circle] at (7-0.5,-0.5-2+1) {$4$};
\node (5) [circle,fill=black,inner sep=2pt] at (0.5+1,-3) {};
\node (6) [circle,fill=black,inner sep=2pt] at (3.5,-3) {};
\node (7) [circle,fill=black,inner sep=2pt] at (4,-3) {};
\node (8) [circle,fill=black,inner sep=2pt] at (4.5,-3) {};
\node (9) [circle,fill=black,inner sep=2pt] at (6.5-0.5,-0.5-3+1) {};
\node (10) [draw=black,circle] at (10-0.5-0.75,-0.25-4+1) {$5$};
\node (12) [draw=black,circle] at (7-0.5,-0.5-4+1) {$1$};
\node (13) [draw=black,circle] at (10-1+0.25-0.5-0.75,-0.5-5+1) {$8$};
\node (14) [circle,fill=black,inner sep=2pt] at (11-1-0.5-0.75,-0.5-5+1) {};
\node (18) [circle,fill=black,inner sep=2pt] at (6.5-0.5,-0.5-5+1) {};
\node (19) [circle,fill=black,inner sep=2pt] at (7-0.5,-0.5-5+1) {};
\node (20) [circle,fill=black,inner sep=2pt] at (7.5-0.5,-0.5-5+1) {};
\node (21) [circle,fill=black,inner sep=2pt] at (9-1+0.5+0.25-0.5-0.75,-0.5-6+1) {};
\node (22) [circle,fill=black,inner sep=2pt] at (10-1+0.25-0.5-0.75,-0.5-6+1) {};
\node (23) [circle,fill=black,inner sep=2pt] at (11-1-0.5+0.25-0.5-0.75,-0.5-6+1) {};
\node (24) [circle,fill=black,inner sep=2pt] at (10.5+0.25-0.5-0.75,-0.5-5+1) {};
\node (25) [circle,fill=black,inner sep=2pt] at (1.5+1,-3) {};
\draw (5)--(2)--(1)--(4)--(10)--(24);
\draw (2)--(b);
\draw (6)--(3)--(7);
\draw (8)--(3);
\draw (9)--(4)--(12)--(18);
\draw (19)--(12)--(20);
\draw (21)--(13)--(10)--(14);
\draw (22)--(13)--(23);
\draw (3)--(1);
\draw (2)--(25);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis on top=false,
axis x line=middle,
axis y line=middle,
]
\addplot+ [fill] {x^3} \closedcycle;
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\ctikzset{logic ports=ieee,logic ports/scale=0.7}
\begin{document}
\begin{circuitikz}
\draw(0,0)node[dipchip](C){IC}(C.pin 8)node[or port,anchor=in 1,number inputs=4,color=red](A){IC2A};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsfonts, tikz}
\begin{document}
\begin{tikzpicture}
\draw [thick] (0,0) -- (4,0) --(6,2)-- (6,4) --(4, 7)--(0,7)--(-2,5)--(-2,3)--(0,0);
\node at (2, 4) {$\mathbb P$};
\end{tikzpicture}
\end{document}
\documentclass[border={10pt}, convert]{standalone}
\usepackage{amsmath}
\usepackage{pgfplots}
\pgfplotsset{compat=1.13} 
\begin{document}
\begin{tikzpicture}
\begin{axis}[
    axis lines=middle,
    xlabel={$n$},
    ylabel={$\boldsymbol{x[n]}$},
    ylabel style={
        at={(axis cs:0,-4.8)},
        anchor=east,
        xshift=-5pt
    },
    xlabel style={
        anchor=south west,
        yshift=2pt
    },
    xtick={-6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6},
    ytick={-4, -2},
    xmin=-6.8, xmax=6.8,
    ymin=-5.5, ymax=1.5,
    xticklabel style={
        anchor=south,
        inner sep=5pt,
    }
]
\addplot[
    ycomb, 
    black, 
    thick, 
    mark=*,
    mark size=2.5pt
] coordinates {
    (-5,0)
    (-4,0)
    (-3,-3)
    (-2,-2)
    (-1,-1)
    (0,0)
    (1,-1)
    (2,-2)
    (3,-3)
    (4,0)
    (5,0)
};

\end{axis}
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node at (0,0) (1) {$1$};
\node at (1,0) (2) {$2$};
\node at (2,0) (3) {$3$};
\node at (3,0) (4) {$4$};
\node at (4,0) (5) {$5$};
\node at (5,0) (6) {$6$};
\node at (2,1) (7) {$7$};
\draw (1) -- (2) -- (3) -- (4) -- (5) -- (6);
\draw (7) -- (3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=20pt]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[thick,red,domain=4*pi:8*pi,samples=200,smooth]plot(\x r:.1*\x);
\foreach\x/\t/\r in{4.5/Text on outside/above,5.5/Still outside/below,6.5/Yet more outside text/above,7.5/Further outside text/below}\draw(180.486*\x:.1*pi*\x)circle(2pt)node[\r]{\t};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[thick]
\shadedraw[] (-3,-3) rectangle (3, 3);
\filldraw[fill=yellow, opacity=0.25] (0, 0) circle (2);
\draw (0, 0) circle (2);
\coordinate[label = below right: $\nabla I_{0}(\mathbf{s})$] (O) at (0,0);
\coordinate[label = below right: $\nabla I_{1}(\mathbf{s})$] (A) at (75:0.7);
\coordinate[label = below right: $\nabla I_{2}(\mathbf{s})$] (B) at (75:1.4);
\coordinate[label = below right: $\nabla I_{3}(\mathbf{s})$] (C) at (245:1.5);
\coordinate[label = below right: $\nabla I_{4}(\mathbf{s})$] (D) at (150:2.0);
\coordinate[label = below:$D(\mathbf{s})$] (Z) at (270:2);
\coordinate[label = below: $\Omega$] (Y) at (270:3);
\coordinate[] (X) at (180:2);
\coordinate[label = below:$\delta \mathbf{v}_{\max}(\mathbf{s})$] (W) at (180:1);
\node at (O)[circle,fill,inner sep=1pt]{};
\node at (A)[circle,fill,inner sep=1pt]{};
\node at (B)[circle,fill,inner sep=1pt]{};
\node at (C)[circle,fill,inner sep=1pt]{};
\node at (D)[circle,fill,inner sep=1pt]{};
\draw[Stealth-Stealth] (O) -- (X);
\draw[Stealth-Stealth, dotted] (O) -- (B);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[view={0}{90},unit vector ratio*=1 2 1]\addplot3[surf,mesh/cols=4]coordinates{(0,0,.8)(1,0,.56)(2,0,.5)(3,0,.75)(0,2,.6)(1,2,.3)(2,2,.21)(3,2,.3)(0,4,.68)(1,4,.22)(2,4,.25)(3,4,.4)(0,6,.7)(1,6,.5)(2,6,.58)(3,6,.9)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\begin{document}
\begin{tikzpicture}
\node[draw] (A) at (0,0) {Mathematics: $\sum F = m a$};
\node[draw] (B) at (5,0) {Emphasized text: \emph{text}};
\draw[->] (A) -- (B) node[midway,above] {$\Phi\phi$};
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{forest}
\usetikzlibrary{shadows,arrows.meta}
\begin{document}
\begin{forest}
for tree={
draw,
rounded corners=.8ex,
drop shadow,
parent anchor=children,
child anchor=parent,
font=\sffamily,
edge+={draw, semithick, -{Triangle[width=4pt,length=4pt]}},
EL/.style={edge label={node[midway, font=\small\sffamily, anchor=south east, inner sep=1pt]{#1}},},
l sep*=3,
},
where n children=0{fill=blue!50!gray!25}{fill=white},
where={>O_={n}{1}}{tikz+={\draw [thick, shorten >=-10pt, shorten <=-10pt, -{Triangle[width=6pt,length=6pt]}] ([yshift=10pt].-children) -- ([yshift=10pt]!s.-children); }}{}
[{move-stack(p1a,q)}
[{move-topmost-container(p1a,p1b)}, EL={recursive-move(p1a,p1b,c11,c12)}
[{take(crane1,l1a,c11,c12,p1a)}, EL={take-and-put(...)}
]
[{put(crane1,l1b,c11,pallet,p1b)},
]
]
[{move-stack(p1a,p1b)},
[{move-topmost-container(p1a,p1b)}, EL={recursive-move(p1a,p1b,c12,pallet)}
[{take(crane1,l1a,c11,c12,p1a)}, EL={take-and-put(...)}
]
[{put(crane1,l1b,c11,pallet,p1b)},
]
]
[{move-stack(p1a,p1b)}, label={[font=\small\sffamily]below:{do-nothing(p1a,p1b)}}
]
]
]
\end{forest}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[level 1/.style={sibling distance=12em},level 2/.style={sibling distance=6em},every node/.style={shape=circle,draw,align=center}]
\node{1}child{node{3}child{node{9}}child{node{7}}}child{node{5}child{node{8}child{edge from parent[draw=none]}child{node{10}child{node{12}}child{node{15}child{node{20}}child{node{18}}}}}child{edge from parent[draw=none]}};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\foreach \x in {0,...,4}{
\foreach \y in {0,...,4}{
\node[draw,circle,inner sep=1pt,fill] at (\x,\y) {};
}
}
\draw (2,0) -- (4,3) -- (2,4) -- (0,3) -- cycle;
\draw (2,4) -- (2,3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{xfp}
\usepackage[dvipsnames,svgnames]{xcolor}
\usetikzlibrary{
calc,
patterns,
patterns.meta,
arrows.meta,
decorations.pathreplacing,
decorations.markings,
backgrounds,
shapes.geometric,
positioning,
intersections,
through,
angles,
quotes,
}
\usepackage{tkz-base}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\providecolor{darkgray}{rgb}{0.4, 0.4, 0.4}
\providecolor{lightgray}{rgb}{0.8, 0.8, 0.8}
\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{new/.style={color=orange,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}}
\providecommand{\widearc}[1]{\overset{\frown}{#1}}
\providecommand{\rmark}{}
\providecommand{\parallelslant}{\mathbin{\!/\mkern-5mu/\!}}
\begin{document}
\begin{tikzpicture}[rotate=90,scale=.75]
\tkzDefPoints{0/0/A,6/0/B,0.8/4/C}
\tkzDefTriangleCenter[centroid](A,B,C)
\tkzGetPoint{M}
\tkzDefSpcTriangle[medial,name=M](A,B,C){_A,_B,_C}
\tkzDrawPolygon(A,B,C)
\tkzDrawSegments[dashed,new](A,M_A B,M_B C,M_C)
\tkzDrawPolygon[new](M_A,M_B,M_C)
\tkzDrawPoints(A,B,C)
\tkzDrawPoints[new](M,M_A,M_B,M_C)
\tkzLabelPoints[above](B)
\tkzLabelPoints[below](A,C,M_B)
\tkzLabelPoints[right](M_C)
\tkzLabelPoints[left](M_A)
\tkzLabelPoints[font=\scriptsize](M)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2mm]{standalone}
\usepackage{tikz-qtree}
\usetikzlibrary{positioning}
\tikzset{edge from parent/.style={
draw,
edge from parent path={(\tikzparentnode.east) -- +(14pt,0) |- (\tikzchildnode)}
}}
\begin{document}
\begin{tikzpicture}
\tikzset{
grow'=right,
level distance=100pt,
execute at begin node=\strut,
every tree node/.style={anchor=base west}
}
\Tree
[.\node(shixuan){A};
[.\node(yusheng){B};
[.\node(xun){C};
[.\node(shikong){D}; ]
[.E ] ]
[.F [.F ] [.F ] ]
[.F [.G ] [.H ] [.I ] ] ]
[.A [.A [.A ] [.E ] ] [.F [.F ] [.F ] ] [.F [.G ] [.H ] [.I ] ] ]
[.A [.B [.B ] [.E ] ] [.F [.F ] [.F ] ] [.F [.G ] [.H ] [.I ] ] ]
[.A [.B [.B ] [.E ] ] [.F [.F ] [.F ] ] [.F [.G ] [.H ] [.I ] ] ]
[.A [.B [.B ] [.E ] ] [.F [.F ] [.F ] ] [.F [.G ] [.H ] [.I ] ] ]
[.A [.B [.B ] [.E ] ] [.F [.F ] [.F ] ] [.F [.G ] [.H ] [.I ] ] ] ]
\begin{scope}[every node/.style={
align=center,
anchor=center,
font=\normalsize\sffamily\bfseries,
rectangle,
draw,
text width=1.4cm}]
\node[above=2mm of shikong] (thenode) {fifth};
\node[at=(thenode-|shixuan)] {lll};
\node[at=(thenode-|yusheng)] {five};
\node[at=(thenode-|xun)] {aaa};
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\usetikzlibrary{decorations.pathmorphing}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A-[,3,,,decorate,decoration=snake]B}
\chemfig{A-[,3,,,decorate,decoration={snake,amplitude=1.5mm,
segment length=2.5mm}]B}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{tikz}
\tikzset{
help lines/.style={gray,very thin},
>=stealth
}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip (-0.6,-0.2) rectangle (0.6,1.51);
\draw[step=.5cm,help lines] (-1.4,-1.4) grid (1.4,1.4);
\filldraw[fill=green!20,draw=green!50!black] (0,0) -- (3mm,0mm)
arc [start angle=0, end angle=30, radius=3mm] -- cycle;
\draw[->] (-1.5,0) -- (1.5,0); \draw[->] (0,-1.5) -- (0,1.5);
\draw (0,0) circle [radius=1cm];
\foreach \x/\xtext in {-1, -0.5/-\frac{1}{2}, 1}
\draw (\x cm,1pt) -- (\x cm,-1pt) node[anchor=north] {$\xtext$};
\foreach \y/\ytext in {-1, -0.5/-\frac{1}{2}, 0.5/\frac{1}{2}, 1}
\draw (1pt,\y cm) -- (-1pt,\y cm) node[anchor=east] {$\ytext$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip (-0.1,-0.2) rectangle (1.1,0.75);
\draw[step=.5cm,gray,very thin] (-1.4,-1.4) grid (1.4,1.4);
\draw (-1.5,0) -- (1.5,0);
\draw (0,-1.5) -- (0,1.5);
\draw (0,0) circle [radius=1cm];
\shadedraw[left color=gray,right color=green, draw=green!50!black]
(0,0) -- (3mm,0mm)
arc [start angle=0, end angle=30, radius=3mm] -- cycle;
\end{tikzpicture}
\end{document}