JackieLin0123/SciTikZ-Bench huggingface dataset:
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.17}

\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        width=10cm,
        scale only axis,
        axis x line=center,
        axis y line=center,
        xmin=-6.3,
        xmax=6.3,
        ymin=-0.5,
        ymax=3.5,
        xlabel={$x$},
        xtick={-1,1},
        ytick=\empty,
        xticklabels={$-1$,$1$},
        axis equal image=true,
        ticks=none,
    ]
      \draw [thick] (-1,0.5) -- (1,0.5);
      \draw [thick] (-6.3,0) -- (-1,0);
      \draw [thick] (1,0) -- (6.3,0);
      \draw [dotted] (-1,0) -- (-1,0.5);
      \draw [dotted] (1,0) -- (1,0.5);
      \node at (0,0.5) [above left] {$\displaystyle \frac{1}{2}$};
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=.15]
\begin{scope}[shift={(-4,0)}]
\draw[line width=.5pt, color=gray] (2,2) node[anchor=south]{$d$}--(-2,-2)--(2,-6);
\draw[color=white, fill=white] (0,0) circle (.5);
\draw[color=white, fill=white] (0,-4) circle (.5);
\draw[line width=.5pt, color=black] (-2,2) node[anchor=south]{$c$}--(2,-2)--(-2,-6);
\end{scope}
\node at (0,-2){$=$};
\begin{scope}[shift={(4,0)}]
\draw[line width=.5pt, color=gray] (2,2) node[anchor=south]{$d$}--(2,-6);
\draw[line width=.5pt, color=black] (-2,2) node[anchor=south]{$c$}--(-2,-6);
\end{scope}
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}[scale=.3]
\draw[line width=1.5pt, color=red] (-3,0) node[anchor=east]{$b$} -- (0,0);
\draw[line width=1.5pt, color=blue] (3,0) node[anchor=west]{$a$} -- (0,0);
\draw[line width=1pt, dashed] (0,0) -- (-2,4) node[anchor=south]{$F_3$};
\draw[line width=1pt, dashed] (0,0) -- (0,4) node[anchor=south]{$F_2$};
\draw[line width=1pt, dashed] (0,0) -- (2,4) node[anchor=south]{$F_1$};
\node at (3,2)[color=blue, anchor=west]{$\mathcal A$};
\node at (-3,2)[color=red, anchor=east]{$\mathcal B$};
\draw[color=red, fill=red] (0,0) circle(.2) node[anchor=north]{$\alpha$};
\node at (0,-3){$\alpha: F_3F_2F_1(a)\to b$};
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{compat=1.0.0}

\begin{document}
\begin{tikzpicture}
\begin{feynman}
\vertex (a);
\vertex [above right= of a] (b);
\vertex [below right= of a] (c);
\vertex [left = of a] (i1) {\( c d\)};
\vertex [right= of b] (f1) {\( a\)};
\vertex [right= of c] (f2) {\(b\)};

\diagram* {
	(i1) -- [gluon, momentum=\(k\)] (a) -- [ fermion, edge label= \(l \)]  (b) -- [boson, momentum=\(p\)] (f1),
	(a) -- [ anti fermion, edge label'=\(l -p -q\)] (c) --[ anti fermion, edge label'=\(l - p\)] (b),
	(c) -- [boson, momentum'=\(q\)] (f2),
};
\end{feynman}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{patterns}

\def\week#1#2{
    \begin{tabular}{c}#1\\#2\end{tabular}
}

\pgfplotsset{actual chart bar/.style={draw=none,fill=orange!90}}
\pgfplotsset{planned chart bar/.style={draw=none, fill=gray}}

