AIGrounding/Diagram-MMU huggingface dataset:
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\usetikzlibrary{pgfplots.groupplots}
\usepackage{tikz}
\usepackage{amssymb}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[scale=0.7]
\begin{axis}[title={$(a)$\textbf{Total time(TDrive) for K=1000}},xlabel={$l$-diversity},ylabel={Time log base 2 scale (sec)},enlarge y limits=true,ymajorgrids=true,legend to name=t6,legend style={at={($(0,0)+(1cm,1cm)$)},legend columns=4,fill=none,draw=black,anchor=center, align=center},]\addplot [color=blue,mark=square,style=thick,] coordinates {(2,{log2(70)})(3,{log2(130)})(4,{log2(270)})(5,{log2(1500)})(6,{log2(14000)})};
\addlegendentry{TopkMintra}\addplot [color=red,mark=triangle,style=thick,] coordinates {(2,{log2(400)})(3,{log2(500)})(4,{log2(520)})(5,{log2(4000)})(6,{log2(20000)})};
\addlegendentry{MintraBL+s}\addplot [color=cyan,mark=diamond,style=very thick,] coordinates {(2,{log2(100)})(3,{log2(160)})(4,{log2(550)})(5,{log2(5000)})(6,{log2(35000)})};
\addlegendentry{MintraBL+i}\addplot [color=black,mark=*,style=thick,] coordinates {(2,{log2(2400)})(3,{log2(3032)})(4,{log2(6065)})(5,{log2(24295)})(6,{log2(86400)})};
\addlegendentry{MintraBL}
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\tikzset{>=stealth}
\begin{document}
\begin{tikzpicture}
\path (30:1cm) node(p1) {$p_1$} (75:1cm) node(p2) {$p_2$};
\draw (-0.2,0) -- (1.2,0) node(xline)[right] {$q_1$};
\draw (2,-0.2) -- (2,1.2) node(yline)[above] {$q_2$};
\draw[->] (p1) -- (p1 |- xline);
\draw[->] (p2) -- (p2 |- xline);
\draw[->] (p1) -- (p1 -| yline);
\draw[->] (p2) -- (p2 -| yline);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3]
\clip[draw] (0.5,0.5) circle (.6cm);
\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];
\draw (3mm,0mm) arc [start angle=0, end angle=30, radius=3mm];
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{tikz, tikz-cd}
\usetikzlibrary{babel, calc, topaths, fit}
\tikzset{partial ellipse/.style args={#1:#2:#3}
{insert path={+ (#1:#3) arc (#1:#2:#3)}}}
\begin{document}
\begin{tikzpicture}[baseline=2cm]
\node [fill=black, circle, inner sep=1pt] at (-.5, 2) {};
\node [fill=black, circle, inner sep=1pt] at (.5, 2) {};
\node [fill=black, circle, inner sep=1pt] at (1.5, 2) {};
\draw[-] (.5, 2) ellipse [x radius = 45pt, y radius=10pt];
\draw[-] (-.2, 2.3) -- (-.6, 3.2);
\draw[-] (1.2, 2.3) -- (1.6, 3.2);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}
\addplot3 [
surf,
shader=faceted interp,
samples=10,
domain=0:1,
] {x^2*y};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amssymb,amsthm,amsmath}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin =20,xmax=120,ymin =0,ymax=1,width = .3\textwidth,height = .32\textwidth,xlabel = {${E}$ [Kev]},ylabel = {$i_0({E})$}]\addplot[domain=20:69] {x*exp(-(x-69)^2/2/22^2)/69};
\addplot[black] coordinates {(69,1)(69,1/2)};
\addplot[domain=70:120] {x*cos(deg((x-69)/(130-69)*pi/2))/2/69};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[->] (-2,0) -- (4,0) node[right] {$x$};
\draw[->] (0,-1) -- (0,4) node[above] {$y$};
\draw[scale=1,domain=-2:2.5,smooth,variable=\x,blue] plot ({\x},{(e^\x) / 4});
\draw[red] (1.0, 0) -- (1.0, 0.679570457) node[above] {};
\draw[red] (1.1, 0) -- (1.1, 0.751041506) node[above] {};
\draw[red] (1.0, 0.679570457) -- (4.0, 0.679570457) node[above] {};
\draw[red] (1.1, 0.751041506) -- (4.0, 0.751041506) node[above] {};
\draw[purple] (2.0, 0) -- (2.0, 1.847264025) node[above] {};
\draw[purple] (2.1, 0) -- (2.1, 2.041542478) node[above] {};
\draw[purple] (2.0, 1.847264025) -- (4.0, 1.847264025) node[above] {};
\draw[purple] (2.1, 2.041542478) -- (4.0, 2.041542478) node[above] {};
\draw[red] (1.05,-0.2) node(dx1) {$\delta x$};
\draw[purple] (2.05,-0.2) node(dx2) {$\delta x$};
\draw[red] (4.2, 0.715305982) node(dy1) {$\delta y$};
\draw[purple] (4.2, 1.94440325) node(dy2) {$\delta y$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[centertags]{amsmath}
\usepackage{array,amsmath}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[ scale=0.05]
\tikzstyle{terminal}=[circle,draw,thick,scale=0.15mm]
\tikzstyle{cercle}=[circle,draw,thick,fill=black, scale=0.15mm]
\fill[color=black](8, 0)circle(0mm);
\fill[color=black](8, 6)circle(0mm);
\node[cercle] (C) at (16,15){};
\node[terminal] (T) at (0, 15){};
\draw[-](8, 0)--(8, 6);
\draw[-](8, 6)--(0, 14);
\draw[-](8, 6)--(16, 14);
\path (0,15) node[above]{$1$};
\path (16,15) node[above]{$2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage{siunitx}
\usepackage[siunitx, RPvoltages]{circuitikz}
\usetikzlibrary{calc}
\begin{document}
\begin{circuitikz}[american, cute inductors]
\node [op amp](A1){\texttt{OA1}};
\draw (A1.-) to[short] ++(0,1) coordinate(tmp)
to[R, l_=$R$] (tmp -| A1.out) to[short] (A1.out);
\draw (tmp) to[short] ++(0,1) coordinate(tmp)
to[C=$C$] (tmp -| A1.out) to[short] (A1.out);
\draw (A1.+) to [battery2, invert, l=$v_{io}$] ++(0,-2.5) node[ground](GND){};
\draw (A1.-) to [L=$L$] ++(-2,0) coordinate(tmp)
to[sV, l=$v_s$, fill=yellow] (tmp |-GND) node[ground]{};
\draw (A1.out) to[R=$R_s$] ++(2,0) coordinate(bb)
to[I, l_=$I_B$, invert] ++(0,2) node[vcc](VCC){};
\draw (bb) to[D, l=$D$, *-] ++(0,-2) coordinate(bb1)
to[R=$R_m$] ++(0,-2) node[vee](VEE){};
\draw (bb) --++(1,0) node[npn, anchor=B](Q1){Q1};
\draw (bb1) --++(1,0) node[pnp, anchor=B](Q2){Q2};
\draw (Q1.E) -- (Q2.E) ($(Q1.E)!0.5!(Q2.E)$) to [short, *-o, name=S] ++(2.5,0)
node[right]{$v_{o_Q}$};
\draw (S.s) to[european resistor, l=$Z_L$, *-] (S.s|-GND) node[ground]{};
\draw (Q1.C) -- (Q1.C|-VCC) node[vcc]{\SI{5}{V}};
\draw (Q2.C) -- (Q2.C|-VEE) node[vee]{\SI{-5}{V}};
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\newcommand{\qarrow}[2]{\draw[->,shorten >=2pt,shorten <=2pt] (#1) -- (#2) [thick];}
\newcommand{\qdarrow}[2]{\draw[->,dashed,shorten >=2pt,shorten <=2pt] (#1) -- (#2) [thick];}
\begin{document}
\begin{tikzpicture}
\begin{scope}[>=latex,xshift=0pt]
{\color{red}
\fill (1,0.5) circle(2pt) coordinate(A) node[below]{$1$};
\fill (2,1.5) circle(2pt) coordinate(B) node[above]{$2$};
\fill (3,0.5) circle(2pt) coordinate(C) node[below]{$3$};
}
\coordinate (P1) at (4.5,1);
\coordinate (P2) at (5.5,1);
{\color{red}
\draw[<-] (4.5,1) -- (5.5,1);
\draw (5,1) circle(0pt) node[below]{$\hat{R}_\mathrm{FG}$};
}
{\color{blue}
\draw (0,0.5) circle(2pt) coordinate(B1) node[below]{$3$};
\draw (2,0.5) circle(2pt) coordinate(C1) node[below]{$4$};
\draw (4,0.5) circle(2pt) coordinate(F1) node[below]{$5$};
\draw (1,1.5) circle(2pt) coordinate(D1) node[above]{$1$};
\draw (3,1.5) circle(2pt) coordinate(E1) node[above]{$2$};
\qarrow{B1}{C1}
\qarrow{C1}{D1}
\qarrow{D1}{E1}
\qarrow{E1}{C1}
\qarrow{C1}{F1}
\qdarrow{D1}{B1}
\qdarrow{F1}{E1}
}
\end{scope}
\begin{scope}[>=latex,xshift=175pt]
{\color{red}
\fill (3,1.5) circle(2pt) coordinate(A) node[above]{$1$};
\fill (2,0.5) circle(2pt) coordinate(B) node[below]{$2$};
\fill (1,1.5) circle(2pt) coordinate(C) node[above]{$3$};
}
{\color{blue}
\draw (0,1.5) circle(2pt) coordinate(B1) node[above]{$1$};
\draw (2,1.5) circle(2pt) coordinate(C1) node[above]{$4$};
\draw (4,1.5) circle(2pt) coordinate(D1) node[above]{$2$};
\draw (1,0.5) circle(2pt) coordinate(E1) node[below]{$3$};
\draw (3,0.5) circle(2pt) coordinate(F1) node[below]{$5$};
\qarrow{B1}{C1}
\qarrow{C1}{D1}
\qarrow{E1}{F1}
\qarrow{F1}{C1}
\qarrow{C1}{E1}
\qdarrow{E1}{B1}
\qdarrow{D1}{F1}
}
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{arrows.meta,shapes}
\usetikzlibrary{pgfplots.groupplots}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}[scale=1]
\node (v) at (1.75,1.75) {\tiny $\;
$};
\draw[step=1cm,color=gray,shift={(.5,0.25)}] ([shift={(-1.26,-1.51)}]v) grid (2,2);
\node[circle,draw=red,text=red,thick,fill=red!10,inner sep=0pt,minimum size=20pt] at ([shift={(-.75,0)}]v) {$x$};
\node[circle,draw=blue,text=blue,thick,fill=blue!10,inner sep=0pt,minimum size=20pt] at ([shift={(-.75,-1)}]v) {$y$};
\path[->,>=stealth,dashed,very thick,color=blue,bend left] (1.2,1) edge node {} (2,1.75);
\path[->,>=stealth,dashed,very thick,color=red,bend right] (1.2,1.5) edge node {} (2,.75);
\node at ([shift={(-.25,-1.8)}]v) {(a)};
\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,
visualize as smooth line,
x axis={ticks={major={
options at = 3 as [no tick text],
also at = (pi) as
[{tick text padding=1ex}] $\pi$}}}]
data [format=function] {
var x : interval[0:2*pi];
func y = sin(\value x r);
};
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tkz-euclide}
\providecolor{teal}{rgb}{0.0, 0.5, 0.5}
\tikzset{every picture/.style={line width=.2pt}}
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(0,0){A} \tkzDefPoint(1,0){B}
\tkzDefPoint(2,0){C} \tkzDefPoint(-3,0){a}
\tkzDefPoint(3,0){b} \tkzDefPoint(0,3){c}
\tkzDefPoint(0,-3){d}
\begin{scope}
\tkzClipPolygon(a,b,c,d)
\tkzFillCircle[teal!20](A,C)
\end{scope}
\tkzFillCircle[white](A,B)
\tkzDrawCircle[color=red](A,C)
\tkzDrawCircle[color=red](A,B)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\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{label style/.append style={below,color=teal,font=\scriptsize}}
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(0,0){A}
\tkzDefPoint(8,0){B}
\tkzDefPoint(5,6){C}
\tkzDefMidPoint(A,B)\tkzGetPoint{O}
\tkzDefPointBy[projection=onto A--B](C) \tkzGetPoint{P}
\tkzInterLC[common=A](C,A)(O,A)\tkzGetFirstPoint{M}
\tkzInterLC(C,B)(O,A)\tkzGetSecondPoint{N}
\tkzInterLL(B,M)(A,N)\tkzGetPoint{I}
\tkzDefCircle[diameter](A,B)\tkzGetPoint{x}
\tkzDefCircle[diameter](I,C)\tkzGetPoint{y}
\tkzDrawCircles(x,A y,C)
\tkzDrawSegments(C,A C,B A,B B,M A,N)
\tkzMarkRightAngles[fill=brown!20](A,M,B A,N,B A,P,C)
\tkzDrawSegment[style=dashed,color=orange](C,P)
\tkzLabelPoints(O,A,B,P)
\tkzLabelPoint[left](M){$M$}
\tkzLabelPoint[right](N){$N$}
\tkzLabelPoint[above](C){$C$}
\tkzLabelPoint[above right](I){$I$}
\tkzDrawPoints[color=red](M,N,P,I)
\tkzDrawPoints[color=brown](O,A,B,C)
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,calligraphy}
\usepackage{amsmath}
\usetikzlibrary{calc}
\tikzset{cross/.pic = {\draw[rotate = 45] (-#1,0) -- (#1,0);
\draw[rotate = 45] (0,-#1) -- (0, #1);
}
}
\begin{document}
\begin{tikzpicture}[]
\coordinate (s) at (-8,8);
\coordinate (t) at (6,8);
\coordinate (xi-1) at (-1.2,8);
\coordinate (a) at (0,10);
\coordinate (xi) at (3.2,8);
\filldraw [black] (s) circle (3pt);
\filldraw [black] (t) circle (3pt);
\draw [ line width=0.7mm,black,opacity=0.5](s) -- (t);
\draw [ line width=0.7mm,red,opacity=1](-1.5,8) -- (-.5,8);
\draw (-8,7.9) node[below][scale=1] {$s$};
\filldraw [black] (-1.93,9) circle (3pt);
\draw (6,7.9) node[below][scale=1] {$t$};
\draw (-3.5,8.1) node[above][scale=1] {};
\draw (-2.5,8.1) node[above][scale=1] {};
\draw (-1.5,8.47) node[below][scale=1] {};
\draw (-.5,8.55) node[below][scale=1] {};
\draw (-0.5,8.9) node[left][scale=1] {};
\draw (0,9.5) node[left][scale=1] {};
\draw[ line width=0.7mm,violet,opacity=1] (-3,8) .. controls (-1,11) and (4,8.5) .. (t);
\filldraw [red] (-1.5,8) circle (3pt);
\filldraw [red] (-.5,8) circle (3pt);
\draw (-1,9.9) node[below][scale=1] {$R$};
\draw (1,8) node[below][scale=1] {$P_i$};
\draw (-3,8) node[below][scale=1] {$p$};
\draw (-4.3,7.9) node[below][scale=1] {$x$};
\filldraw [teal] (-7,8) circle (3pt);
\filldraw [teal] (-5.5,8) circle (3pt);
\filldraw [teal] (-4.3,8) circle (3pt);
\filldraw [black] (-1.93,9) circle (3pt);
\draw (-1.93,9.15) node[left][scale=1] {$u$};
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig[cram width=2pt]{HO-[2,0.5,2]?<[7,0.7](-[2,0.5]OH)-[,,,,
line width=2pt](-[6,0.5]OH)>[1,0.7](-[6,0.5]OH)-[3,0.7]
O-[4]?(-[2,0.3]-[3,0.5]OH)}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{tikz}
\usetikzlibrary{intersections}
\begin{document}
\begin{tikzpicture}
\clip (-2,-2) rectangle (2,2);
\draw [name path=curve 1] (-2,-1) .. controls (8,-1) and (-8,1) .. (2,1);
\draw [name path=curve 2] (-1,-2) .. controls (-1,8) and (1,-8) .. (1,2);
\fill [name intersections={
of=curve 1 and curve 2,
by={[label=center:a],[label=center:...],[label=center:i]}}];
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{circuits.logic.IEC}
\begin{document}
\begin{tikzpicture}[circuit logic IEC]
\node[and gate,inputs={inini}] (A) {};
\foreach \a in {1,...,5}
\draw (A.input \a -| -1,0) -- (A.input \a);
\draw (A.output) -- ++(right:5mm);
\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((-H_2N)=N-*5(-\chembelow{N}{H}-=N-)=-(=O)-HN-[,,2])}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw
(0,0) node[fd inst amp,
noinv input up,
noinv output down] (opamp) {}
(opamp.+) node[left] {$v_+$}
(opamp.-) node[left] {$v_-$}
(opamp.out +) node[right] {out +}
(opamp.out -) node[right] {out -}
(opamp.up) node[vcc]{}
(opamp.down) node[vee] {}
(opamp.refv down) node[ground]{}
(opamp.refv up) to[short, -o] ++(0,0.3);
\end{circuitikz}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{shapes,positioning,calc,intersections, angles, quotes, snakes}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt}
,cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\coordinate (start) at (-1, 0.2);
\coordinate (end) at (9, -0.15);
\coordinate (n1) at (1.5, 0);
\coordinate (n2) at (6.5, 0);
\coordinate (query) at (4, 0);
\draw [line width=0.5mm, red!30,thick,domain=-25:25] plot ({-3*cos(\x)+7}, {3*sin(\x)});
\draw [line width=0.5mm, gray!60] (start) -- (n1);
\draw [line width=0.5mm, gray!60] (n1) -- (n2);
\draw [line width=0.5mm, gray!60, ->] (n2) -- (end);
\draw (n1) node[cross=3pt, label=above:{\scriptsize $E_{n-1}, x_{n-1}$}, label=below:{\scriptsize \texttt{vec}[n-1]}] {};
\draw (n2) node[cross=3pt, label=above:{\scriptsize $E_{n}, x_{n}$}, label=below:{\scriptsize \texttt{vec}[n]}] {};
\fill (query) circle (0.05) node[above=0.07] {\scriptsize \shortstack{$E_\text{q} \in [E_{n-1},E_{n}]$\\$x_\text{q} \in [x_{n-1}, x_{n}]$}} node[below=0.15] {\scriptsize \texttt{query}};
\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, all axes={length=3cm},
x axis={ticks={tick unit=s}},
y axis={ticks={tick unit=m/s^2}},
visualize as line]
data [format=function] {
var x : interval [5:10];
func y = \value x * \value x;
};
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}
\draw (2,0) node[elmech](motor){};
\draw (motor.north) |-(0,2) to [R] ++(0,-2) to[dcvsource]++(0,-2) -| (motor.bottom);
\draw[thick, ->>](motor.center) -- ++(1.5,0) 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{A^+-[2]B}
\qquad
\chemfig{A\rlap{${}^+$}-[2]B}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[american]
\begin{scope}
\ctikzset{transformer L1/.style={inductors/coils=1, inductors/width=0.2}}
\draw (0,0) node[transformer core](T1){};
\end{scope}
\draw (3,0) node[transformer](T2){};
\ctikzset{cute inductors, quadpoles style=inline}
\ctikzset{transformer L1/.style={inductors/coils=2, inductors/width=0.2}}
\draw (6,0) node[transformer core](T3){};
\ctikzset{transformer L1/.style={american inductors, inductors/coils=1, inductors/width=0.2}}
\ctikzset{transformer L2/.style={inductors/coils=7, inductors/width=1.0}}
\draw (9,0) node[transformer ](T4){};
\foreach \t in {T1, T2, T3, T4} {
\foreach \l in {L1, L2} {
\foreach \a/\c in {a/blue, b/red}
\node [circle, fill=\c, inner sep=1pt] at (\t-\l.\a) {};
}
}
\end{circuitikz}
\end{document}
\documentclass[tikz,border=20pt]{standalone} % 此处将 border 改为 20pt 以防止右侧标签被裁剪
\usepackage{amsmath,amsfonts,bm}
\usepackage{amssymb, amsthm}
\usepackage{tikz, pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\definecolor{color0}{rgb}{0.83921568627451,0.152941176470588,0.156862745098039}
\begin{axis}[
width=.7\linewidth,
height=.45\linewidth,
colorbar,
colorbar style={ytick={0,0.2,0.4,0.6,0.8,1},yticklabels={0.0,0.2,0.4,0.6,0.8,1.0},ylabel={$\zeta^+$}},
colormap={mymap}{[1pt]
rgb(0pt)=(1,0.96078431372549,0.941176470588235);
rgb(1pt)=(0.996078431372549,0.87843137254902,0.823529411764706);
rgb(2pt)=(0.988235294117647,0.733333333333333,0.631372549019608);
rgb(3pt)=(0.988235294117647,0.572549019607843,0.447058823529412);
rgb(4pt)=(0.984313725490196,0.415686274509804,0.290196078431373);
rgb(5pt)=(0.937254901960784,0.231372549019608,0.172549019607843);
rgb(6pt)=(0.796078431372549,0.0941176470588235,0.113725490196078);
rgb(7pt)=(0.647058823529412,0.0588235294117647,0.0823529411764706);
rgb(8pt)=(0.403921568627451,0,0.0509803921568627)
},
point meta max=1,
point meta min=0,
tick align=outside,
tick pos=left,
legend cell align=left,
x grid style={white!69.0196078431373!black},
xlabel={$\beta_M$},
xmajorgrids,
xmin=0, xmax=5,
xtick style={color=black},
y grid style={white!69.0196078431373!black},
ylabel={$\rho_T$},
ymajorgrids,
ymin=0, ymax=5,
ytick style={color=black},
set layers
]
\addplot [on layer=axis background, forget plot] graphics [includegraphics cmd=\pgfimage,xmin=0.025, xmax=5, ymin=0.025, ymax=5] {align2-000.png};
\addplot [line width=1pt, color0]
table {
0.67 13.6028735969295
0.675 6.11061276140783
0.68 4.56197734705206
0.685 3.80078559430342
0.69 3.32753890364473
0.695 2.99701388868147
0.7 2.74937441601204
0.72 2.15294483919157
0.74 1.82864785836424
0.76 1.616320189609
0.78 1.46264751279179
0.8 1.34416008717083
0.82 1.24872191714135
0.84 1.16935443718607
0.86 1.10172858646297
0.88 1.04300105666682
0.9 0.991218986989693
0.92 0.944991838966679
0.94 0.903299517815967
0.96 0.865374640161179
0.98 0.830627356740896
1 0.798595706249925
1.1 0.668449770658585
1.2 0.571750074965351
1.3 0.496155954245664
1.4 0.435209080495034
1.5 0.385040876249308
1.6 0.343113905636146
1.7 0.307657279625334
1.8 0.277380302544523
1.9 0.251312425434419
2 0.228706638830285
2.2 0.191659611536973
2.4 0.162829184682097
2.6 0.139971439665398
2.8 0.121557148957631
3 0.10651455945239
3.2 0.0940747218731662
3.4 0.083674678579147
3.6 0.0748949031747413
3.8 0.0674177850608732
4 0.0609994423189603
4.2 0.0554501952967557
4.4 0.0506207949875288
4.6 0.0463925517607282
4.8 0.0426701550067918
5 0.0393763794649702
};
\addlegendentry{$\zeta = 0$ (phase transition)}
\addplot [line width=1pt, color0, dashed]
table {
0.668740304976422 0
0.668740304976422 5
};
\addlegendentry{$\beta_M = (\frac{c_1 c_2}{1 - c_3})^{1 / 4}$}
\node[rotate=90, font=\Large] at (axis cs: 0.334370152488211, 2.5) {Impossible recovery};
\node[font=\Large, text=white] at (axis cs: 2.834370152488211, 2.5) {Possible recovery};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[]
\draw (0,2.5) node[plain amp]{\texttt{741}};
\draw (3,2.5)
node[plain amp, component text=left]
{\texttt{741}};
\ctikzset{component text=left}
\draw (0,0) node[op amp]{\texttt{741}};
\ctikzset{left text distance=0.6em}
\draw (3,0) node[op amp]{\texttt{741}};
\end{circuitikz}
\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=linestyles,
]
\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[tikz,border=5pt]{standalone}
\usepackage{chemfig}
\setchemfig{
atom sep=2em,
bond offset=1pt,
cram width=2pt,
}
\begin{document}
\chemfig{C\color{blue}H_3-C(=[1]O)-[7]O\color{red}H}
\end{document}
\documentclass[tikz, margin=3mm]{standalone}
\usetikzlibrary{arrows.meta, positioning}
\begin{document}
\begin{tikzpicture}[
node distance = 8mm and 1mm,
job/.style args = {#1/#2}{
rectangle, rounded corners, draw=black, very thick,
minimum height=3em, text width=14em, align=center,
label={[font=\sffamily,anchor=north]above:\textit{#1}},
label={[font=\sffamily,anchor=south]below:\textbf{#2}},
node contents ={}
},
arr/.style = {semithick, -Stealth}
]
\node (n1) [job=Input/Read Input];
\node (n21) [job=Map/Job 1, below left=of n1.south];
\node (n22) [job=Map/Job 2, below right=of n1.south];
\node (n3) [job=Reduce/Join Results, below right=of n21.south];
\node (n4) [job=Output/Print results, below=of n3];
\coordinate[below=4mm of n1.south] (aux1);
\coordinate[above=4mm of n3.north] (aux2);
\draw[arr] (n1) -- (aux1) -| (n21);
\draw[arr] (aux1) -| (n22);
\draw[arr] (n21) |- (aux2)
(n22) |- (aux2) -- (n3);
\draw[arr] (n3) -- (n4);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=5pt]{standalone}
\usepackage{amsmath, amsthm, amssymb, shuffle, tikz}
\usetikzlibrary{arrows}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}[scale=0.2,baseline=0pt]
\draw[blue, thick] (0,-1) -- (0,0);
\draw[blue, thick] (0,0) -- (-3,3);
\draw[blue, thick] (0,0) -- (4,4);
\draw[blue, thick] (2,2) -- (1,3);
\draw[red, thick] (-3,3) -- (-4,4);
\draw[red, thick] (-3,3) -- (-2,4);
\draw[red, thick] (1,3) -- (0,4);
\draw[red, thick] (1,3) -- (2,4);
\filldraw[black] (0,0) circle (5pt) {};
\filldraw[black] (2,2) circle (5pt) {};
\filldraw[black] (1,3) circle (5pt) {};
\filldraw[black] (-3,3) circle (5pt) {};
\end{tikzpicture}
\end{document}