SRGGW/Fig/dressing.tex

43 lines
1.4 KiB
TeX

% Fancy arrows drawn with the PGF 3.0 arrows.meta library
% Author: Qrrbrbirlbel
\documentclass[tikz,border=10pt]{standalone}
\usetikzlibrary{shapes.geometric,arrows.meta,decorations.markings}
\begin{document}
\begin{tikzpicture}[very thick,
StealthFill/.tip={Stealth[line width=1pt, scale=1.5]}, arrows={[round]}]
% jars
\draw[-] (-4,4) -- (-4,3);
\draw[-] (-8,4) -- (-8,3);
\draw[-,fill=blue!40] (-4,3) -- (-4,0) -- (-8,0) -- (-8,3);
\draw[-] (-2,4) -- (-2,3);
\draw[-] (2,4) -- (2,3);
\draw[-,fill=blue!40] (-2,3) -- (-2,0) -- (2,0) -- (2,3);
\draw[-] (4,4) -- (4,3);
\draw[-] (8,4) -- (8,3);
\draw[-,fill=blue!40] (4,3) -- (4,0) -- (8,0) -- (8,3);
% holes and particles
\filldraw[fill=white] (-7,1) circle (0.25);
\filldraw[fill=blue!40] (-7,4) circle (0.25);
\filldraw[fill=blue!40] (-5,4) circle (0.25);
\filldraw[fill=white] (-1,1) circle (0.25);
\filldraw[fill=blue!40] (-1,4) circle (0.25);
\filldraw[fill=blue!40] (1,4) circle (0.25);
\filldraw[fill=white] (5,1) circle (0.25);
\filldraw[fill=blue!40] (5,4) circle (0.25);
\filldraw[fill=blue!40] (7,4) circle (0.25);
% dressing
\draw[rounded corners,red] (-7.5,0.5) rectangle ++(1, 4) node[midway]{$GW$};
\draw[rounded corners,yellow] (-1.5,3.5) rectangle ++(3, 1) node[midway]{pp$GT$};
\draw[rounded corners,green,rotate around={-33:(5,1)}] (4.5,0.5) rectangle ++(1,4.6) node[midway]{ph$GT$};
\end{tikzpicture}
\end{document}