AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\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=north west outside,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{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[-latex,thin]
\node[draw,circle,fill,inner sep=2pt](0){};
\node[draw,circle,fill,inner sep=2pt](1)[right=of 0]{};
\path(0)edge[thick,bend left=90]node[label={[label distance=-3]$l$}]{}(1);
\path(0)edge[thick]node[label={[label distance=-3]$\tt r$}]{}(1);
\path(0)edge[dotted,bend right=90]node[label={[label distance=-3]below:$\bot$}]{}(1);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes}
\begin{document}
\begin{tikzpicture}[>=latex',line join=bevel,very thick,scale=0.7]
\node(h)at(18bp,72bp)[draw,circle]{$h$};
\node(phi)at(99bp,45bp)[draw,fill=yellow,trapezium,shape border rotate=270]{$f_\phi$};
\node(z)at(180bp,95bp)[draw,circle]{$z$};
\node(Q)at(261bp,95bp)[draw,fill=lightgray,rectangle]{$Q_\omega,\pi_\nu$};
\node(P)at(261bp,41bp)[draw,fill=lightgray,rectangle]{$g_\theta$};
\node(a)at(180bp,41bp)[draw,circle]{$a$};
\node(r)at(342bp,95bp)[draw,circle]{$r$};
\node(next_h)at(18bp,18bp)[draw,circle]{$h'$};
\node(next_z)at(342bp,18bp)[draw,circle]{$z'$};
\draw[->](h)..controls(43.105bp,63.632bp)and(52.841bp,60.386bp)..(phi);
\draw[->](z)..controls(205.9bp,95bp)and(214.88bp,95bp)..(Q);
\draw[->](z)..controls(203.77bp,79.154bp)and(214.8bp,71.803bp)..(P);
\draw[->](a)..controls(203.77bp,56.846bp)and(214.8bp,64.197bp)..(Q);
\draw[->](a)..controls(205.9bp,41bp)and(214.88bp,41bp)..(P);
\draw[->](next_h)..controls(43.105bp,26.368bp)and(52.841bp,29.614bp)..(phi);
\draw[->](phi)..controls(135.92bp,67.792bp)and(146.5bp,74.321bp)..(z);
\draw[->,dashed](phi)..controls(136.94bp,22.528bp)and(149.65bp,16.873bp)..(162bp,14bp)..controls(214.56bp,1.769bp)and(278.09bp,7.8538bp)..(next_z);
\draw(Q)..controls(299.99bp,95bp)and(313.15bp,95bp)..(r);
\draw(P)..controls(300.36bp,29.825bp)and(313.99bp,25.955bp)..(next_z);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}
\Vertex{A}\Vertex[x=2]{B}\Vertex[x=1,y=-.5]{C}\Vertex[y=-1]{D}\Vertex[x=2,y=-1]{E}\Edge[bend=-30](A)(B)\Edge[bend=30,NotInBG](D)(E)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{ABCD-[:75,,2,3]EFG}\qquad
\chemfig{ABCD-[:75,,,2]EFG}\qquad
\chemfig{ABCD-[:75,,3,2]EFG}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\pgfplotsset{every axis/.append style={width=5.3cm}
}
\begin{tikzpicture}
\begin{loglogaxis}[title=Explicitly Provided Limits,xtickten={1,2},ytickten={-5,-6}]\addplot coordinates{(10,1e-5)(20,5e-6)(40,2.5e-6)};
\end{loglogaxis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{loglogaxis}[title=With Extra Ticks,xtickten={1,2},ytickten={-5,-6},extra x ticks={20,40},extra y ticks={5e-6,2.5e-6}]\addplot coordinates{(10,1e-5)(20,5e-6)(40,2.5e-6)};
\end{loglogaxis}
\end{tikzpicture}
\begin{tikzpicture}
\begin{loglogaxis}[title=With Extra Ticks;
$10^e$ format,extra tick style={log identify minor tick positions=false},xtickten={1,2},ytickten={-5,-6},extra x ticks={20,40},extra y ticks={5e-6,2.5e-6}]\addplot coordinates{(10,1e-5)(20,5e-6)(40,2.5e-6)};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles}
\begin{document}
\tikz \draw [line width=2mm]
(2,0) coordinate (A) -- (0,0) coordinate (B)
-- (1,1) coordinate (C)
pic [draw=blue, fill=blue!50, angle radius=1cm] {angle};
\end{document}
\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\node (a) [shape=trapezium, draw, minimum width=3cm, trapezium right angle=120, trapezium left angle=60] {};
\draw [->] (a.bottom left corner) -- +(0,2) node[above] (b) {B};
\draw [->] (a.bottom left corner) -- +(4,0);
\node at (b-|a.bottom right corner) {E};
\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-[:-72]B-C-[:72]D-[:144]E}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{A-B(-[1]W-X)(-[7]Y-Z)-C}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
angles,
quotes
}
\begin{document}
\tikz {
\draw (2,0) coordinate (A) -- (0,0) coordinate (B)
-- (1,1) coordinate (C)
pic (alpha) ["$\alpha$", draw] {angle};
\draw (alpha) circle [radius=5pt];
}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\tikz \datavisualization
[scientific axes={clean, end labels},
x axis={label=$x$}, y axis={grid={major also at=0}},
visualize as smooth line/.list={sin,cos,sin 2,cos 2},
legend={below, rows=2},
sin={label in legend={text=$\sin x$}},
cos={label in legend={text=$\cos x$}},
sin 2={label in legend={text=$\sin 2x$}},
cos 2={label in legend={text=$\cos 2x$}},
style sheet=strong colors]
data [set=sin, format=function] {
var x : interval[0:3*pi];
func y = sin(\value x r);
}
data [set=cos, format=function] {
var x : interval[0:3*pi];
func y = cos(\value x r);
}
data [set=sin 2, format=function] {
var x : interval[0:3*pi];
func y = sin(2*\value x r);
}
data [set=cos 2, format=function] {
var x : interval[0:3*pi];
func y = cos(2*\value x r);
};
\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 [color class=red, color class=green, clockwise, n=6] {
[complete bipartite={red}{green}, ->]
a [red], b[red], c[red], d[green], e[green], f[green]
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs, graphs.standard}
\begin{document}
\tikz \graph [grow down sep, branch left sep] {
start -- {
an even longer text -- {short, very long text} -- more text,
long -- longer,
some text -- a -- b
} -- end
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{loglogaxis}
\addplot+ [
error bars/.cd,
x dir=both,x fixed relative=0.5,
y dir=both,y explicit relative,
] table [x=x,y=y,y error=error] {
x y error
32 32 0
64 64 0
128 128 0.3
1024 1024 0.2
32068 32068 0.6
64000 64000 0.6
128000 128000 0.6
};
\end{loglogaxis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, arrows}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=1.17}
\definecolor{clr1}{cmyk}{100,0,0,0}
\definecolor{clr2}{cmyk}{0,100,0,0}
\definecolor{clr3}{cmyk}{0,50,100,0}
\definecolor{clr4}{cmyk}{100,69,0,0}
\definecolor{clr5}{cmyk}{60,14,68,0}
\begin{document}
\begin{tikzpicture}
\definecolor{clr1}{cmyk}{100,0,0,0}
\definecolor{clr2}{cmyk}{0,100,0,0}
\definecolor{clr3}{cmyk}{0,50,100,0}
\definecolor{clr4}{cmyk}{100,69,0,0}
\definecolor{clr5}{cmyk}{60,14,68,0}
\begin{axis}[
title= Accuracy vs. Iteration,
xlabel={Number of Iterations},
ylabel={Binary Classification Accuracy (percentage)},
grid=major,
legend entries={FR,DE,IT,PL,ES}, legend style={at={(1.41,1.0)}, font=\tiny},
ymin=50,
ymax=100,xmin=0,
xmax=15,]
\addplot+[mark=triangle, sharp plot, clr1] coordinates
{
(0,0.9658*100)
(1,0.7725*100)
(2,0.7181666*100)
(3,0.671*100)
(4,0.6108*100)
(5,0.58466666*100)
(6,0.575333333*100)
(7,0.54083*100)
(8,0.5243333*100)
(9,0.5225*100)
(10,0.519833*100)
(11,0.52066666*100)
(12,0.51933*100)
(13,0.52833*100)
(14,0.521666*100)
(15,0.523333*100)
};
\addplot+[sharp plot,mark=star, clr2] coordinates
{
(0,0.91316*100)
(1,0.7865*100)
(2,0.73283*100)
(3,0.6895*100)
(4,0.6615*100)
(5,0.62466*100)
(6,0.6111666*100)
(7,0.591333*100)
(8,0.575666*100)
(9,0.564333*100)
(10,0.56916666*100)
(11,0.56966666*100)
(12,0.56033*100)
(13,0.5516666*100)
(14,0.5398333*100)
(15,0.5355*100)
};
\addplot+[sharp plot,mark=|, clr3] coordinates
{
(0,0.97699*100)
(1,0.6425*100)
(2,0.608833*100)
(3,0.571833*100)
(4,0.5515*100)
(5,0.5378*100)
(6,0.525*100)
(7,0.52033*100)
(8,0.5085*100)
(9,0.5138333*100)
(10,0.51416*100)
(11,0.50966*100)
(12,0.517*100)
(13,0.51433*100)
(14,0.5106*100)
(15,0.51266*100)
};
\addplot+[sharp plot, mark=square] coordinates
{
(0, 0.9436666*100)
(1, 0.8183*100)
(2, 0.746*100)
(3, 0.6925*100)
(4, 0.635666666*100)
(5, 0.5918333*100)
(6, 0.560833*100)
(7, 0.553666*100)
(8, 0.543*100)
(9, 0.5335*100)
(10, 0.5265*100)
(11, 0.518*100)
(12, 0.534*100)
(13, 0.52366666*100)
(14, 0.515*100)
(15, 0.5063333*100)
};
\addplot+[sharp plot, clr5] coordinates
{
(0, 0.985*100)
(1, 0.7361*100)
(2, 0.6926*100)
(3, 0.6486666*100)
(4, 0.612833*100)
(5, 0.589*100)
(6, 0.5705*100)
(7, 0.54783*100)
(8, 0.537333*100)
(9, 0.5283333*100)
(10, 0.524833*100)
(11, 0.52583333*100)
(12, 0.518*100)
(13, 0.51366666*100)
(14, 0.5055*100)
(15, 0.5153333333*100)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb,latexsym,mathtools}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3.6]
\draw[color=blue!80, thick] (-0.25in,0.5in) -- (0.25in,0.5in);
\draw (-0.6036in, 0.3536in) -- (0.6036in,0.3536in);
\draw[color = blue!80] (-0.60636in,0.3536in) arc (135:90:0.5in);
\draw[color = blue!80] (0.60636in,0.3536in) arc (45:90:0.5in);
\fill[fill=blue!10] (-0.60636in,0.3536in) arc (135:90:0.5in) -- (0.25in,0.5in) arc (90:45:0.5in) -- (-0.75in, 0.3536in);
\draw[thick, ->] (0, 0.51in) -- (0,0.71in);
\draw[anchor = east] (0.03,0.71in) node {\small $p$};
\draw[thick,->] (0.0625in,0.51in) -- (0.0625in,0.71in);
\draw[thick,->] (0.1250in,0.51in) -- (0.1250in,0.71in);
\draw[thick,->] (0.1875in,0.51in) -- (0.1875in,0.71in);
\draw[thick,->] (0.250in,0.51in) -- (0.250in,0.71in);
\draw[thick,->] (-0.0625in,0.51in) -- (-0.0625in,0.71in);
\draw[thick,->] (-0.1250in,0.51in) -- (-0.1250in,0.71in);
\draw[thick,->] (-0.1875in,0.51in) -- (-0.1875in,0.71in);
\draw[thick,->] (-0.250in,0.51in) -- (-0.250in,0.71in);
\filldraw[fill=black] (-0.4045in,0.4755in) circle (0.010in);
\draw[thick,->] (-0.4076in,0.4850in) -- (-0.4694in,0.6753in);
\filldraw[fill=black] (-0.5439in,0.4045in) circle (0.010in);
\draw[thick,->] (-0.5498in,0.4126in) -- (-0.6673in,0.5744in);
\filldraw[fill=black] (-0.3282in,0.4938in) circle (0.010in);
\draw[anchor = north] (-0.3282in,0.4838in) node {\small $x_{n}$};
\draw[thick,->] (-0.3298in,0.5037in) -- (-0.3611in,0.7013in);
\draw[anchor = north] (-0.3911in,0.7013in) node {\small $p_{n}$};
\filldraw[fill=black] (-0.25in,0.5in) circle (0.010in);
\draw[anchor = north] (-0.25in,0.49in) node {\small $x$};
\draw[red,thin,densely dashed,->] (-0.25in,0.71in) -- (-0.75in,0.71in);
\draw[anchor = south] (-0.75in,0.71in) node {\small $w'$};
\draw[red,thin,densely dashed,->] (-0.25in,0.71in) -- (-0.7439in,0.6319in);
\draw[red,thin,densely dashed,->] (-0.25in,0.71in) -- (-0.7255in,0.5555in);
\draw[anchor = north] (0.1in, 0.44in) node {\small $C$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\newcommand{\R}{\mathbb{R}}
\begin{document}
\begin{tikzpicture}
\def\R{3};
\def\p{(-2)};
\def\q{1};
\fill[orange!20] (-2,0) -- (0,0) -- (0,1) -- (-2,{1+2/\R});
\fill[orange!20] (0,-2) -- (0,0) -- (\R,0) -- ({\R+2/\R},-2);
\fill[orange!20] (-2,-2) -- (0,-2) -- (0,0) -- (-2,0);
\fill[orange!20] (0,0) -- plot[variable=\t,domain=0:1,smooth] ( {(1-\t)*\R/((\R^(-\q) + 1 - (\R - \t*(\R-1))^(-\q))^(-1/\q))},
{\t*\R/((\R^(-\q) + 1 - (\R - \t*(\R-1))^(-\q))^(-1/\q))} );
\draw[-Latex,thick] (-2,0) -- ({\R+1},0);
\draw[-Latex,thick] (0,-2) -- (0,{\R+1});
\draw[red,dotted] (\R,0) -- (0,1);
\draw[blue,dotted] (0,\R) -- (1,0);
\draw[blue,thick] (1,0) -- ({1+2/\R},-2);
\draw[blue,thick] (0,\R) -- (-2,{\R+2/\R});
\draw[dashdotted,thick] ({((\R^\q+1)/2)^(1/\q)},0) -- (0,{((\R^\q+1)/2)^(1/\q)});
\draw[orange,thick] (0,1) -- (-2,{1+2/\R});
\draw[orange,thick] (\R,0) -- ({\R+2/\R},-2);
\draw[orange,thick,variable=\t,domain=0:1,smooth] plot ( {(1-\t)*\R/((\R^(-\q) + 1 - (\R - \t*(\R-1))^(-\q))^(-1/\q))},
{\t*\R/((\R^(-\q) + 1 - (\R - \t*(\R-1))^(-\q))^(-1/\q))} );
\draw[dashdotted,thick] ({\R+1},-1) -- (-1,{\R+1});
\draw[dashed,red,thick] ({\R+1},{-1/(1 + (\R-1)/(\R^(\q+1)))}) -- ({\R - (\R + 1) * (1 + (\R-1)/(\R^(\q+1))))},{\R+1});
\draw[dashed,blue,thick] ({- (1 + (\R-1)/(\R^(\q+1)))},{\R+1}) -- ({\R+1},{((\R-1)/(\R^\q) - 1)/(1 + (\R-1)/(\R^(\q+1)))});
\draw[-Latex] ({\R-1},1) -- (\R,2);
\node[anchor=west] at (\R,2) {$a$};
\draw[-Latex,red] (1,{(\R-1)/(1 + (\R-1)/\R^(\q+1))}) -- (2,{(\R-1)/(1 + (\R-1)/\R^(\q+1)) + 1 + (\R-1)/(\R^(\q+1))});
\node[anchor=west] at (2,{(\R-1)/(1 + (\R-1)/\R^(\q+1)) + 1 + (\R-1)/(\R^(\q+1))}) {$a_q$};
\fill (\R,0) circle [radius=1.5pt] node[anchor=south west] {$v$};
\fill ({((\R^\q+1)/2)^(1/\q)},0) circle [radius=1.5pt] node[anchor=north] {$\frac{v}{m_{-q}(R_0^{\max},1)}$};
\fill (1,0) circle [radius=1.5pt] node[anchor=north east] {$\frac{v}{R_0^{\max}}$};
\fill (0,\R) circle [radius=1.5pt] node[anchor=south west] {$w$};
\fill (0,{((\R^\q+1)/2)^(1/\q)}) circle [radius=1.5pt] node[anchor=east] {$\frac{w}{m_{-q}(R_0^{\max},1)}$};
\fill (0,1) circle [radius=1.5pt] node[anchor=north east] {$\frac{w}{R_0^{\max}}$};
\fill ({\R/2},{\R/2}) circle [radius=1.5pt] node[anchor=south west] {$x$};
\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-[:-5]-[::+20]-[::20]B-[::+20]-[::20]C-[::20]}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsthm,amssymb,dsfont,graphicx,xspace,epsfig,xcolor}
\usepackage{tikz, tkz-graph, tkz-berge}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{patterns}
\usetikzlibrary{patterns.meta}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[thick,scale=1, every node/.style={transform shape}]
\tikzset{vertex/.style = {circle,fill=black,minimum size=5pt, inner sep=0pt}
}\tikzset{littlevertex/.style = {circle,fill=black,minimum size=4pt, inner sep=0pt}
}\tikzset{edge/.style = {->,> = latex'}
}\foreach \i in {1,...,4}{\pgfmathtruncatemacro{\j}{2*\i - 1}\pgfmathtruncatemacro{\k}{2*\i}\node[vertex] (a\j) at (\j,0) {};
\node[vertex] (a\k) at (\k,0) {};
\node[vertex] (b\i) at (\k-0.5,1) {};
\draw[edge, green] (b\i) to (a\j){};
\draw[edge, dashed, red] (b\i) to (a\k) {};
}\node[vertex] (c1) at (2.5,2) {};
\node[vertex] (c2) at (6.5,2) {};
\node[vertex, label=below:$y$] (x) at (4.5,3) {};
\node[vertex, label=above:$x$] (z) at (4.5,4) {};
\draw[edge, green] (c1) to (b1) {};
\draw[edge, dashed, red] (c1) to (b2) {};
\draw[edge, green] (c2) to (b3){};
\draw[edge, dashed, red] (c2) to (b4){};
\draw[edge, green] (z) to (x) {};
\draw[edge, green] (x) to (c1) {};
\draw[edge, dashed, red] (x) to (c2){};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
title={$x \exp(-x^2-y^2)$},
xlabel=$x$, ylabel=$y$,
small,
]
\addplot3 [
surf,
domain=-2:2,
domain y=-1.3:1.3,
] {exp(-x^2-y^2)*x};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage{tkz-euclide} % 核心宏包

