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

\begin{document}
\begin{tikzpicture}[x=0.4cm,y=0.4cm]

\draw[-,blue] (-1.5,-0.866) -- (-1.5,0.866)  -- (0,1.732) --(1.5,0.866) -- (1.5,-0.866) -- (0,-1.732)  -- (-1.5,-0.866);

\draw[-,blue] (1.5,-0.866) -- (1.5,0.866) -- (3,1.732)  --(4.5,0.866)  -- (4.5,-0.866) -- (3,-1.732) -- (1.5,-0.866);

\draw[-,blue] (4.5,-0.866) -- (4.5,0.866) -- (6,1.732)  --(7.5,0.866)  -- (7.5,-0.866) -- (6,-1.732) -- (4.5,-0.866);

\draw[-,blue] (7.5,-0.866) -- (7.5,0.866) -- (9,1.732)  --(10.5,0.866)  -- (10.5,-0.866) -- (9,-1.732) -- (7.5,-0.866);

\draw[-,blue] (0,1.732) -- (0,3.464) -- (1.5,4.33)  --(3,3.464)  -- (3,1.732) --  (1.5,0.866) -- (0,1.732);

\draw[-,blue] (3,1.732) -- (3,3.464) -- (4.5,4.33)  --(6,3.464)  -- (6,1.732) --  (4.5,0.866) -- (3,1.732);

\draw[-,blue] (6,1.732) -- (6,3.464) -- (7.5,4.33)  --(9,3.464)  -- (9,1.732) --  (7.5,0.866) -- (6,1.732);

\draw[-,blue] (9,1.732) -- (9,3.464) -- (10.5,4.33)  --(12,3.464)  -- (12,1.732) --  (10.5,0.866) -- (9,1.732);

\draw[-,blue] (0,-1.732) -- (0,-3.464) -- (1.5,-4.33)  --(3,-3.464)  -- (3,-1.732) --  (1.5,-0.866) -- (0,-1.732);

\draw[-,blue] (3,-1.732) -- (3,-3.464) -- (4.5,-4.33)  --(6,-3.464)  -- (6,-1.732) --  (4.5,-0.866) -- (3,-1.732);

\draw[-,blue] (6,-1.732) -- (6,-3.464) -- (7.5,-4.33)  --(9,-3.464)  -- (9,-1.732) --  (7.5,-0.866) -- (6,-1.732);

\draw[-,blue] (9,-1.732) -- (9,-3.464) -- (10.5,-4.33)  --(12,-3.464)  -- (12,-1.732) --  (10.5,-0.866) -- (9,-1.732);

\draw[-,red] (-1.3,-1.066) -- (-1.3,0.666)  -- (0.2,1.532) --(1.7,0.666) -- (1.7,-1.066) -- (0.2,-1.932)  -- (-1.3,-1.066);

\draw[-,red] (1.7,-1.066) -- (1.7,0.666) -- (3.2,1.532)  --(4.7,0.666)  -- (4.7,-1.066) -- (3.2,-1.932) -- (1.7,-1.066);

\draw[-,red] (4.7,-1.066) -- (4.7,0.666) -- (6.2,1.532)  --(7.7,0.666)  -- (7.7,-1.066) -- (6.2,-1.932) -- (4.7,-1.066);

\draw[-,red] (7.7,-1.066) -- (7.7,0.666) -- (9.2,1.532)  --(10.7,0.666)  -- (10.7,-1.066) -- (9.2,-1.932) -- (7.7,-1.066);

\draw[-,red] (0.2,1.532) -- (0.2,3.264) -- (1.7,4.13)  --(3.2,3.264)  -- (3.2,1.532) --  (1.7,0.666) -- (0.2,1.532);

\draw[-,red] (3.2,1.532) -- (3.2,3.264) -- (4.7,4.13)  --(6.2,3.264)  -- (6.2,1.532) --  (4.7,0.666) -- (3.2,1.532);

\draw[-,red] (6.2,1.532) -- (6.2,3.264) -- (7.7,4.13)  --(9.2,3.264)  -- (9.2,1.532) --  (7.7,0.666) -- (6.2,1.532);

