AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.markings}
\def\side{1cm}
\tikzset{smalldot/.style={circle,fill,inner sep=1.2pt}
}
\begin{document}
\begin{tikzpicture}[decoration={markings,mark=at position 0.5 with {\arrow{>}}}]
\draw (0,0) -- ++(0,\side) --++(4*\side,0) -- ++(0,-\side);
\draw (-0.5\side,0) -- ++(5*\side,0);
\foreach \valor in {1,2,3}
\draw (\valor*\side,0) -- ++(0,\side);
\draw[postaction=decorate] (0,0) arc [start angle=180,end angle=90,radius=\side];
\draw[postaction=decorate] (3*\side,\side) arc [start angle=90,end angle=0,radius=\side];
\draw[postaction=decorate] (\side,\side) arc [start angle=135,end angle=45,radius=1.4142*\side];
\foreach \xcoor/\ycoor in {0/0,\side/\side,{3*\side}/\side,{4*\side}/0}
\node[smalldot] at (\xcoor,\ycoor) {};
\draw[dashed] (\side,\side) -- (2*\side,0) -- (3*\side,\side);
\foreach \coord in {1,2,3,4}
\node[circle,draw,font=\footnotesize,inner sep=1pt] at ({\side*(\coord-0.5)},-0.5) {\coord};
\begin{scope}[yshift=-3*\side]
\draw (-0.5\side,0) -- ++(5*\side,0);
\draw[postaction=decorate] (0,0) arc [start angle=180,end angle=90,radius=\side];
\draw[postaction=decorate] (3*\side,\side) arc [start angle=90,end angle=0,radius=\side];
\draw[postaction=decorate] (\side,\side) arc [start angle=135,end angle=45,radius=1.4142*\side];
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:30]--[::-60](=[::-60]O)--[::-60](-[::-60]NH_2)-(=[::60]O)-[::-60]OH}
\end{document}
\documentclass[tikz,border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\draw[thick] (0,0) -- (3,0) ;
\draw[thick] (0,0) -- (0,3) ;
\draw[thick] (0,0) -- (3,3) ;
\draw[thick] (0,3) -- (3,3) ;
\draw[thick] (3,0) -- (3,3) ;
\draw[fill=black,opaque] (0,0) circle (0.2cm) ;
\draw[fill=black,opaque] (3,0) circle (0.2cm) ;
\draw[fill=black,opaque] (0,3) circle (0.2cm) ;
\draw[fill=black,opaque] (3,3) circle (0.2cm) ;
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[node/.style={draw,rectangle},font=\small,xscale=2,yscale=1]
\node[node,label=below:{\strut$H$}] (abac) at (0,0) {${abac}$};
\node[node,label=below:{$H(1\:3)$}] (bacb) at (-1,0) {${bacb}$};
\node[node,label=below:{$H(2\:3)$}] (aaba) at (1,0) {${aaba}$};
\node[node,label=left:{\strut$H$}] (cbac) at (-1.5,1) {${cbac}$};
\node[node,label=right:{\strut$H$}] (abaa) at (1.5,1) {${abaa}$};
\node[node,label={$H(2\:3)$}] (acba) at (-1,2) {${acba}$};
\node[node,label={\strut$H$}] (cbaa) at (0,2) {${cbaa}$};
\node[node,label={$H(1\:3)$}] (baab) at (1,2) {${baab}$};
\node[node,label=left:{$H(1\:3)$}] (aacb) at (-1.5,3) {${aacb}$};
\node[node,label=right:{\strut$H$}] (aabb) at (1.5,3) {${aabb}$};
\node[node,label={$H(2\:3)$}] (baac) at (-1,4) {${baac}$};
\node[node,label={$H(1\:3)$}] (bbaa) at (0,4) {${bbaa}$};
\node[node,label={\strut$H$}] (abba) at (1,4) {${abba}$};
\draw[->,right] (bacb) edge node [font=\small] {${b}$} (acba) ;
\draw[->,below] (abac) edge node [font=\small] {${a}$} (bacb) ;
\draw[->,below] (aaba) edge node [font=\small] {${a}$} (abac) ;
\draw[->,below right,bend right=25] (aaba) edge node [font=\small] {${a}$} (abaa) ;
\draw[->,below left ,bend right=25] (cbac) edge node [font=\small] {${c}$} (bacb) ;
\draw[->,above right,bend right=25] (abaa) edge node [font=\small] {${a}$} (baab) ;
\draw[->,above] (acba) edge node [font=\small] {${a}$} (cbaa) ;
\draw[->,above left ,bend right=25] (acba) edge node [font=\small] {${a}$} (cbac) ;
\draw[->,above] (cbaa) edge node [font=\small] {${c}$} (baab) ;
\draw[->,left ] (baab) edge node [font=\small] {${b}$} (aaba) ;
\draw[->,below right,bend right=25] (baab) edge node [font=\small] {${b}$} (aabb) ;
\draw[->,below left ,bend right=25] (aacb) edge node [font=\small] {${a}$} (acba) ;
\draw[->,above right,bend right=25] (aabb) edge node [font=\small] {${a}$} (abba) ;
\draw[->,above left ,bend right=25] (baac) edge node [font=\small] {${b}$} (aacb) ;
\draw[->,above] (bbaa) edge node [font=\small] {${b}$} (baac) ;
\draw[->,above] (abba) edge node [font=\small] {${a}$} (bbaa) ;
\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((-)-(=O)-*6(-(-NH_2)-(-OH)(=[::60]O)))}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{circuits.ee.IEC}
\begin{document}
\begin{tikzpicture}[circuit ee IEC, every info/.style={red}]
\node [resistor, info=$3\Omega$] {};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}
\draw (-0.8,0.8) rectangle (4.6,-1);
\draw plot[smooth, tension=.7] coordinates {(3,1.4) (1.4,1.2) (1.4,0) (2.8,-0.2) (3.6,0.4) (3,1.4)};
\node[circle,inner sep=0pt,draw,minimum size=5] (v1) at (-0.8,1.4) {};
\node[circle,inner sep=0pt,draw,minimum size=5] (v2) at (-0.2,0.2) {};
\node[circle,inner sep=0pt,draw,minimum size=5] (v3) at (0.4,1.4) {};
\node [circle,inner sep=0pt,draw,minimum size=5] (v5) at (3,1.4) {};
\node[circle,inner sep=0pt,draw,minimum size=5] (v4) at (1.4,0) {};
\node[circle,inner sep=0pt,draw,minimum size=5] (v7) at (2.8,-0.2) {};
\node[circle,inner sep=0pt,draw,minimum size=5] (v6) at (2.2,-0.2) {};
\node[circle,inner sep=0pt,draw,minimum size=5] at (1.4,1.2) {};
\node[circle,inner sep=0pt,draw,minimum size=5] at (2.2,1.4) {};
\draw[-triangle 60] (v1) edge (v2);
\draw[-triangle 60] (v2) edge (v3);
\draw[-triangle 60] (v3) edge (v4);
\draw[-triangle 60] (v4) edge (v5);
\draw[-triangle 60] (v6) edge (v5);
\draw[-triangle 60] (v7) edge (v5);
\node at (0.8,-0.6) {$I_n$};
\node at (-0.5,1.4) {$x_y$};
\node at (1.4,-0.3) {$y$};
\node at (3.2,1.4) {$z$};
\node at (1.8,1.6) {$J$};
\node at (3.2,0.2) {$C$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{tikz-qtree}
\usetikzlibrary{arrows, graphs}
\tikzset{every tree node/.style={minimum width=2em,draw,circle}
, blank/.style={draw=none}, edge from parent/.style={draw,edge from parent path={(\tikzparentnode) -- (\tikzchildnode)}}, level distance=1.2cm}
\begin{document}
\begin{tikzpicture}[> = stealth, shorten > = 1pt, auto, node distance = 3cm, semithick, scale=1, auto=left, every node/.style={minimum width=2em,draw,circle}]
\node (n1) at (0,0) {S};
\node (n2) at (-2,-1.5) {1.694};
\node (n3) at (-2,-3) {0.427};
\node (n4) at (-3.25,-3) {1.819};
\node (n5) at (-0.75,-3) {0.427};
\node (n6) at (-4,-4.5) {1.224};
\node (n7) at (-2.5,-4.5) {0.224};
\node (n8) at (0,-1.5) {0.812};
\node (n9) at (1.25,-1.5) {0.91};
\node (n10) at (2.5,-1.5) {1.16};
\node (n11) at (0.5,-3) {0.455};
\node (n12) at (3,-3) {0.65};
\draw (n1)--(n2);
\draw (n2)--(n3);
\draw (n2)--(n4);
\draw (n2)--(n5);
\draw (n4)--(n6);
\draw (n4)--(n7);
\draw (n1)--(n8);
\draw (n1)--(n9);
\draw (n1)--(n10);
\draw (n8)--(n11);
\draw (n10)--(n12);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{
datavisualization,
datavisualization.formats.functions
}
\begin{document}
\begin{tikzpicture}
\datavisualization [scientific axes={inner ticks, width=3.2cm},
style sheet=cross marks,
visualize as scatter/.list={a,b}]
data [set=a] {
x, y
0, 0
1, 1
0.5, 0.5
2, 1
}
data [set=b] {
x, y
0.05, 0
1.5, 1
0.5, 0.75
2, 0.5
};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{filecontents}
\usepackage{pgfplots,pgfplotstable}
\begin{filecontents*}{temp.dat}
month;t1;t2;t3;t4
1;2.0;4.0;3.0;5.0
2;3.0;5.0;4.0;6.0
3;4.0;6.0;5.0;4.0
4;5.0;7.0;6.0;5.0
5;6.0;8.0;7.0;9.0
6;7.0;9.0;8.0;10.0
\end{filecontents*}
\begin{document}
\pgfplotstableread[col sep=semicolon]{temp.dat}{\temp}
\pgfplotsset{
/pgfplots/bar shift auto/.style={
/pgf/bar shift={
-0.5*(\numplotsofactualtype/2*\pgfplotbarwidth + ((\numplotsofactualtype/2)-1)*(#1)) +
(.5+round((\plotnumofactualtype+1)/2)-1)*\pgfplotbarwidth + (round((\plotnumofactualtype+1)/2)-1)*(#1)
},
},
}
\begin{tikzpicture}
\begin{axis}[
title=full overlap,
ybar,bar width=5pt
]
\addplot [fill=gray] table [x=month,y=t2] {\temp};
\addplot [fill=cyan] table [x=month,y=t1] {\temp};
\addplot [fill=black] table [x=month,y=t4] {\temp};
\addplot [fill=blue] table [x=month,y=t3] {\temp};
\end{axis}
\end{tikzpicture}
\pgfplotsset{
/pgfplots/bar shift auto/.style={
/pgf/bar shift={
-0.5*(\numplotsofactualtype/2*\pgfplotbarwidth*1.5 + (\numplotsofactualtype/2)*(#1)) +
(.5+round((\plotnumofactualtype+1)/2)-1)*\pgfplotbarwidth*1.5 +
iseven(\plotnumofactualtype)*\pgfplotbarwidth*0.5 +
(round((\plotnumofactualtype+1)/2)-1)*(#1)
},
},
}
\begin{tikzpicture}
\begin{axis}[
title={half overlap, front on left},
ybar,bar width=5pt
]
\addplot [fill=gray] table [x=month,y=t2] {\temp};
\addplot [fill=cyan] table [x=month,y=t1] {\temp};
\addplot [fill=black] table [x=month,y=t4] {\temp};
\addplot [fill=blue] table [x=month,y=t3] {\temp};
\end{axis}
\end{tikzpicture}
\pgfplotsset{
/pgfplots/bar shift auto/.style={
/pgf/bar shift={
-0.5*(\numplotsofactualtype/2*\pgfplotbarwidth*1.5 + (\numplotsofactualtype/2)*(#1)) +
(.5+round((\plotnumofactualtype+1)/2)-1)*\pgfplotbarwidth*1.5 +
isodd(\plotnumofactualtype)*\pgfplotbarwidth*0.5 +
(round((\plotnumofactualtype+1)/2)-1)*(#1)
},
},
}
\begin{tikzpicture}
\begin{axis}[
title={half overlap, front on right},
ybar,bar width=5pt
]
\addplot [fill=gray] table [x=month,y=t2] {\temp};
\addplot [fill=cyan] table [x=month,y=t1] {\temp};
\addplot [fill=black] table [x=month,y=t4] {\temp};
\addplot [fill=blue] table [x=month,y=t3] {\temp};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\definecolor{color1}{rgb}{1,1,0}
\begin{document}
\definecolor{color1}{rgb}{1,1,0}
\tikz\fill[color1](0,0)rectangle(1em,.6em);
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
stack plots=y,stack dir=minus,
cycle list name=mark list*,
]
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\addplot+ [blue] coordinates {(0,1) (0.5,1) (1,1)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{circuits.logic.US}
\begin{document}
\tikz [circuit logic US]
{
\node [and gate,point down] {$A$};
\node [and gate,point down,info=center:$A$] at (1,0) {};
}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usetikzlibrary{datavisualization.formats.functions}
\usetikzlibrary{matrix,calc}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\pgfmathdeclarefunction{gauss}{2}{\pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}}
\begin{document}
\begin{tikzpicture}[scale=1.25]
\draw [->] (0,0) -- (0,2);
\draw [->] (0,0) -- (3,0);
\draw [fill=blue,color=blue, solid] (0, 1) circle [radius=0.05] node[right] {$x_0$};
\draw [fill=blue,color=blue, solid] (0.5,0.5) circle [radius=0.05];
\draw [fill=blue,color=blue, solid] (1, 1.7) circle [radius=0.05];
\draw [fill=blue,color=blue, solid] (1.5,0.8) circle [radius=0.05];
\draw [fill=blue,color=blue, solid] (2, 0.5) circle [radius=0.05];
\draw [fill=blue,color=blue, solid] (2.5, 0.1) circle [radius=0.05] node[right] {$x_n$};
\path (1, 1.7) coordinate (C) (1.5,0.8) coordinate (D) (2, 0.5) coordinate (E) (2.5, 0.1) coordinate (F) (3,1.95) coordinate (G);
\draw [color=blue, solid] (0,0) -- (0,1);
\draw [color=blue, solid] (0.5,0) -- (0.5,0.5);
\draw [color=blue, solid] (1,0) -- (1,1.7);
\draw [color=blue, solid] (1.5,0) -- (1.5,0.8);
\draw [color=blue, solid] (2,0) -- (2,0.5);
\draw [color=blue, solid] (2.5,0) -- (2.5,0.1);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[spring] ++(2,0)
to[viscoe] ++(2,0);
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[
info/.style={left=1cm, blue, text width=5em, align=right},]
\draw (0,1) node{pmos} (2,1) node{nmos};
\draw (0,0) node[info]{default} node[pmos]{} (2,0) node[nmos]{};
\ctikzset{tripoles/mos style/arrows}
\draw (0,-2) node[info]{arrows} node[pmos]{} (2,-2) node[nmos]{};
\ctikzset{tripoles/pmos style/emptycircle}
\draw (0,-4) node[info]{emptycircle} node[pmos]{} (2,-4) node[nmos]{};
\ctikzset{tripoles/pmos style/nocircle}
\draw (0,-6) node[info]{nocircle} node[pmos]{} (2,-6) node[nmos]{};
\ctikzset{tripoles/mos style/no arrows}
\draw (0,-8) node[info, red]{no circle, no arrows, DON'T do it}
node[pmos]{} (2,-8) node[nmos]{};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{
matrix,
circuits.logic.IEC
}
\begin{document}
\begin{tikzpicture}[
circuit logic IEC,
every circuit symbol/.style={
logic gate IEC symbol color=black,
fill=blue!20,
draw=blue,
very thick
}
]
\matrix[column sep=7mm]
{
\node (i0) {0}; & & \\
& \node [and gate] (a1) {}; & \\
\node (i1) {0}; & & \node [or gate] (o) {};\\
& \node [nand gate] (a2) {}; & \\
\node (i2) {1}; & & \\
};
\draw (i0.east) -- ++(right:3mm) |- (a1.input 1);
\draw (i1.east) -- ++(right:3mm) |- (a1.input 2);
\draw (i1.east) -- ++(right:3mm) |- (a2.input 1);
\draw (i2.east) -- ++(right:3mm) |- (a2.input 2);
\draw (a1.output) -- ++(right:3mm) |- (o.input 1);
\draw (a2.output) -- ++(right:3mm) |- (o.input 2);
\draw (o.output) -- ++(right:3mm);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[radius=1cm,delta angle=30]
\draw (-1,0) -- +(3.5,0);
\draw (1,0) ++(210:2cm) -- +(30:4cm);
\draw (1,0) +(0:1cm) arc [start angle=0];
\draw (1,0) +(180:1cm) arc [start angle=180];
\path (1,0) ++(15:.75cm) node{$\alpha$};
\path (1,0) ++(15:-.75cm) node{$\beta$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}

% tkz-euclide 自动加载 tikz、xcolor 和 tkz-base
\usepackage{tkz-euclide}

定义绘图中使用的颜色
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}

% 用于保持视觉一致性的全局设置（线条宽度和颜色）
\tkzSetUpArc[color=gray, line width=.2pt]
\tkzSetUpLine[line width=.2pt, color=teal]
\tikzset{每张图片/.style={线条宽度=.2pt}}

\begin{document}
  \begin{tikzpicture}
    第一部门（青色）
    \tkzDefPoint(0,0){O}
    \tkzDefPoint(-30:1){A}
    \tkzDefPointBy[rotation = center O angle -60](A)
    \tkzDrawSector[teal](O,A)(tkzPointResult)

    % 第二扇区（红色）位于偏移范围内
    \begin{scope}[shift={(-60:1)}]
      \tkzDefPoint(0,0){O}
      \tkzDefPoint(-30:1){A}
      \tkzDefPointBy[rotation = center O angle -60](A)
      \tkzDrawSector[red](O,tkzPointResult)(A)
    \end{scope}
  \end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,1) {A};
\node (B) at (1,1.5) {B};
\node (C) at (2,0) {C};
\node (D) at (2.5,-2) {D};
\draw (A) -- (B) node [midway] {x};
\draw (C) -- (D) node [midway] {x};
\node at ({$(A)!.5!(B)$} -| {$(C)!.5!(D)$}) {X};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{tikz}
\usetikzlibrary{calc,intersections}
\begin{document}
\begin{tikzpicture}[scale=5]
\fill (0,1/2) circle (0.3pt);
\draw[blue] ($(0,1/2) +(150:1/2)$) arc (150:390:1/2);
\draw[domain={-sqrt(3)/2}:{sqrt(3)/2}] plot (\x, {\x*\x});
\draw[latex-latex] ($(-12.5pt,0) +({-1/sqrt(2)},0)$) -- ($(12.5pt,0) +({1/sqrt(2)},0)$);
\draw[latex-latex] (0,-1/2) -- ($(0,3/4) +(0,12.5pt)$);
\node[below right] at ($({1/sqrt(2)}, 0) +(12.5pt,0)$){\textit{x}};
\node[above right] at ($(0,3/4) +(0,12.5pt)$){\textit{y}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{chains, scopes}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}[
every on chain/.style=join,
every join/.style=->,
node distance=2mm and 1cm
]
{ [start chain=trunk]
\node [on chain] {A};
\node [on chain] {B};
{ [start branch=numbers going below] }
{ [start branch=greek going above] }
\node [on chain] {C};
{ [continue branch=numbers]
\node [on chain] {1};
\node [on chain] {2};
}
{ [continue branch=greek]
\node [on chain] {$\alpha$};
\node [on chain] {$\beta$};
}
}
\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}
,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}[scale=0.75]
    \tkzDefPoint(0,0){O}\tkzDefPoint(2,-2){A}\tkzDefPoint(60:2){B}\tkzDrawLines[add = 0 and .5](O,A O,B)\tkzDrawArc[rotate,color=red](O,A)(180)\tkzDrawPoints(O,A,B)\tkzLabelPoints[below](O,A,B)
  \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((-HO)-=-(-(<[::60]OH)-[::-60]-[::-60,,,2]
HN-[::+60]CH_3)=-(-HO)=)}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}\tkzSetUpLine[line width=.2pt,color=teal]\tikzset{line style/.style={line width=.2pt}
}
\begin{document}
\begin{tikzpicture}[scale=1]
\tkzDefPoints{-4/0/A, -1/0/B}\tkzDefRegPolygon[side,sides=5,name=P](A,B)\tkzDrawPolygon[thick](P1,P...,P5)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\begin{scope}[rotate=17]
\foreach \i in {1,...,6}{\node[point] (N-\i) at ({\i*60}:1.5cm) {};
}\foreach \i in {1,4,5,6}{\foreach \j in {1,4,5,6}{\draw[red] (N-\i) -- (N-\j);
}}\foreach \i in {2,3}{\foreach \j in {1,4,5,6}{\draw[blue] (N-\i) -- (N-\j);
}}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
stack plots=y,stack dir=minus,
cycle list name=black white,
]
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\addplot coordinates {(0,1) (0.5,1) (1,1)};
\end{axis}
\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[transformer] (T) {}
(T.A1) node[anchor=east] {A1}
(T.A2) node[anchor=east] {A2}
(T.B1) node[anchor=west] {B1}
(T.B2) node[anchor=west] {B2}
(T.base) node{K}
(T.inner dot A1) node[circ]{}
(T.inner dot B2) node[circ]{}
;
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
enlarge y limits=0.1,
xmin=0,
bar width=5pt,
ytick={1,6,11,15.5},
yticklabels={foo,bar,baz,foobar},
tickwidth=0pt
]
\addplot[xbar,fill=blue!20] coordinates { (0.387,0)(0.199,1)(0.192,2) };
\addplot[xbar,fill=green!20] coordinates { (0.145,4)(0.142,5)(0.137,6)(0.132,7)(0.131,8) };
\addplot[xbar,fill=red!20] coordinates { (0.104,10)(0.103,11)(0.098,12) };
\addplot[xbar,fill=orange!20] coordinates { (0.143,14)(0.141,15)(0.137,16)(0.120,17) };
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{color, soul}
\begin{document}
\begin{tikzpicture}[baseline=-0.3ex,scale=0.25]
\tikzstyle{vertex}=[circle,fill=black, minimum size=2pt,inner sep=1pt]
\node[vertex] (vL1) at (-0.8, 1){};
\node[vertex] (vL2) at (-0.8,0){};
\node[vertex] (vc) at (0,0.5){};
\node[vertex] (vR1) at (0.8,1){};
\node[vertex] (vR2) at (0.8,0){};
\draw[color=gray] (vc)--(vL1)--(vL2)--(vc);
\draw[color=pink] (vc)--(vR1)--(vR2)--(vc);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}
\ctikzset{tripoles/en amp/input height=0.45}\draw(0,0)node[en amp,noinv input up](E){}(E.out)node[right]{$v_{\mathrm{out}}$}(E.-)node[left]{$v_{\mathrm{in}-}$}(E.+)node[left]{$v_{\mathrm{in}+}$};
\end{circuitikz}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usepackage{siunitx}
\begin{document}
\begin{circuitikz}
\draw (0,0) to [Telmech=M,n=motor] ++(0,-3)
to [Telmech=M] ++(3,0)
to [Telmech=G,n=generator] ++(0,3)
to [R] (0,0);
\draw[thick,->>](motor.left)--(generator.left) node[midway,above]{$\omega$};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{[:120]NH_2*6(---=O)}
\end{document}