\pgfplotsset{monthly chart/.style={
        width=6.9cm,height=5cm,
        bar width=0.3cm,
        ymin=0,
        ylabel=Total,
        ybar=0,
        symbolic x coords={W1, W2, W3, W4}, 
        xtick=data,
        xticklabels={
            \week{#1}{week-1},
            \week{#1}{week-2},
            \week{#1}{week-3},
            \week{#1}{week-4}
        },
        x tick label style={font=\footnotesize},
        enlarge x limits=true,
        legend style={at={(.43,.98)}, font=\footnotesize },
        cycle list={
            planned chart bar,
            actual chart bar
        },
        legend entries={Planned, Actual},
        title style={font=\small\bfseries}
    }
}

\begin{document}
\begin{tikzpicture}
    \begin{axis}[monthly chart=Oct-11, title={AHU (October)}]
        \addplot coordinates {(W1,10) (W2,20) (W3,30) (W4,40)};
        \addplot coordinates {(W1,9) (W2,18) (W3,31) (W4,39)};
    \end{axis}
\end{tikzpicture}
\begin{tikzpicture}
    \begin{axis}[monthly chart=Nov-11, title={AHU (November)}]
        \addplot[planned chart bar] coordinates {(W1,14) (W2,20) (W3,50) (W4,60)};
        \addplot[draw=none, fill=green] coordinates {(W1,11) (W2,22) (W3,33) (W4,43)};
        \addplot[actual chart bar] coordinates {(W1,15) (W2,21) (W3,60) (W4,60)};
        \legend{Planned,Ideal,Actual}
    \end{axis}
\end{tikzpicture}
\begin{tikzpicture}
    \begin{axis}[monthly chart=Dec-11, title={AHU (December)}, legend style={at={(.95,.98)}}]
        \addplot coordinates {(W1,65) (W2,40) (W3,40) (W4,36)};
        \addplot coordinates {(W1,75) (W2,58) (W3,50) (W4,30)};
    \end{axis}
\end{tikzpicture}
\begin{tikzpicture}
    \begin{axis}[monthly chart=Jan-11, title={AHU (January)}, ylabel=Sold Apples]
        \addplot coordinates {(W1,30) (W2,40) (W3,50) (W4,60)};
        \addplot coordinates {(W1,30) (W2,40) (W3,50) (W4,113)};
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shadows,arrows,positioning}

\begin{document}
\begin{tikzpicture}[scale=0.75, transform shape]
  \tikzset{
    every node/.style={minimum height=2em},
    proc/.style={draw=black, fill=blue!15, drop shadow},
  }

  \newcounter{pos}
  \setcounter{pos}{0}

  \foreach \process/\width in {2/3,3/3,1/24} {
    \node [draw, proc, minimum width=\width em, anchor=west] (p\process) at (\thepos em,0) {P\process};
    \addtocounter{pos}{\width}
    \node [below=of p\process.east] {\thepos} edge [draw] (p\process.east);
  }
  \node [below=of p2.west] {0} edge [draw] (p2.west);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\newcommand{\kivaxisnumbers}{3}
\newcommand{\kivcategorycounts}{{2,3,4}}
\newcommand{\kivkumulativecategorycounts}{{0,2,5}}
\newcommand{\kivcategorynames}{{1,2,10,20,30,100,200,300,400}}
\newcommand{\kivlcmcatcount}{12}

\newcommand{\kivlattice}{%
\pgfmathsetmacro{\kivaxisangle}{360/\kivaxisnumbers}
    \foreach \x in {1,...,\kivaxisnumbers}
    {   \foreach \y in {1,...,\kivlcmcatcount}
        {   \pgfmathsetmacro{\kivaxisstep}{6/\kivlcmcatcount}
            \draw[help lines] (\kivaxisangle*\x:\y*\kivaxisstep) -- (\kivaxisangle*\x+\kivaxisangle:\y*\kivaxisstep);
        }
    }
    \foreach \x in {1,...,\kivaxisnumbers}
    {   \draw[->] (0,0) -- (\kivaxisangle*\x:6cm);
        \pgfmathsetmacro{\kivaxissteps}{\kivcategorycounts[\x-1]}
        \pgfmathsetmacro{\kivaxisstep}{6/\kivaxissteps}
        \foreach \y in {1,...,\kivaxissteps}
        {   \pgfmathsetmacro{\kivhelper}{\kivkumulativecategorycounts[\x-1]}
            \pgfmathtruncatemacro{\kivlabelname}{\kivcategorynames[\kivhelper+\y-1]}
            \node[circle,fill=black,label=\x*\kivaxisangle+90:\kivlabelname,inner sep=1pt] at (\kivaxisangle*\x:\kivaxisstep*\y) {};
        }
    }
}

\begin{document}
\begin{tikzpicture}
\kivlattice
\end{tikzpicture}
\end{document}
\documentclass[border=2mm,tikz]{standalone}
\usetikzlibrary{decorations.markings,arrows}

\begin{document}
\begin{tikzpicture}[decoration={markings,
    mark=at position .270 with {\arrow[red,line width=3pt]{>}},
    mark=at position .470 with {\arrow[red,line width=3pt]{>}},
    mark=at position .680 with {\arrow[red,line width=3pt]{>}},
    mark=at position .980 with {\arrow[red,line width=3pt]{>}},
}]
  \draw[black, thick, postaction={decorate}]
    plot[smooth] coordinates {(4,1) (2,2) (1,3) (2,4) (4,3)};
  \foreach \p in {(4,1), (2,2), (1,3), (2,4), (4,3)} {
    \node[fill=green!60, inner sep=3pt, circle, draw] at \p {};
  }
\end{tikzpicture}
\end{document}
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc,patterns,decorations.pathmorphing,decorations.markings}

\begin{document}
\begin{tikzpicture}

\tikzstyle{spring}=[thick,decorate,decoration={zigzag,pre length=0.3cm,post length=0.3cm,segment length=6}]
\tikzstyle{damper}=[thick,decoration={markings,  
  mark connection node=dmp,
  mark=at position 0.5 with 
  {
    \node (dmp) [thick,inner sep=0pt,transform shape,rotate=-90,minimum width=15pt,minimum height=3pt,draw=none] {};
    \draw [thick] ($(dmp.north east)+(2pt,0)$) -- (dmp.south east) -- (dmp.south west) -- ($(dmp.north west)+(2pt,0)$);
    \draw [thick] ($(dmp.north)+(0,-5pt)$) -- ($(dmp.north)+(0,5pt)$);
  }
}, decorate]
\tikzstyle{ground}=[fill,pattern=north east lines,draw=none,minimum width=0.75cm,minimum height=0.3cm]

\node[draw,outer sep=0pt,thick] (M1) [minimum width=1.5cm, minimum height=1.5cm] {$m_1$};
\node[draw,outer sep=0pt,thick] (M2) at (3,0) [minimum width=1.5cm, minimum height=1.5cm] {$m_2$};
\draw[spring] ($(M1.east) - (0,0.5)$) -- ($(M2.west) - (0,0.5)$) node [midway,above] {$k$};
\draw[damper] ($(M1.east) + (0,0.5)$) -- ($(M2.west) + (0,0.5)$);
\draw[thick, dashed] (M1.north west) -- ++(0,1);
\draw[thick, dashed] (M2.north west) -- ++(0,1);
\draw[ultra thick, -latex] ($(M2.north west) + (0,0.75)$) -- ++(1,0) node [midway, below] {$F_x$};
\draw[ultra thick, -latex] ($(M1.north west) + (0,0.75)$) -- ++(1,0);
\draw[ultra thick, -latex] ($(M1.west) + (-1,0)$) -- (M1.west);

\end{tikzpicture}
\end{document}
\documentclass[margin=1mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,backgrounds,fit,positioning}

\begin{document}
\begin{tikzpicture}[x=1.4cm]
  \foreach \x in {0,...,7}{
    \coordinate (pt \x) at (\x,0);
  }

  \foreach \x/\xtext in {0/0,1/1,2/2,4/N,5/N+1,6/N+2,7/N+3}{
    \path (pt \x) node[above=3mm] (tick) {$\xtext$};
    \draw (pt \x) -- (tick);
  }

  \foreach \x in {0,1,4,5,6}{
    \pgfmathtruncatemacro{\xnext}{\x+1};
    \draw (pt \x) -- (pt \xnext);
  }

  \draw (pt 2) -- +(.2,0);
  \draw[loosely dotted] (pt 2) ++(.5,0) -- ++(1,0);
  \draw (pt 2) ++(1.8,0) -- (pt 4);

  \draw (pt 7) -- ++(.2,0);
  \draw[loosely dotted] (pt 7) ++(.2,0) -- ++(.3,0);
  \draw[-stealth] (pt 7) ++(.5,0) -- ++(.2,0);

  \foreach \x/\form/\subform in {%
    4/$Div_{N}$/$+P_N$,%
    5/$Div_{N+1}$/,%
    6/$Div_{N+1}$/$\times(1+g)$,%
    7/$Div_{N+1}$/$\times(1+g)^2$}{%
    \path (pt \x)
    node[below=3mm,anchor=north,inner sep=0] (form \x) {\form};
    \node[below=1pt of form \x.south west,anchor=north west,inner sep=0]
    (subform \x){\subform};
    \draw (pt \x) -- (form \x);
  }

  \begin{scope}[on background layer]
    \node[rounded corners,fit=(form 5.north west)(subform 7),inner sep=2pt,
    fill=red!15] (rr) {};
    \node[rounded corners,fit=(subform 4),inner sep=2pt,
    fill=red!15] (r4) {};
    \draw[-stealth,red!15,very thick] (rr) to[bend left=30] (r4);
  \end{scope}
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{mindmap, backgrounds}

\tikzset{
  level 1 concept/.append style={font=\sf, sibling angle=90, level distance=27mm},
  level 2 concept/.append style={font=\sf, sibling angle=45, level distance=17mm},
  every node/.append style={scale=0.6}
}

\begin{document}
\begin{tikzpicture}
  % CANOPY STRUCTURE
  \path[mindmap, concept color=green!50!black, text=white]
    node[concept] (struct) at (0,0) {Canopy Structure}
      child[grow=-45, concept color=orange] {
        node[concept] (light) {Light Interception}
          [clockwise from=20]
          child { node[concept] (alb) {Shortwave albedo} }
          child { node[concept] (lw) {Longwave Emissivity} }
          child { node[concept] (shade) {Shading} }
      }
      child[grow=45, concept color=green!50!yellow!70!black] {
        node[concept] (func) {Ecosystem Function}
          [counterclockwise from=-20]
          child { node[concept] (massflu) {Mass Fluxes} }
          child { node[concept] (biom) {Biomass} }
          child { node[concept] (prod) {Production} }
          child { node[concept] (comp) {Competition} }
      }
      child[grow=0, concept color=blue!60!white] {
        node[concept] (rough) at (0.5,0) {Turbolence}
          child[grow=20] { node[concept] (lh) {Latent Heat} }
          child[grow=-20] { node[concept] (sh) {Sensible Heat} }
      };

  % ATMOSPHERE
  \path[mindmap, concept color=blue!80!white!60!green, text=white]
    node[concept] (atmos) at (8,2) {Atmospheric Exchanges};

  % ENERGY
  \path[mindmap, concept color=red!50!black, text=white]
    node[concept] (energy) at (8,-2) {Surface Energy};

  % SECONDARY CONNECTIONS
  \begin{pgfonlayer}{background}
    \path (func) to[circle connection bar switch color=from (green!50!yellow!70!black) to (orange)] (light);
    \path (energy) to[circle connection bar switch color=from (red!50!black) to (orange)] (alb);
    \path (energy) to[circle connection bar switch color=from (red!50!black) to (orange)] (lw);
    \path (energy) to[circle connection bar switch color=from (red!50!black) to (blue!60!white)] (sh);
    \path (energy) to[circle connection bar switch color=from (red!50!black) to (blue!60!white)] (lh);
    \path (atmos) to[circle connection bar switch color=from (blue!80!white!60!green) to (blue!60!white)] (lh);
    \path (atmos) to[circle connection bar switch color=from (blue!80!white!60!green) to (blue!60!white)] (sh);
    \path (atmos) to[circle connection bar switch color=from (blue!80!white!60!green) to (red!50!black)] (energy);
    \path (atmos) to[circle connection bar switch color=from (blue!80!white!60!green) to (green!50!yellow!70!black)] (massflu);
    \path (lh) to[circle connection bar switch color=from (blue!60!white) to (green!50!yellow!70!black)] (massflu);
  \end{pgfonlayer}
\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}

\begin{document}
\begin{tikzpicture}
    \draw [open triangle 45-] (0,0) -- (2,0);
\end{tikzpicture}
\end{document}
\documentclass[tikz, border=2pt]{standalone}
\usetikzlibrary{mindmap,trees,positioning}
\makeatletter
\tikzset{
    non-concept/.style={
        rectangle,
        execute at begin node=\footnotesize,
        text width=12em,
    },
    cncc east/.style={% concept-non-concept-connection
                      % where the non-concept is east of the concept
        out=0,
        in=180,
        to path={
            \pgfextra{
                \edef\tikztostart{\tikztostart.east}
                \edef\tikztotargetB{\tikztotarget.south east}
                \edef\tikztotarget{\tikztotarget.south west}
            }
            \tikz@to@curve@path% needs \makeatletter and \makeatother
            -- (\tikztotargetB)
        }
    }
}
\makeatother
\begin{document}
\begin{tikzpicture}
  \path[mindmap, concept color=black, text=white]
    node[concept] {Main Topic}[clockwise from=0]
    child[concept color=green!50!black] { node[concept] (def) {definition} }
    child[concept color=blue]           { node[concept]       {Subtopic 1} }
    child[concept color=red]            { node[concept]       {Subtopic 2} }
    child[concept color=orange]         { node[concept]       {Subtopic 3} }
    child[concept color=purple]         { node[concept]       {Subtopic 4} }
    child[concept color=brown]          { node[concept]       {Subtopic 5} };

  \tikzset{
    every node/.style=non-concept,
    node distance=1ex,
  }
  \node[right=1cm of def, anchor=south west] (know)
    {What does each person know and not know about my topic?};
  \node[below=of know]                       (react)
    {How will each person react?
                      What concerns will I need to overcome?};
  \node[above=of know]                       (audi)
    {Who exactly is my audience?
      What is each listener's role and reason for attending?};

  \draw[
    line width=.8pt,
    shorten <=.06em,
    ]
        (def) edge[cncc east] (know)
              edge[cncc east] (react)
              edge[cncc east] (audi);
\end{tikzpicture}
\end{document}
\documentclass[tikz,border=12pt]{standalone}
\usepackage{siunitx}
\sisetup{round-integer-to-decimal, round-mode=places, round-precision=1}

\begin{document}

\def\G{9.8}
\def\Tfinal{2.0}
\def\y(#1){-\G/2*#1^2}

\begin{tikzpicture}
    \draw (0,0) -- (0,{\y(\Tfinal)});
    \foreach \n in {0.0,0.5,...,\Tfinal} {
        \draw (-0.1,{\y(\n)}) -- (0.1,{\y(\n)});
        \node[left] at (-0.25,{\y(\n)}) {\pgfmathparse{\y(\n)}\SI{\pgfmathresult}{\meter}};
        \node[right] (tmp) at (0.25,{\y(\n)}) {$t=\SI{\n}{\second}$};
        \fill ([xshift=.25cm]tmp.east) circle (5pt);
    }
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usepackage{siunitx}
\usetikzlibrary{arrows,positioning,shapes}

\newcommand\xsla{-1.2}
\newcommand\ysla{0.505}

\newcommand\hexgridv[3][]{%
\begin{scope}[%
  #1,
  xscale=-1,
  yshift=#3,
  yslant=\ysla,
  xslant=\xsla,
  every node/.style={anchor=west,regular polygon, regular polygon sides=6,draw,inner sep=0.5cm},
  transform shape
]
\node (A#2) {};
\node (B#2) at ([xshift=-\pgflinewidth,yshift=-\pgflinewidth]A#2.corner 1) {};
\node (C#2) at ([xshift=-\pgflinewidth]B#2.corner 5) {};
\node (D#2) at ([xshift=-\pgflinewidth]A#2.corner 5) {};
\node (E#2) at ([xshift=-\pgflinewidth]D#2.corner 5) {};
\foreach \hex in {A,...,E}
{
  \foreach \corn in {1,...,6}
    \draw[fill=white] (\hex#2.corner \corn) circle (2pt); 
}
\end{scope}
}

\newcommand\hexgridiv[3][]{%
\begin{scope}[%
  #1,
  xscale=-1,
  yshift=#3,
  yslant=\ysla,
  xslant=\xsla,
  every node/.style={anchor=west,regular polygon, regular polygon sides=6,draw,inner sep=0.5cm},
  transform shape
]
\node (A#2) {};
\node (B#2) at (A#2.corner 5) {};
\node[xscale=-1] (C#2) at (B#2.corner 4) {};
\node (D#2) at (C#2.corner 4) {};
\foreach \hex in {A,...,D}
{
  \foreach \corn in {1,...,6}
    \draw[fill=white] (\hex#2.corner \corn) circle (2pt); 
}
\end{scope}
}

\begin{document}

\begin{tikzpicture}[>=latex]
% the three grids
\hexgridv{a}{0}
\hexgridiv[xshift=0.43cm]{b}{-60}
\hexgridv{c}{-160}

% the red lines
\foreach \corn in {2,4}
  \draw[ultra thick,red!80!black] (Aa.corner \corn) -- (Ac.corner \corn);
\draw[ultra thick,red!80!black,opacity=0.4] (Aa.corner 6) -- (Ac.corner 6);
\draw[ultra thick,red!80!black] (Da.corner 4) -- (Dc.corner 4);
\foreach \hexg in {a,c}
  \draw[thick,red!80!black] (A\hexg.corner 2) -- (A\hexg.corner 4) -- (D\hexg.corner 4);
\foreach \hexg/\opac in {a/1,c/0.4}
  \draw[thick,red!80!black,opacity=\opac] (A\hexg.corner 2) -- (A\hexg.corner 6) -- (D\hexg.corner 4);

% the red vertices
\begin{scope}[yslant=\ysla,xslant=\xsla]
\foreach \hex/\corn in {Aa/2,Aa/4,Aa/6,Ab/3,Ac/2,Ac/4,Da/4,Cb/6,Cb/4,Dc/4} 
  \draw[fill=red!80!black] (\hex.corner \corn) circle (2pt);
\draw[fill=red!80!black,fill opacity=0.4] (Ac.corner 6) circle (2pt);
\draw[fill=red!80!black,fill opacity=0.4] (Cb.corner 2) circle (2pt);
\end{scope}

% The arrows and labels
\draw[help lines] 
  (Aa.corner 2) -- +(2.5,0) coordinate[pos=0.75] (aux1);
\draw[help lines] 
  (Ac.corner 2) -- +(2.5,0) coordinate[pos=0.75] (aux2);
\draw[<->,help lines] 
  (aux1) -- node[pos=0.25,fill=white,font=\footnotesize] {\SI{6.708}{\angstrom}} (aux2);
\draw[help lines] 
  (Ab.corner 2) -- +(1,0) coordinate[pos=0.5] (aux3);
\draw[<->,help lines] 
  (aux3) -- node[fill=white,font=\footnotesize,align=center] {b\\\SI{3.354}{\angstrom}} (aux3|-aux2);
\draw[help lines] 
  (Ac.corner 3) -- +(0,-0.45) coordinate[pos=0.5] (aux4);
\draw[help lines] 
  (Ac.corner 4) -- +(0,-0.4) coordinate[pos=0.5] (aux5);
\draw[<->,help lines] 
  (aux4) -- node[fill=white,font=\footnotesize,align=center,below=1pt] {a\\\SI{1.421}{\angstrom}} (aux5|-aux4);
\end{tikzpicture}

\end{document}
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture} 
\begin{axis}[
    axis on top,
    ybar,
    ymin = 5,
    restrict y to domain*=5:inf,
    xtick=data,
    symbolic x coords={a,b,c}
    ]
    \addplot coordinates {(a,7) (b,9) (c,4)};
\end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{through}
\begin{document}
\begin{tikzpicture}
\coordinate (u) at (0,0);
\node [draw,circle through=(u)] at (1,0) {};
\node [draw,circle,fill=white,minimum size=1mm] at (u) {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,shapes.multipart,positioning}

\definecolor{mygreen}{RGB}{0,146,63}
\definecolor{myred}{RGB}{218,37,28}
\definecolor{myblue}{RGB}{0,146,221}
\definecolor{mygray}{RGB}{186,179,213}

\tikzset{
  depot/.style={
    circle,
    draw,
    fill=myred!80,
    text width=12pt,
    align=center},
  station/.style={
    circle,
    draw,
    fill=mygreen,
    text width=0.75cm,
    align=center},
  line/.style={draw, -latex'},
  myrect/.style={
    rectangle split,
    rectangle split parts=5,
    draw,
    anchor=center,
    text width=0.8cm,
    align=center,
    rectangle split part fill={mygray!90}},
  top/.style={
    draw,
    fill=myblue,
    rounded corners,
    text width=0.8cm,
    text depth=1.5ex,
    align=center
  }
}

% centered version of \vdots
\makeatletter
\DeclareRobustCommand{\rvdots}{%
  \vbox{
    \baselineskip4\p@\lineskiplimit\z@
    \kern-\p@
    \hbox{.}\hbox{.}\hbox{.}
  }}
\makeatother

\begin{document}

\begin{tikzpicture}[node distance=1.2cm]
\node[depot] (s) {$s$};
\node[station, right = of s] (p1) {$p_1$};
\node[top,above right= 1.8cm of p1] (t1) {$\mathstrut c_1$};
\node[myrect,below= -5pt of t1] (c1) 
  {$\mathstrut d_1$\nodepart{two}$\mathstrut d_2$
    \nodepart{three}$\mathstrut d_3$\nodepart{four}$\rvdots$
    \nodepart{five}$d_{m(i)}$};
\node[station, right = of c1] (p2) {$p_2$};
\node[top,above right= 1cm and 1.5cm of p2] (t2) {$\mathstrut c_1$};
\node[myrect, below= -5pt of t2] (c2) 
  {$\mathstrut d_1$\nodepart{two}$\mathstrut d_2$
    \nodepart{three}$\mathstrut d_3$\nodepart{four}$\rvdots$
    \nodepart{five}$d_{m(i)}$};
\node[depot, right = of c2](t) {$t$};

\draw[thick, ->] (s) -- node[above] {$t_{sp_1}$} (p1);
\draw[thick, ->] (p1) -- node[above,sloped] {$t_{p_1c_1}$} (c1.text west);
\draw[thick, ->] (c1.text east) -- node[above,sloped] {$t_{c_1p_2}$} (p2);
\draw[thick, ->] (p2) -- node[above,sloped] {$t_{p_2c_2}$} (c2.three west);
\draw[thick, ->] (c2.three east) -- node[above,sloped] {$t_{c_2t}$} (t);
\end{tikzpicture}

\end{document}
\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric, positioning, intersections}

\begin{document}
\begin{tikzpicture}[
  queue/.style={
    regular polygon, regular polygon sides=3, draw, minimum width=15mm, inner sep=1pt
  },
  old queue/.style={
    isosceles triangle, isosceles triangle apex angle=60,
    anchor=north, shape border rotate=90, draw, minimum width=15mm
  },
  activity/.style={
    rectangle, draw, anchor=north, minimum width=25mm, minimum height=15mm,
    text width=20mm, align=center
  }
]

  % original queue style
  \node[old queue] (tortilla queue) at (0,0) [label=below:queue 1] {wait};
  \node[activity] (tortilla station) [right=of tortilla queue.right corner, anchor=south west] {tortilla\\station};
  \draw [->] (tortilla queue.east) -- (tortilla queue.east -| tortilla station.west);

  % new queue style
  \node[queue] (tortilla queue) at (0,-3) [label=below:queue 1] {wait};
  \node[activity] (tortilla station) [right=of tortilla queue.corner 3, anchor=south west] {tortilla\\station};
  \draw [->] (tortilla queue.east) -- (tortilla queue.east -| tortilla station.west);

  % new queue style, and arrow to center of rectangle
  \node[queue] (tortilla queue) at (0,-5.4) [label=below:queue 1] {wait};
  \node[activity] (tortilla station) [right=of tortilla queue.corner 3, anchor=south west] {tortilla\\station};
  \path [name path=from rect] (tortilla station.west) -| (tortilla queue.corner 1);
  \path [name path=triangle side] (tortilla queue.corner 1) -- (tortilla queue.corner 3);
  \draw [->, name intersections={of=from rect and triangle side}] (intersection-1) -- (tortilla station.west);

\end{tikzpicture}
\end{document}
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\node [isosceles triangle, fill=gray!25, minimum width=1.5cm] (t) {};
\end{tikzpicture}
\end{document}