\draw[-,red] (9.2,1.532) -- (9.2,3.264) -- (10.7,4.13)  --(12.2,3.264)  -- (12.2,1.532) --  (10.7,0.666) -- (9.2,1.532);

\draw[-,red] (0.2,-1.932) -- (0.2,-3.664) -- (1.7,-4.53)  --(3.2,-3.664)  -- (3.2,-1.932) --  (1.7,-1.066) -- (0.2,-1.932);

\draw[-,red] (3.2,-1.932) -- (3.2,-3.664) -- (4.7,-4.53)  --(6.2,-3.664)  -- (6.2,-1.932) --  (4.7,-1.066) -- (3.2,-1.932);

\draw[-,red] (6.2,-1.932) -- (6.2,-3.664) -- (7.7,-4.53)  --(9.2,-3.664)  -- (9.2,-1.932) --  (7.7,-1.066) -- (6.2,-1.932);

\draw[-,red] (9.2,-1.932) -- (9.2,-3.664) -- (10.7,-4.53)  --(12.2,-3.664)  -- (12.2,-1.932) --  (10.7,-1.066) -- (9.2,-1.932);

\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}

\begin{document}
\begin{tikzpicture}[scale=.9, auto=center, every node/.style={circle, fill=blue!20}]
  \node (a1) at (1,0) {ad};
  \node (a2) at (0,1)  {b};
  \node (a3) at (0,2)  {c};
  \node (a5) at (1,1.5)  {ef};
  \node (a7) at (2,2)  {g};

  \draw (a1) -- (a2);
  \draw[red] (a1) -- (a5);
  \draw (a2) -- (a3);
  \draw (a2) -- (a5);
  \draw (a3) -- (a5);
  \draw (a5) -- (a7);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}

\begin{document}
\begin{tikzpicture}[scale=.9, auto=center, every node/.style={circle, fill=blue!20}]
  \node (a1) at (0,0) {a};
  \node (a2) at (1,1)  {b};
  \node (a3) at (1,-1) {c};
  \node (a4) at (-1,1) {d};
  \node (a5) at (-2,0) {e};
  \node (a6) at (-1,-1) {f};

  \draw (a1) -- (a2);
  \draw (a1) -- (a3);
  \draw (a1) -- (a4);
  \draw (a1) -- (a6);
  \draw (a4) -- (a5);
  \draw (a4) -- (a6);
  \draw (a5) -- (a6);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}
\draw[yshift=1cm] (270:1) -- (330:1) -- (30:1) -- (90:1) -- (150:1) -- (210:1) -- cycle;
\draw[-{Latex}] (0:.4) arc (0:150:.4);
\draw[-{Latex}, yshift=2cm] (210:.3) arc (210:330:.3);
\draw[yshift=1cm] (90:1) -- (-30:1);
\draw (0,-.25) node {A1L};
\draw (0,.6) node {$\scriptscriptstyle{\gamma_1}$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.4]
\draw[color=blue, thick, dotted, ->] (0,0) -- (4,0);
\draw[color=blue, thick, ->] (0,0) -- (0,4);
\draw[color=blue, thick, ->] (0,0) -- (4,4);
\node at (4,0) [anchor=west] {$b_1$};
\node at (0,4) [anchor=south] {$b_2$};
\node at (4,4) [anchor=south] {$b_1 + b_2$};
\node at (7,1) [anchor=south] {$=$};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows, positioning}

\begin{document}
\begin{tikzpicture}
% vertices
\draw[fill=black] (0,0) circle (1.5pt); % x1
\draw[fill=black] (1,0) circle (1.5pt); % y1
\draw[fill=black] (0,1) circle (1.5pt); % x2
\draw[fill=black] (1,1) circle (1.5pt); % y2

% vertex labels
\node[left] at (0,0) {$x_1$};
\node[right] at (1,0) {$y_1$};
\node[left] at (0,1) {$x_2$};
\node[right] at (1,1) {$y_2$};

% edges
\draw[->] (1,1) -- (0.1,1);
\draw[->] (1,1) -- (0.1,0.1);
\draw[->] (0,1) -- (0.9,0.1);
\draw[->] (1,0) -- (0.1,0);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}

