November 1, 2015
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{arrows} \usetikzlibrary{calc} \begin{document} \begin{frame}{A New System} \begin{figure}[h] \centering \begin{tikzpicture}[node distance=0.7cm] \tikzstyle{box1} = [rectangle, thick, text centered , text width=1.5cm, minimum height=.7cm, top color=white, bottom color=blue!30, draw=blue!40] \tikzstyle{box2} = [rectangle, thick, text centered , text width=1.5cm, minimum height=.7cm, top color=white, bottom color=red!30, draw=red!40] \tikzstyle{box3} = [rectangle, thick, text centered , text width=1.5cm, minimum height=.7cm, top color=white, bottom color=green!30, draw=green!40] \tikzstyle{box4} = [rectangle, thick, text centered , text width=1.5cm, minimum height=.7cm, top color=white, bottom color=cyan!30, draw=cyan!40] \coordinate (A) at (-3cm, 0cm); \coordinate (B) at ( 0cm, 0cm); \coordinate (C) at ( 3cm, 0cm); \node [box1] (A1) at (A) {Team1}; \node [box1] (B1) at (B) {Team4}; \node [box1] (C1) at (C) {Team8}; \node [box2] (A2) [below of=A1] {Team2}; \node [box2] (B2) [below of=B1] {Team5}; \node [box2] (C2) [below of=C1] {Team9}; \node [box3] (A3) [below of=A2] {Team3}; \node [box3] (B3) [below of=B2] {Team6}; \node [box3] (C3) [below of=C2] {Team10}; \node [box4] (B4) [below of=B3] {Team7}; \node [above of=A1] {A}; \node [above of=B1] {B}; \node [above of=C1] {C}; \end{tikzpicture} \end{figure} \begin{figure} \begin{tikzpicture}[node distance=1.8cm] \tikzstyle{box1} = [rectangle, thick, text centered , text width=1cm, minimum height=.7cm, rounded corners, top color=white, bottom color=blue!30, draw=blue!40] \tikzstyle{line} = [thick, draw=black] \coordinate (O) at (0cm, 0cm); \node [box1] (A1) at (O) {\small A1}; \node [box1] (B1) [right of=A1] {\small B1}; \node [box1] (C1) [right of=B1] {\small C1}; \node [box1] (W1) [right of=C1] {\small W1}; \node [box1] (W2) [right of=W1] {\small W2}; \path [line] (A1.north) |- ++(18mm, 5mm) coordinate [pos=.75] (m-1-2) -| (B1.north); \path [line] (W1.north) |- ++(10mm, 5mm) coordinate (m-4-5) -| (W2.north); \path [line] (C1.north) |- ++(15mm, 10mm) coordinate (m-3-4) -| (m-4-5); \path [line] (m-1-2) |- ++(20mm, 10mm) coordinate (m-final) -| (m-3-4); \node [below] at (m-1-2) {\small Game 1}; \node [below] at (m-3-4) {\small Game 2}; \node [below] at (m-4-5) {\small Game 3}; \node [above] at (m-final) {\small Korean Series}; \end{tikzpicture} \end{figure} \end{frame} \end{document}
Comments Off on Baseball Elimination Figure
no comment until now