AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\path (0.5, 0) coordinate (A) node[below] {$W_0^i$};
\path (2, 0) coordinate (B) node[below] {$W_1^i$};
\path (3.5, 0) coordinate (C) node[below] {$W_2^i$};
\path (5, 0) coordinate (D) node[below] {$W_3^i$};
\path (6.5, 0) coordinate (E) node[below] {$W_4^i$};
\path (8, 0) coordinate (F) node[below] {$W_5^i$};
\path (9.5, 0) coordinate (G) node[below] {$W_6^i$};
\path (11, 0) coordinate (H) node[below] {$W_7^i$};
\path (11.5, 0) coordinate (I) node[below] {$t$};
\path (3.7, 1.4) node[below] {$\xi_4^i$};
\path (8, 1) node[below] {$\xi_6^i$};
\path (10.2, 0.8) node[below] {$\xi_7^i$};
\path (1.7, 0.5) node[below] {$\xi_1^i$};
\path (2.6, 0.9) node[below] {$\xi_2^i$};
\path (4.2, 0.8) node[below] {$\xi_3^i$};
\path (7.7, 0.6) node[below] {$\xi_5^i$};
\draw (0,0) edge[->] (11.5,0);
\path[->] (A) edge [bend left] node [right] {} (B);
\path[->] (A) edge [bend left] node [right] {} (C);
\path[->] (C) edge [bend left] node [right] {} (D);
\path[->] (A) edge [bend left] node [right] {} (E);
\path[->] (E) edge [bend left] node [right] {} (F);
\path[->] (E) edge [bend left] node [right] {} (G);
\path[->] (G) edge [bend left] node [right] {} (H);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16, width=0.98\textwidth}
\pgfkeys{/pgf/number format/.cd, 1000 sep={}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis line style={black},
legend cell align={left},
legend style={at={(0.7,0.8)}, anchor=west, draw=black},
tick align=outside,
x grid style={dashed, black!60},
xlabel={$K$},
xmajorticks=true,
xmin=55, xmax=1045,
xtick style={color=black},
y grid style={dashed, black!60},
ylabel={RMSE},
ymajorticks=true,
ymin=0.875, ymax=0.91,
ytick distance=0.0025,
ytick style={black},
xtick align=inside,
ytick align=inside,
grid = none,
y tick label style={
/pgf/number format/.cd,
fixed,
fixed zerofill,
precision=4
},
]
\addplot [mark=square*, mark options={fill=blue}, line width=1pt, blue, mark size=2.5pt]
table {
100 0.895150425339557
200 0.900482595232357
300 0.903679079675768
400 0.905775901961456
500 0.906989289317474
600 0.907739560134421
700 0.908159905497467
800 0.908394225024818
900 0.908519432232782
1000 0.90861411822613
};
\addlegendentry{Bla1}
\addplot [mark=triangle*, mark options={fill=red}, line width=1pt, red, mark size=2.5pt]
table {
100 0.885569549243323
200 0.887070668935957
300 0.888060950115143
400 0.888591579965093
500 0.888834814899663
600 0.888949909904719
700 0.889000205838998
800 0.889021628991577
900 0.889029473681479
1000 0.889031852416184
};
\addlegendentry{Bla2}
\addplot [mark=*, mark options={fill=black}, line width=1pt, black, mark size=2.5pt]
table {
100 0.877032429270956
200 0.877298698387484
300 0.877426754279817
400 0.877456082749727
500 0.877463664128281
600 0.877464908640126
700 0.877464997368712
800 0.87746508858427
900 0.877465105556874
1000 0.877465107569633
};
\addlegendentry{Bla3}
\end{axis}
\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}
\tkzSetUpColors[background=white,text=black]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.2pt,color=teal]
\tikzset{every picture/.style={line width=.2pt}}
\tikzset{line style/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}[scale=1.2,vect/.style={->,shorten >=1pt,>=latex'}]
\tkzDefPoints{2/1/A,6/2/B}
\tkzDefPointWith[orthogonal,K=.5](A,B)
\tkzGetPoint{C}
\tkzDefPointWith[colinear=at C,K=.5](A,B)
\tkzGetPoint{D}
\tkzMarkRightAngle[fill=gray!20](B,A,C)
\tkzDrawSegments[vect](A,B A,C C,D)
\tkzDrawPoints(A,...,D)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.5, invisible/.style={circle, fill, outer sep=1, inner sep=1, minimum size=0}]
\draw (-0.5,4.5) node[invisible] (v1) {} -- (1.6,3.2) node[invisible] {} -- (1.6,0.4) node[invisible] (v4) {} -- (-0.5,-1) node[invisible] (v3) {} -- (-2.6,0.4) node[invisible] (v2) {} -- (-2.6,3.2) node[invisible] {} -- (v1);
\draw (v1) edge (v2);
\draw (v1) edge (v3);
\draw (v1) edge (v4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amsfonts,amssymb,amsthm,amscd}
\usepackage{tikz}
\usetikzlibrary{calc}
\newcommand{\qdarrow}[2]{\draw[->,dashed,shorten >=2pt,shorten <=2pt] (#1) -- (#2) [thick];
}
\begin{document}
\begin{tikzpicture}
\begin{scope}[>=latex,xshift=0pt]\draw [-] (0,2) to [out = 0, in = 135] (1.8,1.2);
\draw [-] (0,0) to [out = 0, in = -135] (1.8,0.8);
\draw [-] (2.2,0.8) to [out = -45, in = 180] (4,0);
\draw [-] (2.2,1.2) to [out = 45, in = 180] (4,2);
{\color{blue}\fill (0.7,1) circle(2pt) coordinate(A) node[left]{\color{red} \scriptsize{$-u_i-w_i+d_i$}};
\fill (3.3,1) circle(2pt) coordinate(B) node[right]{\color{red} \scriptsize{$-u_i-w_i+b_i$}};
\fill (2,2.3) circle(2pt) coordinate(C) node[above]{\color{red} \scriptsize{$w_i+a_i$}};
\fill (2,-0.3) circle(2pt) coordinate(D) node[below]{\color{red} \scriptsize{$w_i+c_i$}};
\draw (2,1) node {\color{red} \scriptsize{$2u_i+e_i$}};
\draw[->,shorten >=2pt] (2,1.3) -- (C) [thick];
\draw[->,shorten >=2pt] (2,0.7) -- (D) [thick];
\draw[->] (A) -- (1.4,1) [thick];
\draw[->] (B) -- (2.6,1) [thick];
\qdarrow{C}{A}\qdarrow{C}{B}\qdarrow{D}{A}\qdarrow{D}{B}}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
footnotesize,
title=A ``footnotesize'' figure,
xlabel=The $x$-axis,
ylabel=The $y$-axis,
minor tick num=1,
legend entries={Leg},
]
\addplot+ [const plot] coordinates {
(0,0) (1,1) (3,3) (5,10)
};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \x/\l in {1/4, 2/2, 3/6, 4/5, 5/1, 6/3}
{
\coordinate (p\l) at (\x,0);
\coordinate (pg\l) at (\x,0.2);
\coordinate (pd\l) at (\x,-0.13);
\draw (\x,0.1) -- (\x,-0.1) node[below]{$p_\l$};
}
\draw[->] (0,0) -- (7,0);
\begin{scope}[>={stealth}]
\foreach \b/\e in {4/5, 2/3, 6/1}
\draw (pg\b) edge[->,bend left=40] (pg\e);
\foreach \b/\e in {5/6, 1/2, 3/4}
\draw (pd\b) edge[->,bend left=40] (pd\e);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{pgfpicture}
\pgfpathmoveto{\pgfpointorigin}
\pgfpathlineto{\pgfpoint{1cm}{1cm}}
\pgfpathlineto{\pgfpoint{2cm}{1cm}}
\pgfsetfillcolor{yellow!80!black}
\pgfusepath{fill,stroke}
\end{pgfpicture}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=2, inner sep=2mm]
\coordinate (b1) at (0,-0.2);
\coordinate (6) at (0.8,-0.2);
\coordinate (5) at (0,0.7);
\coordinate (4) at (0.8,0.7);
\coordinate (2) at (0,1.6);
\coordinate (3) at (-0.7,-0.7);
\coordinate (bottom) at (1.1, -1);
\coordinate (top) at (1, 1.6);
\fill[white] (top) -- (2)-- (bottom);
\fill[lightgray, fill opacity=0.4] (3) to [out=90,in=-135] (2) --(5) --(b1);
\fill[lightgray, fill opacity=0.4] (2)--(5)--(4);
\draw[thick] (3)node[left] {$\hat{5}$} -- (b1) node[below] {\ \ \ $\hat{2}$} -- (6)node[right] {$\hat{4}$} -- (4) node[right] {$\hat{6}$} --(2) node[right] {$\hat{b}_0$} -- (5) node[inner sep=1mm, below] {\ \ \ \ $\hat{3}$}-- (b1);
\draw[thick] (3) to [out=90,in=-135] (2);
\draw[thick] (3) -- (5)--(4);
\foreach \i in {2,3, 4, 5, 6} {\fill (\i) circle (2pt);}
\fill (b1) circle (2pt);
\fill[magenta] (b1) circle (1.7pt);\fill[cyan] (6) circle (1.7pt);\fill[cyan] (5) circle (1.7pt);
\fill[green] (4) circle (1.7pt);\fill[magenta] (2) circle (1.7pt);\fill[green] (3) circle (1.7pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}[scale=1.3, every node/.style={draw, shape=circle, outer sep=2pt, inner sep=1pt, minimum size=.285cm}]
\node (1) at (0,0) {};
\node (2) at (0,1) {};
\node (3) at (-0.5,1.866) {};
\node (4) at (0.5,1.866) {};
\node (5) at (0.866,-0.5) {};
\node (6) at (1.866,-0.5) {};
\node (7) at (1.366,-1.366) {};
\node (8) at (-0.866,-0.5) {};
\node (9) at (-1.366,-1.366) {};
\node (10) at (-1.866,-0.5) {};
\draw[thick] (5)--(7)--(6)--(5)--(1)--(2)--(3)--(4)--(2);
\draw[thick] (1)--(8)--(9)--(10)--(8);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{*6(=-*6(-N*6(-(=O)--([::-120]<:H)*7(-O--=?[0]([::-25.714]-[,2]?[1]))-*6(-?[0,{>}]--(<N?[1]?[2])-(<[::-90]-[::-60]?[2]))(<:[::+0]H)-([::+120]<H))--?)=?-=-)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
backgrounds,
mindmap,
trees,
decorations.pathmorphing
}
\colorlet{concept color}{blue!40}
\pgfkeys{/pgf/decoration/.unknown/.code={}}
\begin{document}
\begin{tikzpicture}
[root concept/.append style={concept color=blue!20,minimum size=2cm},
level 1 concept/.append style={sibling angle=45},
mindmap]
\node [concept] {Root concept}
[clockwise from=45]
child { node[concept] (c1) {child}}
child { node[concept] (c2) {child}}
child { node[concept] (c3) {child}};
\begin{pgfonlayer}{background}
\draw [concept connection] (c1) edge (c2)
edge (c3)
(c2) edge (c3);
\end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
graphs,
graphs.standard
}
\begin{document}
\tikz [x=8mm, y=6mm, circle]
\graph [nodes={fill=blue!70}, empty nodes, n=8] {
subgraph I_n [name=A] --[butterfly={level=4}]
subgraph I_n [name=B] --[butterfly={level=2}]
subgraph I_n [name=C] --[butterfly]
subgraph I_n [name=D] --
subgraph I_n [name=E]
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
plotmarks
}
\begin{document}
\tikz \datavisualization
[scientific axes=clean,
visualize as scatter/.list={a,b,c},
style sheet=cross marks]
data [format=named] {
x=0, y={1,2,3}, set=a
x={2,3,4}, y={3,4,5,7}, set=b
x=6, y={5,7,...,15}, set=c
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[->] (-0.25,0) -- (4.5,0) ;
\draw[->] (0,-0.25) -- (0,2.5) ;
\draw [smooth, samples=100,domain=0:0.76,variable=\x] plot(\x ,0.5 );
\draw [fill] (0,0.5) circle (1.1pt);
\draw (0.8,0.5) circle (1.3pt);
\draw [smooth, samples=100,domain=0.8:1.56,variable=\x] plot(\x ,{1});
\draw [fill] (0.8,1) circle (1.1pt);
\draw (1.6,1) circle (1.3pt);
\draw [smooth, samples=100,domain=1.6:2.36,variable=\x] plot(\x ,2.3 );
\draw [fill] (1.6,2.3) circle (1.1pt);
\draw (2.4,2.3) circle (1.3pt);
\draw [smooth, samples=100,domain=2.4:3.16,variable=\x] plot(\x ,0.8 );
\draw [fill] (2.4,0.8) circle (1.1pt);
\draw (3.2,0.8) circle (1.3pt);
\draw [smooth, samples=100,domain=3.2:3.96,variable=\x] plot(\x ,1.5 );
\draw [fill] (3.2,1.5) circle (1.1pt);
\draw (4,1.5) circle (1.3pt);
\draw[->] (6.25,0) -- (11,0) ;
\draw[->] (6.5,-0.25) -- (6.5,2.5) ;
\draw [smooth, samples=100,domain=6.5:7.28,variable=\x]
plot(\x ,{0.5+1.3*(\x -6.5)^2} );
\draw [fill] (6.5,0.5) circle (1.1pt);
\draw (7.3,1.33) circle (1.3pt);
\draw [smooth, samples=100,domain=7.3:8.09,variable=\x]
plot(\x ,{1+0.25*sin(16*\x r)});
\draw [fill] (7.3,0.867) circle (1.1pt);
\draw (8.1,0.822) circle (1.3pt);
\draw [smooth, samples=100,domain=8.1:8.867,variable=\x] plot(\x ,2.3 );
\draw [fill] (8.1,2.3) circle (1.1pt);
\draw (8.9,2.3) circle (1.3pt);
\draw [smooth, samples=100,domain=8.9:9.665,variable=\x]
plot(\x ,{0.8+0.5*(9.7-\x )^2 } );
\draw [fill] (8.9,1.12) circle (1.1pt);
\draw (9.7,0.8) circle (1.3pt);
\draw [smooth, samples=100,domain=9.7:10.47,variable=\x]
plot(\x ,{\x -8.5} );
\draw [fill] (9.7,1.2) circle (1.1pt);
\draw (10.5,2) circle (1.3pt);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{width=10.5cm,compat=1.9}
\begin{document}
\begin{tikzpicture}[scale = 0.8]
\begin{axis}[
xlabel={$X_{1}$},
ylabel={$X_{2}$},
xmin=0,
xmax=1,
ymin=0,
ymax=1,
xtick={0,1/6, 2/6, 3/6, 4/6, 5/6, 6/6},
xticklabels = {$0$,$\frac16$, $\frac26$, $\frac36$, $\frac46$, $\frac56$, $1$},
xmajorgrids=true,
ytick={0,1/6, 2/6, 3/6, 4/6, 5/6, 6/6},
yticklabels = {$0$,$\frac16$, $\frac26$, $\frac36$, $\frac46$, $\frac56$, $1$},
ymajorgrids=true,
legend pos=south west,
]
\addplot[only marks, color=black, mark=*,mark options={scale=2, fill=blue}] coordinates {(5/6, 0) (5/6, 1/3) (5/6-1/3, 1/3) (5/6-1/3, 2/3) (5/6-2/3, 2/3) (5/6 - 2/3, 1)};
\addplot[only marks, color=black, mark=*,mark options={scale=2, fill=green}] coordinates {(0, 5/6) (1/3, 5/6) (1/3, 5/6-1/3) (2/3, 5/6-1/3) (2/3, 5/6-2/3) (1, 5/6 - 2/3) };
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[yscale=-1]
\node (A) at (0, 0) {class $B$};
\node (B) at (2, 0) {class $A$};
\node (D) at (1, 1) {class $D(B,A)$};
\draw[->] (D) -> (A);
\draw[->] (D) -> (B);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz-network}
\begin{document}
\begin{tikzpicture}[thick,scale=0.6,every node/.style={transform shape}]
\Text[x=-1,y=3]{Tree 1}\Vertex[color=white,size=0.8,fontsize=\normalsize,x=-1,y=2,label=2]{1}\Vertex[color=white,size=0.8,fontsize=\normalsize,x=2,y=2,label=3]{2}\Vertex[color=white,size=0.8,fontsize=\normalsize,x=5,y=2,label=4]{3}\Vertex[color=white,size=0.8,fontsize=\normalsize,x=8,y=2,label=5]{4}\Vertex[color=white,size=0.8,fontsize=\normalsize,x=11,y=2,label=1]{5}\Edge[lw=1,label={2,3},fontsize=\normalsize](1)(2)\Edge[lw=1,label={3,4},fontsize=\normalsize](2)(3)\Edge[lw=1,label={4,5},fontsize=\normalsize](3)(4)\Edge[lw=1,label={5,1},fontsize=\normalsize](4)(5)\Text[x=0.5,y=1.5]{BB1 90$^{\circ}$}\Text[x=3.5,y=1.5]{Gumbel}\Text[x=6.5,y=1.5]{TLL}\Text[x=9.5,y=1.5]{TLL}\Text[x=-1,y=0]{Tree 2}\Vertex[shape=ellipse,color=white,size=0.9,fontsize=\normalsize,x=-1,y=-1,label={2,3}]{onetwo}\Vertex[color=white,size=0.9,fontsize=\normalsize,x=2,y=-1,label={3,4}]{twothree}\Vertex[color=white,size=0.9,fontsize=\normalsize,x=5,y=-1,label={4,5}]{threefour}\Vertex[color=white,size=0.9,fontsize=\normalsize,x=8,y=-1,label={5,1}]{fourfive}\Edge[lw=1,label={$2,4 | 3$},fontsize=\normalsize](onetwo)(twothree)\Edge[lw=1,label={$3,5 | 4$},fontsize=\normalsize](twothree)(threefour)\Edge[lw=1,label={$1,4 | 5$},fontsize=\normalsize](threefour)(fourfive)\Text[x=0.5,y=-1.5]{TLL}\Text[x=3.5,y=-1.5]{TLL}\Text[x=6.5,y=-1.5]{TLL}\Text[x=-1,y=-3]{Tree 3}\Vertex[shape=ellipse,color=white,size=0.8,fontsize=\normalsize,x=-0.5,y=-4,label={$2,4\ | \ 3$},style={minimum width=1.8cm}]{onethreetwo}\Vertex[shape=ellipse,color=white,size=0.8,fontsize=\normalsize,x=4,y=-4,label={$3,5 \ | \ 4$},style={minimum width=1.8cm}]{twofourthree}\Vertex[shape=ellipse,color=white,size=0.8,fontsize=\normalsize,x=8.5,y=-4,label={$1,4 \ | \ 5$},style={minimum width=1.8cm}]{threefivefour}\Edge[lw=1,label={$2,5 | 3,4$},fontsize=\normalsize](onethreetwo)(twofourthree)\Edge[lw=1,label={$1,3 | 4,5$},fontsize=\normalsize](twofourthree)(threefivefour)\Text[x=1.75,y=-4.5]{TLL}\Text[x=6.25,y=-4.5]{Gaussian}\Text[x=-1,y=-6]{Tree 4}\Vertex[shape=ellipse,color=white,size=0.8,fontsize=\normalsize,x=-0.5,y=-7,label={$2,5\ | \ 3,4$},style={minimum width=2.2cm}]{onefourtwothree}\Vertex[shape=ellipse,color=white,size=0.8,fontsize=\normalsize,x=5,y=-7,label={$1,3 \ | \ 4,5$},style={minimum width=2.2cm}]{twofivethreefour}\Edge[lw=1,label={$1,2 | 3,4,5$},fontsize=\normalsize](onefourtwothree)(twofivethreefour)\Text[x=2.25,y=-7.5]{Student-t}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[K/.style={draw,anchor=west,minimum size=2em},W/.style={K,minimum width=3em},A/.style={line width=1pt,|->},outer sep=0pt,line width=.6pt]
\draw[A](0,0)node[left]{C}--(1,0)node(b)[W]{4};
\node[K](c)at(b.east){};
\node[W,right=of c](d){6};
\node[K](e)at(d.east){};
\draw[A](c.center)--(d);
\node[W,right=of e](f){};
\node[K]at(f.east){Nil};
\draw[A](e.center)--(f);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
surf,
domain=0:360,
samples=40,
] {sin(x)*sin(y)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.polar,
datavisualization.formats.functions
}
\usepackage{xcolor}
\begin{document}
\tikz[baseline] \datavisualization [
scientific axes={clean},
x axis={attribute=angle, ticks={minor steps between steps=4}},
y axis={attribute=radius, ticks={some, style=red!80!black}},
all axes=grid,
visualize as smooth line=sin]
data [format=function] {
var t : interval [-3:3];
func angle = exp(\value t);
func radius = \value{t}*\value{t};
};
\qquad
\tikz[baseline] \datavisualization [
scientific polar axes={right half clockwise, clean},
angle axis={logarithmic,
ticks={
minor steps between steps=8,
major also at/.list={2,3,4,5,15,20}}},
radius axis={ticks={some, style=red!80!black}},
all axes=grid,
visualize as smooth line=sin]
data [format=function] {
var t : interval [-3:3];
func angle = exp(\value t);
func radius = \value{t}*\value{t};
};
\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=$R_1$, a=1<\kilo\ohm>] (2,0);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\usepackage{pgfplots}
\tikzset{->-/.style={decoration={markings,mark=at position .6 with{\arrow[>=stealth]{>}
}},postaction={decorate}}}\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}[baseline={([yshift=-3pt]
current bounding box.center)},xscale=1.15,yscale=-1.15]\draw[->-,>=stealth](90:.75)to node[below]{\small$g$}(150:.75);
\draw[->-,>=stealth](150:.75)to node[left]{\small$l$}(210:.75);
\draw[->-,>=stealth](210:.75)to node[above]{\small$k$}(270:.75);
\draw[->-,>=stealth](270:.75)to node[above]{\small$j$}(330:.75);
\draw[->-,>=stealth](330:.75)to node[right]{\small$i$}(30:.75);
\draw[->-,>=stealth](30:.75)to node[below]{\small$h$}(90:.75);
\foreach\a in{30,90,...,330}{\draw[->-,>=stealth](\a:1)--(\a:.75);
}\node at(90:1.15){\small$b$};
\node at(150:1.15){\small$a$};
\node at(210:1.15){\small$f$};
\node at(270:1.15){\small$e$};
\node at(330:1.15){\small$d$};
\node at(30:1.15){\small$c$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{tikz-layers}
\usepackage{pgfplots}
\usepackage{amssymb}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{patterns}
\tikzset{barlabels/.style={font=\footnotesize\sffamily}
,declare function={barheight=5pt;
}}\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;
}
\usepackage{amsmath,amsfonts,bm}
\begin{document}
\begin{tikzpicture}[y=0.32cm,x=0.02cm]
\foreach [count=\i from 0] \p/\t in {18.9/a,2.7/an,1.0/automatic,0.9/new,0.9/what,0.8/how,74.8/Others}{\node [anchor=base east,barlabels,name=i-\i] at (0,-\i) {\t};
\fill [blue!40] (i-\i.base east) rectangle ++(\p,barheight) ++(0,-barheight) node[barlabels,black,anchor=base west] {\p};
}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfkeys{/pgf/declare function={arcsinh(\x) = ln(\x + sqrt(\x^2+1));
}}\pgfplotsset{compat=1.14}
\begin{document}
\begin{tikzpicture}
\begin{axis}[enlargelimits=false]\addplot [domain=-10:10, samples=101,unbounded coords=jump]{cosh(x)/3};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american voltages]
\draw(0,0)to[V=$a_1$](2,0);
\end{circuitikz}
\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.5,0.5}\tkzSetUpColors[background=white,text=black]\tkzSetUpPoint[size=2,color=black,fill=black]\tkzSetUpLine[line width=.2pt,color=black]\tikzset{new/.style={color=orange,line width=.2pt}
,label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}
\begin{tikzpicture}[scale=.75]
\tkzDefPoint(5,3.5){A}\tkzDefPoint(0,0){B}\tkzDefPoint(7,0){C}\tkzDefCircle[euler](A,B,C)\tkzGetPoints{E}{e}\tkzDefSpcTriangle[medial](A,B,C){M_a,M_b,M_c}\tkzDrawCircle[new](E,e)\tkzDrawPoints(A,B,C,E,M_a,M_b,M_c)\tkzDrawPolygon(A,B,C)\tkzLabelPoints[below](B,C)\tkzLabelPoints[left](A,E)
\end{tikzpicture}
\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) node[seven segment val=A dot off box on]{};
\draw (1,0) node[seven segment val=- dot none box on]{};
\draw (0,-2) node[seven segment bits=1001001 dot empty box on]{};
\draw (1,-2) node[seven segment bits=0011101 dot none box off]{};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage{tikz}
\usetikzlibrary{calc,decorations.pathmorphing}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{shapes}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{shapes.misc}
\tikzset{cross/.style={cross out, draw=black, thick, fill=none, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt}
, cross/.default={3pt}}\newcommand{\vertices}{\coordinate (base) at (0, 1);
\draw (0, 0) node[fill, circle, minimum size = 1mm, inner sep = 0]{}
;
\draw (3, 0) node[fill, circle, minimum size = 1mm, inner sep = 0]{};
\draw (0, 3) node[fill, circle, minimum size = 1mm, inner sep = 0]{};
\draw (3, 3) node[fill, circle, minimum size = 1mm, inner sep = 0]{};
}
\begin{document}
\begin{tikzpicture}[baseline=(current bounding box.center), scale = .25]
\vertices{(044,4,1)}
\draw (0, 0) -- (0, 3) to [out = -60, in = 60] (0, 0);
\draw (3, 0) -- (3, 3) to [out = -60, in = 60] (3, 0);
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[domain=0:360,hide y axis,axis x line*=middle,xtick=\empty,samples=13,width=10cm,height=5cm]\addplot[const plot mark mid,very thick,gray]{sin(x)};
\addplot[ycomb,mark=*,thick,mark size=1]{sin(x)};
\addplot[densely dotted,samples=51]{sin(x)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{atom sep=2em,bond offset=1pt}
\begin{document}
\chemfig{*6(--*6(--=O))}
\end{document}