\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        xlabel={Batch},
        ylabel={ROUGE-SU4 F1},
        ymin=0,
        ymax=1,
        xtick={1,2,3,4},
        ticklabel style={font=\footnotesize},
        width=7.8cm,
        legend pos=north east,
        legend style={font=\tiny}
    ]
    \addplot coordinates {
    (1,0.396)
    (2,0.318)
    (3,0.351)
    (4,0.370)
    };
    \addplot coordinates {
    (1,0.322)
    (2,0.317)
    (3,0.292)
    (4,0.367)
    };
    \addplot coordinates {
    (1,0.139)
    (2,0.153)
    (3,0.203)
    };
    \addplot coordinates {
    (1,0.205)
    (2,0.196)
    (3,0.211)
    };
    \addplot coordinates {
    (1,0.333)
    (2,0.320)
    (3,0.362)
    (4,0.384)
    };
    \addplot coordinates {
    (4,0.377)
    };
    \addplot coordinates {
    (4,0.378)
    };
    \legend{Top,Extract,Zero-shot No context,Few-shot No context,Zero-shot Snippets,Zero-shot Extract,Few-shot Extract}
    \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.8]
    \draw[dashed,thick] (0,0) circle [radius=0.8cm];
    \draw[thick] (-0.8*0.707,0.8*0.707) -- (0.8*0.707,-0.8*0.707);
    \draw[white,fill=white] (0,0) circle [radius=0.1cm];
    \draw[thick] (-0.8*0.707,-0.8*0.707) -- (0.8*0.707,0.8*0.707);
    \draw[thick] (-0.8*0.707,-0.8*0.707) -- (0.8*0.707,-0.8*0.707);
    \draw[fill=black] (0.8*0.707,-0.8*0.707) circle[radius=0.05cm];
    \draw[fill=black] (0.8*0.707,0.8*0.707) circle[radius=0.05cm];
    \draw[fill=black] (-0.8*0.707,-0.8*0.707) circle[radius=0.05cm];
    \draw[fill=black] (-0.8*0.707,0.8*0.707) circle[radius=0.05cm];
    \node at (0,-1.15) {(d)};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=.9]
  \node (N0) at (0,0) {};
  \node[label=$\alpha_{r}$] (N1) at (1,0) {};
  \draw (N0.center) -- (N1.center);
  \fill (N1) circle (2pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
  \draw (0,0) -- (3,0);
  \fill[white] (0,0) circle (3pt);
  \draw (0,0) circle (3pt);
  \fill (1,0) circle (3pt);
  \fill[white] (2,0) circle (3pt);
  \draw (2,0) circle (3pt);
  \fill (3,0) circle (3pt);
\end{tikzpicture}
\end{document}
\documentclass[standalone]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}

\begin{document}
\begin{tikzpicture}[scale=0.8]
	\draw [very thick] (-.5,-.25) -- (.5,-.25) -- (.5,.25) -- (-.5,.25) -- cycle;
	\draw [<-, very thick] (-1.25,0) to [out=90, in=180] (-.75,1) to [out=0,in = 90] (-.25,.25);
	\draw [very thick] (-1.25,0) to [out=270, in=180] (-.75,-1) to [out=0,in=270] (-.25,-.25);
	\draw [->, very thick] (.25,.25) to [out=90, in=230] (.5,1);
	\draw [very thick] (.25,-.25) to [out=270, in=130] (.5,-1);
	\node at (-1.7,0) {$V_\alpha$};
	\node at (.9,-.9) {$V_\beta$};
	\node at (0,0) {$T$};
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{amssymb}
\usepackage{amsmath}
\usetikzlibrary{shapes,trees,arrows}
\usetikzlibrary{calc,through}
\usetikzlibrary{automata}
\usetikzlibrary{positioning}

\begin{document}