\begin{document}
\begin{tikzpicture}
    % 1. 定义三角形的三个顶点
    \tkzDefPoints{0/0/A, 2/0/B, 1.5/2/C} 
    
    % 2. 绘制填充或边框（可选）
    \tkzDrawPolygon(A,B,C)
    
    % 3. 纠错部分：逐个绘制圆
    % 这里的含义是：以A为圆心过B，以B为圆心过C，以C为圆心过A
    \tkzDrawCircle(A,B)
    \tkzDrawCircle(B,C)
    \tkzDrawCircle(C,A)
    
    % 4. 绘制点和标签
    \tkzDrawPoints(A,B,C)
    \tkzLabelPoints(A,B,C)
\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}
\schemestart
A \arrow(aa--bb) B \arrow(--cc) C \arrow D
\arrow(@bb--xx1)[-90] X \arrow[-90] Y
\arrow(@c4--)[-90] Z \arrow W
\arrow(@xx1--xx2)[-45] XX
\arrow(@xx2--@c4)
\schemestop
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{3d,perspective}
\begin{document}
\begin{tikzpicture}[>=stealth]
\draw[->](0,0,0)--(2,0,0)node[at end,right]{$x$};
\draw[->](0,0,0)--(0,2,0)node[at end,left]{$y$};
\draw[->](0,0,0)--(0,0,2)node[at end,left]{$z$};
\draw[red,rotate around x=0](0,0,0)--(1,1,0)--(1,0,0);
\draw[green,rotate around x=45](0,0,0)--(1,1,0)--(1,0,0);
\draw[blue,rotate around x=90](0,0,0)--(1,1,0)--(1,0,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions,
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
visualize as scatter]
data [format=function] {
var x : interval [0:pi] samples 10;
func y = sin(\value x r);
};
\end{document}
\documentclass[border=6mm]{standalone}
\usepackage{tikz}
\begin{document}
\def\mygroup#1#2{
\begin{scope}[shift={#1}, scale=#2]
\draw (0,0) ++(135:1cm) node (n1) {$S_1$};
\draw (0,0) ++(45:1cm) node (n2) {$S_2$};
\draw (0,0) ++(270:1cm) node (n3) {$S_3$};
\draw [->] (n1) -- (n2);
\draw [->] (n2) -- (n3);
\draw [->] (n1) -- (n3);
\end{scope}
}
\begin{tikzpicture}[>=latex]
\draw (0,0) circle (1.5cm);
\mygroup{(0,0)}{1};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[inner sep=1.5pt,scale=.6,baseline=-.2em]
\node[left] at (-.8,0) {\small $G$:};
\node (4) at (2.5,0) {\small $x_4$};
\node (5) at (3.5,.866) {\small $x_5$};
\node (1) at (1,0) {\small $x_1$};
\node (2) at (-0.5,0.866) {\small $x_2$};
\node (6) at (3.5,-.866) {\small $x_6$};
\node (3) at (-.5,-.866) {\small $x_3$};
\draw (1) -- (2) -- (3) -- (1) -- (4)-- (5) (4) -- (6);
\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*5(-C-D-E-F-)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{graphs, graphs.standard}
\tikzset{>=stealth}
\begin{document}
\tikz \graph [circular placement, group polar shift=(30:0)] {
a -> b -> c;
d -> e;
f -> g -> h;
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar,
nodes near coords,
scatter/position=absolute,
every node near coord/.style={
at={(\pgfkeysvalueof{/data point/x},-1)},
anchor=north,
/pgf/number format/fixed,
/pgf/number format/precision=1,
name=NNC\pgfkeysvalueof{/data point/index},
},
/pgfplots/scatter/@post marker code/.add code={}{
\draw [dotted,help lines]
(NNC\pgfkeysvalueof{/data point/index})
-- (\pgfkeysvalueof{/data point/x},
{min(0,\pgfkeysvalueof{/data point/y})});
},
xtick=data,
]
\addplot+ [
domain=0:360,
bar width=360/9,
samples=9,
] {sin(x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[line width=4pt]
\path (1,1) node (A){};
\draw (1,0) -- (A.center) (A) (A.center) -- (2,1);
\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);
\draw (0,0) -- (1,1) -- (1,0);
\draw[xslant=2,blue] (0,0) -- (1,1) -- (1,0);
\draw[xslant=-1,red] (0,0) -- (1,1) -- (1,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[every node/.style={draw,circle,fill=black,minimum size=5pt,inner sep=0pt,outer sep=0pt}]
\node(b1)at(0,.5){};
\node(b2)at(.5,.75)[label=below:$u_i$]{};
\node(b3)at(1,1)[label=above:$v_j$]{};
\node at(.5,1.25){};
\node(b5)at(0,1.5){};
\node at(1.7,1){};
\node at(2.4,1){};
\node(b8)at(3.1,1){};
\draw[thick](b1)--(b2)(b5)--(b3)--(b8);
\draw[very thick,red,densely dotted](b2)--(b3);
\node(c1)at(4,.5){};
\node at(4.5,.75){};
\node(c3)at(5,1)[label=below:$x_\ell$]{};
\node at(4.5,1.25){};
\node(c5)at(4,1.5){};
\node(c6)at(5.7,1)[label=above:$w_k$]{};
\node at(6.4,1){};
\node(c8)at(7.1,1){};
\draw[thick](c1)--(c3)(c5)--(c3)(c6)--(c8);
\draw[very thick,red,densely dotted](c6)--(c3);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\newcommand{\e}{\vec e}
\begin{document}
\begin{tikzpicture}[scale=0.6, every node/.style={scale=1}]
\pgfdeclarelayer{nodelayer}
\pgfdeclarelayer{edgelayer}
\pgfdeclareradialshading{sphere4}{\pgfpoint{-0.2cm}{0.5cm}}
{rgb(0cm)=(1,1,1);
rgb(1cm)=(0.5,0.5,0.5); rgb(1.05cm)=(1,1,1)}
\pgfsetlayers{nodelayer,edgelayer}
\tikzstyle{label}=[fill=none, draw=none, shape=circle]
\tikzstyle{point}=[inner sep=0pt, minimum size=0.2cm,fill=black, draw, shape=circle]
\tikzstyle{interior line}=[dotted,thick]
\tikzstyle{triangle}=[thick]
\tikzstyle{arrow}=[->, thick]
\begin{pgfonlayer}{nodelayer}
\node [style=point] (4) at (0.5, 2.5) {};
\node [style=point] (5) at (0.55, 0.625) {};
\node [style=point] (6) at (2.25, 0.75) {};
\node (7) at (0, 0) {};
\node (8) at (1.25, 1.375) {};
\node (9) at (2.425, 2.525) {};
\end{pgfonlayer}
\begin{pgfonlayer}{edgelayer}
\draw (0,0) circle (3cm);
\shade[shading=sphere4] (0,0) circle (3cm);
\draw [bend left=15,style=triangle] (4.center) to (6.center);
\draw [bend left=355,style=triangle] (6.center) to (5.center);
\draw [bend right=5,style=triangle] (5.center) to (4.center);
\draw [style=interior line] (4.center) to (7.center);
\draw [style=interior line] (5.center) to (7.center);
\draw [style=interior line] (6.center) to (7.center);
\draw [fill=gray!80] (4.center) to [bend left=15] (6.center) to [bend left=355] (5.center) to [bend right=5] cycle;
\node [style=label, anchor=north] at (2.25, 0.75) {\small $\e(x_1)$};
\node [style=label, anchor=north] at (0.55, 0.625) {\small $\e(x_2)$};
\node [style=label, anchor=east] at (0.5, 2.5) {\small $\e(x_3)$};
\node [style=point] at (4){};
\node [style=point] at (5){};
\node [style=point] at (6){};
\node [style=label] at (8) {\small $A$};
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{width=7cm,compat=1.8}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot+[const plot]
coordinates
{(0,0.1) (0.1,0.15) (0.2,0.5) (0.3,0.62)
(0.4,0.56) (0.5,0.58) (0.6,0.65) (0.7,0.6)
(0.8,0.58) (0.9,0.55) (1,0.52)};
\end{axis}
\end{tikzpicture}
\end{document}