\begin{tikzpicture}[scale=0.15,->,>=stealth',shorten >=1pt,auto,node distance=1.3cm,semithick,inner sep=3pt]
\node[rectangle split, rectangle split parts=2] (A) {$H_m,y_m,e_m$ \nodepart{second} $H_n,y_n,e_n$};
\node (1) [right=of A]{};
\node (2) [right=of 1]{};
\node[rectangle split, rectangle split parts=2]  (B) [right=of 2] {$H_m,y_m,e_m$ \nodepart{second}$H^\prime_n,y^\prime_n,e^\prime_n$};
\node (3) [right=of B] {};
\node (4) [right=of 3] {};
\node[rectangle split, rectangle split parts=2]  (C) [right=of 4] {$H^\prime_m,y^\prime_m,e^\prime_m$ \nodepart{second}$H^\prime_n,y^\prime_n,e^\prime_n$};
\path (A) edge node[above]{$m$ sends $\mu$} node[below]{$n$ receives $\mu$} (B);
\path (B) edge node[above]{$n$ sends $\mu^\prime$} node[below]{$m$ receives $\mu^\prime$} (C);
\node[rectangle split, rectangle split parts=3] (D) [below=of 2] {$n$ checks the guards using
\nodepart{second}$\mathtt{MATCH}_n(y_n,y_m)$, ${\mathtt{AGREE}}_n(e_n,e_m)$
\nodepart{third} $\mathtt{MATCH}_n(y^\prime_n,y_m)$,  ${\mathtt{AGREE}}_n(e^\prime_n,e_m)$};
\node[rectangle split, rectangle split parts=3] (E) [below=of 4] {$m$ checks the guards using
\nodepart{second}$\mathtt{MATCH}_m(y_m,y^\prime_n)$, ${\mathtt{AGREE}}_m(e_m,e^\prime_n)$
\nodepart{third} $\mathtt{MATCH}_m(y^\prime_m,y^\prime_n)$,  ${\mathtt{AGREE}}_m(e^\prime_m,e^\prime_n)$};
\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[thick, scale=1.0, every node/.style={scale=0.98}]
  \draw[solid] (0,2) -- (0,0);
  \shade [shading=ball, ball color=black] (0,2) circle (.07) node [above] {\scriptsize$u_2$};
  \shade [shading=ball, ball color=black] (0,0) circle (.07) node [below] {\scriptsize$v_2$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing,decorations.markings}

\begin{document}
\begin{tikzpicture}
	\draw[-,thick] (-2,0)--(2,0);
	\draw[-,thick] (-2,-1)--(2,-1);
	\draw[-,thick] (0,0)--(2,1);
	\draw[-,thick] (0,0)--(-2,1);
	\draw[<->] (1.9,-0.05)--(1.9,-0.95);
	\node at (2.05, -0.5) {$\varepsilon$};
	\draw[->] (-1.9,0.7)--(-1.6,0.7);
	\draw (0.49,0) arc (0:60:0.22);
	\node at (-2.37,0.7) {solid};
	\node at (2, 0.45) {gas};
	\node at (0,-0.6) {liquid};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=0.25]
  \draw (0,0) node[fill,circle,minimum size=1mm,inner sep=0] {} -- (0,3) node[fill,circle,minimum size=1mm,inner sep=0] {};
  \draw (3,0) node[fill,circle,minimum size=1mm,inner sep=0] {} -- (3,3) node[fill,circle,minimum size=1mm,inner sep=0] {};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[
    box/.style={rectangle, draw=white, thick, minimum size=1cm},
]
\foreach \x in {0,1,...,5}{
    \foreach \y in {0,1,...,5}
        \node[box] at (\x,\y){};
}

% USPS
\definecolor{color}{RGB}{144,93,111}
\node[box,fill=color] at (1,0){\textcolor{white}{1}}; 
\definecolor{color}{RGB}{165,113,90}
\node[box,fill=color] at (2,0){\textcolor{white}{1}}; 
\definecolor{color}{RGB}{102,51,153}
\node[box,fill=color] at (3,0){\textcolor{white}{0.8}}; 
\definecolor{color}{RGB}{171,119,84}
\node[box,fill=color] at (4,0){\textcolor{white}{1.1}}; 
\node[box,fill=white] at (5,0){};

% KMNIST
\definecolor{color}{RGB}{226,173,29}
\node[box,fill=color] at (1,1){\textcolor{white}{1.2}}; 
\definecolor{color}{RGB}{225,172,30}
\node[box,fill=color] at (2,1){\textcolor{white}{1.2}}; 
\definecolor{color}{RGB}{255,202,0}
\node[box,fill=color] at (3,1){\textcolor{white}{1.3}}; 
\node[box,fill=white] at (4,1){};
\definecolor{color}{RGB}{173,122,81}
\node[box,fill=color] at (5,1){\textcolor{white}{1}}; 

% Fashion
\definecolor{color}{RGB}{236,184,19}
\node[box,fill=color] at (1,2){\textcolor{white}{1.3}}; 
\definecolor{color}{RGB}{217,165,38}
\node[box,fill=color] at (2,2){\textcolor{white}{1.2}};  
\node[box,fill=white] at (3,2){}; 
\definecolor{color}{RGB}{254,201,1}
\node[box,fill=color] at (4,2){\textcolor{white}{1.3}}; 
\definecolor{color}{RGB}{107,52,152}
\node[box,fill=color] at (5,2){\textcolor{white}{0.8}}; 

% EMNIST
\definecolor{color}{RGB}{140,88,115}
\node[box,fill=color] at (1,3){\textcolor{white}{1}};  
\node[box,fill=white] at (2,3){}; 
\definecolor{color}{RGB}{217,165,38}
\node[box,fill=color] at (3,3){\textcolor{white}{1.2}}; 
\definecolor{color}{RGB}{224,171,31}
\node[box,fill=color] at (4,3){\textcolor{white}{1.2}};  
\definecolor{color}{RGB}{164,113,90}
\node[box,fill=color] at (5,3){\textcolor{white}{1}}; 

% MNIST
\node[box,fill=white] at (1,4){}; 
\definecolor{color}{RGB}{140,88,115}
\node[box,fill=color] at (2,4){\textcolor{white}{1}}; 
\definecolor{color}{RGB}{237,184,18}
\node[box,fill=color] at (3,4){\textcolor{white}{1.3}}; 
\definecolor{color}{RGB}{226,173,29}
\node[box,fill=color] at (4,4){\textcolor{white}{1.2}}; 
\definecolor{color}{RGB}{147,96,108}
\node[box,fill=color] at (5,4){\textcolor{white}{1}}; 

\node at (0,4) {{\tiny MNIST}};
\node at (0,3) {{\tiny EMNIST}};
\node at (0,2) {{\tiny Fashion}};
\node at (0,1) {{\tiny KMNIST}};
\node at (0,0) {{\tiny USPS}};
\node at (1,5) {{\tiny MNIST}};
\node at (2,5) {{\tiny EMNIST}};
\node at (3,5) {{\tiny Fashion}};
\node at (4,5) {{\tiny KMNIST}};
\node at (5,5) {{\tiny USPS}};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{xcolor}
\usepackage{pgfplots}
\usetikzlibrary{pgfplots.groupplots}

\pgfplotscreateplotcyclelist{colorbrewer-RYB}{
{RYB1!50!black,fill=RYB1},
{RYB2!50!black,fill=RYB2},
{RYB3!50!black,fill=RYB3},
{RYB4!50!black,fill=RYB4},
{RYB5!50!black,fill=RYB5},
{RYB6!50!black,fill=RYB6},
{RYB7!50!black,fill=RYB7},
{RYB8!50!black,fill=RYB8},
}

\pgfplotsset{
    select row/.style={
        x filter/.code={\ifnum\coordindex=#1\else\def\pgfmathresult{}\fi}
    }
}

\begin{document}
\begin{tikzpicture}
    \begin{axis}[
        width=12cm,
        ybar stacked,
        bar width=7pt,
        enlargelimits=0.15,
        legend pos=north east,
        legend style={font=\fontsize{10}{10}\selectfont},
        ylabel={seconds},
        symbolic x coords={Eager,Validation,UM,UM+F,UM+M,UM+FM,UM+BV,UM+FMBV},
        xtick=data,
        x tick label style={rotate=90,anchor=east},
    ]
    \addplot+[ybar] plot coordinates {(Eager,1071.733) (Validation,1392.051) 
      (UM,974.922) (UM+F,974.354) (UM+M,977.398) (UM+FM,980.044) (UM+BV,509.365) (UM+FMBV,515.311)};
    \addplot+[ybar] plot coordinates {(Eager,461.519) (Validation,426.909) 
      (UM,351.908) (UM+F,7.503) (UM+M,354.923) (UM+FM,7.494) (UM+BV,0.011) (UM+FMBV,0.014)};
    \addplot+[ybar] plot coordinates {(Eager,38.031) (Validation,216.883) 
      (UM,144.32) (UM+F,0.142) (UM+M,43.949) (UM+FM,0.064) (UM+BV,0) (UM+FMBV,0)};
    \legend{\strut update, \strut flush, \strut merge}
  \end{axis}
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
	\coordinate (A) at (0,0);
	\coordinate (B) at (.8,0);
	\coordinate (C) at (2.8,0);
	\coordinate (D) at (3.6,0);
	\coordinate (E) at (-0.8,0);
	\coordinate (F) at (4.4,0);
	
	\draw[color=red,line width=2pt] (B) -- (C);
	\draw[radius=0.8] (A) circle;
	\draw[radius=0.8] (D) circle;
	
	\foreach \c in {B,C,E,F} {
		\fill[color=red] (\c) circle (3pt);
	}
	\node[above] at (1.8,0) {$1$};
	\node[left=2pt] at (E) {$1$};
	\node[right=2pt] at (F) {$1$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
    \node (a) at (5,0) {$p_3$};
    \node (b) at (6,0) {$p_1$};
    \node (c) at (7,0) {$p_4$};
    \node (d) at (8,0) {$p_2$};
    
    \draw[->] (a) to (b);
    \draw[->] (b) to (c);
    \draw[->] (c) to (d);
    \draw[->] (d) to [in=-20, out=200, looseness=1] (b);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{positioning}

\begin{document}

\begin{tikzpicture}

\draw (0, -1) -- (0, 1);
\draw[dashed] (0, -1) -- (2, 0) -- (0, 1);

\draw (-0.3, 1) node {$a$};
\draw (-0.3, -1) node {$b$};
\draw (2.3, 0) node {$c$};

\draw (-0.3, 0) node {$1$};
\draw (1.25, 0.75) node {$0.5$};
\draw (1.25, -0.75) node {$0.5$};

\draw[fill=white] (0, -1) circle [radius=2pt];
\draw[fill=white] (0, 1) circle [radius=2pt];
\draw[fill=white] (2, 0) circle [radius=2pt];

\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{amssymb, amsmath, tikz}
\usetikzlibrary{arrows,calc}

\newcommand{\ccc}{\gamma}
\newcommand{\bbb}{\beta}

\begin{document}

\begin{tikzpicture}[>=latex,scale=0.6] 
\foreach \a in {0,1,2}
{
	\begin{scope}[xshift=2*\a cm] 
	\draw (0,0)--(0,-2)
	(2,0)--(2,-2)
	(0.5,-3)--(0.5,-5);
	\draw  (0,-2)--(0.5,-3);
	\draw (0.5,-3)--(2,-2);
	\node at (0.6,-2.55){\small $\ccc$};
	\node at (0.2,-3.2){\small $\bbb$};
	\node at (0.8,-3.2){\small $\bbb$};
	\node at (1,0){\small $\ccc$};
	\node at (1.5,-5){\small $\ccc$};

	\node at (1.9,-2.45){\small $\ccc$};
	\node at (1.7,-1.8){\small $\bbb$};
	\node at (2.3,-1.8){\small $\bbb$};
	\end{scope}
}

\draw (6,-2)--(6.5,-3);
\draw  (6.5,-3)--(6.5,-5);

\fill (8,-2) circle (0.05); 
\fill (8.2,-2) circle (0.05);
\fill (8.4,-2) circle (0.05);

\node[draw,shape=circle, inner sep=0.5] at (1,-1) {\small $1$};
\node[draw,shape=circle, inner sep=0.5] at (3,-1) {\small $2$};
\node[draw,shape=circle, inner sep=0.5] at (5,-1) {\small $5$};
\node[draw,shape=circle, inner sep=0.5] at (1.5,-4) {\small $3$};
\node[draw,shape=circle, inner sep=0.5] at (3.5,-4) {\small $4$};
\node[draw,shape=circle, inner sep=0.5] at (5.5,-4) {\small $6$};

\node at (6.2,-3.2){\small $\bbb$};
\node at (0.3,-1.8){\small $\bbb$};

\end{tikzpicture}

\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3,cap=round]
  \def\costhirty{0.8660256}
  \colorlet{anglecolor}{green!50!black}
  \colorlet{sincolor}{red}
  \colorlet{tancolor}{orange!80!black}
  \colorlet{coscolor}{blue}
  \tikzstyle{axes}=[]
  \tikzstyle{important line}=[very thick]
  \tikzstyle{information text}=[rounded corners,fill=red!10,inner sep=1ex]

  \draw[style=help lines,step=0.5cm] (-1.4,-1.4) grid (1.4,1.4);
  \draw (0,0) circle (1cm);

  \begin{scope}[style=axes]
    \draw[->] (-1.5,0) -- (1.5,0) node[right] {$x$};
    \draw[->] (0,-1.5) -- (0,1.5) node[above] {$y$};
    \foreach \x/\xtext in {-1, -.5/-\frac{1}{2}, 1}
      \draw[xshift=\x cm] (0pt,1pt) -- (0pt,-1pt) node[below,fill=white] {$\xtext$};
    \foreach \y/\ytext in {-1, -.5/-\frac{1}{2}, .5/\frac{1}{2}, 1}
      \draw[yshift=\y cm] (1pt,0pt) -- (-1pt,0pt) node[left,fill=white] {$\ytext$};
  \end{scope}

  \filldraw[fill=green!20,draw=anglecolor] (0,0) -- (3mm,0pt) arc(0:30:3mm);
  \draw (15:2mm) node[anglecolor] {$\alpha$};

  \draw[style=important line,sincolor] (30:1cm) -- node[left=1pt,fill=white] {$\sin \alpha$} +(0,-.5);
  \draw[style=important line,coscolor] (0,0) -- node[below=2pt,fill=white] {$\cos \alpha$} (\costhirty,0);

  \draw[style=important line,tancolor] (1,0) --
    node [right=1pt,fill=white]
    {
      $\displaystyle \tan \alpha \color{black}=
      \frac{{\color{sincolor}\sin \alpha}}{\color{coscolor}\cos \alpha}$
    } (intersection of 0,0--30:1cm and 1,0--1,1) coordinate (t);
  \draw (0,0) -- (t);

  \draw[xshift=1.85cm] node [right,text width=6cm,style=information text]
    {
      The {\color{anglecolor} angle $\alpha$} is $30^\circ$ in the
      example ($\pi/6$ in radians). The {\color{sincolor}sine of
        $\alpha$}, which is the height of the red line, is
      \[
      {\color{sincolor} \sin \alpha} = 1/2.
      \]
      By the Theorem of Pythagoras we have ${\color{coscolor}\cos^2 \alpha} +
      {\color{sincolor}\sin^2\alpha} =1$. Thus the length of the blue
      line, which is the {\color{coscolor}cosine of $\alpha$}, must be
      \[
      {\color{coscolor}\cos\alpha} = \sqrt{1 - 1/4} = \textstyle
      \frac{1}{2} \sqrt 3.
      \]%
      This shows that {\color{tancolor}$\tan \alpha$}, which is the
      height of the orange line, is
      \[
      {\color{tancolor}\tan\alpha} = \frac{{\color{sincolor}\sin
          \alpha}}{\color{coscolor}\cos \alpha} = 1/\sqrt 3.
      \]%
    };
\end{tikzpicture}
\end{document}
\documentclass[border=2pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usepackage{physics}
\definecolor{blue1}{rgb}{0.0, 0.33, 0.71}
\definecolor{blue2}{rgb}{0.29, 0.59, 0.82}

\begin{document}
\begin{tikzpicture}
    \draw[line width=2, blue1, fill=blue2!40] (3,1) rectangle (11,3);
    \foreach \x in {0,1,2} {
        \draw[line width=1.5, ->] (1.5,1.5 + 0.5*\x) -- ++(1,0);
    }
    \node at (1,2) {$\vb{F}(t)$};
    \node at (3,0.7) {$x=0$};
    \node at (11,0.7) {$x=L$};
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}

\begin{document}
\begin{tikzpicture}[thin, line join=round]
\coordinate (o) at (0,0);
\coordinate[label=$V_1$] (v1) at (150:3);
\coordinate[label=$V_2$] (v2) at (88:3);
\coordinate[label=$V_3$] (v3) at (5:3);
\coordinate[label=0:$V_4$] (v4) at (-105:2);
\coordinate (a) at ($(o)!0.67!(v1)$);
\coordinate (b) at ($(o)!0.33!(v1)$);
\coordinate (c) at ($(o)!0.67!(v4)$);
\coordinate (d) at ($(o)!0.33!(v4)$);
\coordinate[label=0:$e$] (e) at ($(o)!0.67!(v2)$);
\coordinate[label=0:$f$] (f) at ($(o)!0.33!(v2)$);
\coordinate (g) at ($(o)!0.67!(v3)$);
\coordinate (h) at ($(o)!0.33!(v3)$);
\draw (v1) -- (o) -- (v3);
\draw (v2) -- (o) -- (v4);
\foreach \p in {a, b, c, d, e, f, g, h} \fill[black] (\p) circle (3pt);
\end{tikzpicture}
\end{document}
\documentclass[border=5pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}

\begin{document}
\begin{tikzpicture}
  % Intervals
  \foreach \a / \t in {
    15/I_r', 150/I_q', 270/I_p', 240/I_i', 340/I_j', 300/I_k'
  } {
    \draw (\a-10:24mm) -- (\a-10:26mm);
    \draw (\a+10:24mm) -- (\a+10:26mm);
    \draw (\a-10:26mm) arc (\a-10:\a+10:26mm);
    \draw (\a:29mm) node {$\t$};
  }

  % Semi triangles
  \draw [fill=black] (10:25mm) circle (0.5mm);
  \draw [fill=black] (20:25mm) circle (0.5mm);
  \draw [fill=black] (145:25mm) circle (0.5mm);
  \draw [fill=black] (155:25mm) circle (0.5mm);
  \draw [fill=black] (270:25mm) circle (0.5mm);
  \draw [fill=black] (275:25mm) circle (0.5mm);
  \draw (20:25mm) -- (275:25mm);
  \draw (10:25mm) -- (145:25mm);
  \draw (155:25mm) -- (270:25mm);

  \draw [fill=black] (295:25mm) circle (0.5mm);
  \draw [fill=black] (305:25mm) circle (0.5mm);
  \draw [fill=black] (335:25mm) circle (0.5mm);
  \draw [fill=black] (345:25mm) circle (0.5mm);
  \draw [fill=black] (240:25mm) circle (0.5mm);
  \draw [fill=black] (245:25mm) circle (0.5mm);
  \draw (305:25mm) -- (245:25mm);
  \draw (295:25mm) -- (335:25mm);
  \draw (345:25mm) -- (240:25mm);

  % Circle
  \draw (20:25mm) arc (20:145:25mm);
  \draw [dotted] (145:25mm) arc (145:155:25mm);
  \draw (155:25mm) arc (155:240:25mm);
  \draw [dotted] (240:25mm) arc (240:245:25mm);
  \draw (245:25mm) arc (245:270:25mm);
  \draw [dotted] (270:25mm) arc (270:275:25mm);
  \draw (275:25mm) arc (275:295:25mm);
  \draw [dotted] (295:25mm) arc (295:305:25mm);
  \draw (305:25mm) arc (305:335:25mm);
  \draw [dotted] (335:25mm) arc (335:345:25mm);
  \draw (345:25mm) arc (345:360:25mm);
  \draw (0:25mm) arc (0:10:25mm);
  \draw [dotted] (10:25mm) arc (10:20:25mm);
\end{tikzpicture}
\end{document}