Better figures

This commit is contained in:
Thomas Forgione 2019-09-20 17:49:34 +02:00
parent 4009f11d6c
commit 1c294cd4fb
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
3 changed files with 20 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 361 KiB

View File

@ -91,6 +91,11 @@ anchorcolor = blue]{hyperref}
\definecolor{mycolor8}{RGB}{0,0,0} \definecolor{mycolor8}{RGB}{0,0,0}
\definecolor{mycolor9}{RGB}{169,169,169} \definecolor{mycolor9}{RGB}{169,169,169}
\definecolor{PalePink}{RGB}{255, 230, 234}
\definecolor{PalePaleGreen}{RGB}{226, 254, 226}
\definecolor{PaleLightBlue}{RGB}{222, 239, 245}
\definecolor{PalePlum}{RGB}{245, 226, 245}
\pgfplotscreateplotcyclelist{mystyle}{% \pgfplotscreateplotcyclelist{mystyle}{%
{blue}, {blue},
{DarkGreen}, {DarkGreen},

View File

@ -24,7 +24,9 @@ A sequence diagram of what happens when downloading, parsing and rendering conte
\draw[->, color=LightGray] (10, 0.5) -- (10, -17.5); \draw[->, color=LightGray] (10, 0.5) -- (10, -17.5);
% MPD % MPD
\draw[color=blue] (0, 0) -- (2.5, -0.1) -- (10, -1) -- (2.5, -2); \draw[color=blue] (0, 0) -- (2.5, -0.1) -- (10, -0.5);
\draw[color=blue, fill=PaleLightBlue] (10, -0.5) -- (10, -1.5) -- (2.5, -2) -- (2.5, -1) -- cycle;
\node[color=blue, rotate=5] at (6.25, -1.25) {Download};
\node[color=blue, above] at(1.25, 0.0) {Ask MPD}; \node[color=blue, above] at(1.25, 0.0) {Ask MPD};
\draw[color=blue, fill=LightBlue] (2.375, -2) rectangle (2.625, -2.9); \draw[color=blue, fill=LightBlue] (2.375, -2) rectangle (2.625, -2.9);
\node[color=blue, right=0.2cm] at(2.5, -2.45) {Parse MPD}; \node[color=blue, right=0.2cm] at(2.5, -2.45) {Parse MPD};
@ -40,7 +42,9 @@ A sequence diagram of what happens when downloading, parsing and rendering conte
\draw[color=red, fill=Pink] (2.375, -0.1) rectangle (2.625, -1); \draw[color=red, fill=Pink] (2.375, -0.1) rectangle (2.625, -1);
\node[color=red, right=0.2cm] at (2.5, -0.55) {Compute utilities}; \node[color=red, right=0.2cm] at (2.5, -0.55) {Compute utilities};
\draw[color=red] (2.5, -1) -- (10, -2) -- (2.5, -3); \draw[color=red] (2.5, -1) -- (10, -1.5);
\draw[color=red, fill=PalePink] (10, -1.5) -- (10, -2.5) -- (2.5, -3) -- (2.5, -2) -- cycle;
\node[color=red, rotate=5] at (6.25, -2.25) {Download};
\draw[color=red, fill=Pink] (2.375, -3) rectangle (2.625, -3.9); \draw[color=red, fill=Pink] (2.375, -3) rectangle (2.625, -3.9);
\node[color=red, right=0.2cm] at(2.5, -3.45) {Parse segment}; \node[color=red, right=0.2cm] at(2.5, -3.45) {Parse segment};
@ -52,14 +56,15 @@ A sequence diagram of what happens when downloading, parsing and rendering conte
% Ask more segments % Ask more segments
\begin{scope}[shift={(0, -8)}] \begin{scope}[shift={(0, -8)}]
\draw[color=DarkGreen] (0, 0) -- (2.5, -0.1); \draw[color=DarkGreen] (0, 0) -- (2.5, -0.1);
\node[color=DarkGreen, above] at(1.25, 0.0) {Ask segment}; \node[color=DarkGreen, above] at(1.25, 0.0) {Ask segment};
\draw[color=DarkGreen, fill=PaleGreen] (2.375, -0.1) rectangle (2.625, -1); \draw[color=DarkGreen, fill=PaleGreen] (2.375, -0.1) rectangle (2.625, -1);
\node[color=DarkGreen, right=0.2cm] at (2.5, -0.55) {Compute utilities}; \node[color=DarkGreen, right=0.2cm] at (2.5, -0.55) {Compute utilities};
\draw[color=DarkGreen] (2.5, -1) -- (10, -2) -- (2.5, -3); \draw[color=DarkGreen] (2.5, -1) -- (10, -1.5);
\draw[color=DarkGreen, fill=PalePaleGreen] (10, -1.5) -- (10, -2.5) -- (2.5, -3) -- (2.5, -2) -- cycle;
\node[color=DarkGreen, rotate=5] at (6.25, -2.25) {Download};
\draw[color=DarkGreen, fill=PaleGreen] (2.375, -3) rectangle (2.625, -3.9); \draw[color=DarkGreen, fill=PaleGreen] (2.375, -3) rectangle (2.625, -3.9);
\node[color=DarkGreen, right=0.2cm] at(2.5, -3.45) {Parse segment}; \node[color=DarkGreen, right=0.2cm] at(2.5, -3.45) {Parse segment};
@ -67,7 +72,6 @@ A sequence diagram of what happens when downloading, parsing and rendering conte
\draw[color=DarkGreen] (2.5, -3.9) -- (0, -4); \draw[color=DarkGreen] (2.5, -3.9) -- (0, -4);
\draw[color=DarkGreen, fill=PaleGreen] (-0.125, -4.0) rectangle(0.125, -4.5); \draw[color=DarkGreen, fill=PaleGreen] (-0.125, -4.0) rectangle(0.125, -4.5);
\node[color=DarkGreen, left=0.2cm] at (0.0, -4.25) {Update model}; \node[color=DarkGreen, left=0.2cm] at (0.0, -4.25) {Update model};
\end{scope} \end{scope}
% Ask even more segments % Ask even more segments
@ -75,16 +79,18 @@ A sequence diagram of what happens when downloading, parsing and rendering conte
\draw[color=purple] (0, 0) -- (2.5, -0.1); \draw[color=purple] (0, 0) -- (2.5, -0.1);
\node[color=purple, above] at(1.25, 0.0) {Ask segment}; \node[color=purple, above] at(1.25, 0.0) {Ask segment};
\draw[color=purple, fill=Orchid] (2.375, -0.1) rectangle (2.625, -1); \draw[color=purple, fill=Plum] (2.375, -0.1) rectangle (2.625, -1);
\node[color=purple, right=0.2cm] at (2.5, -0.55) {Compute utilities}; \node[color=purple, right=0.2cm] at (2.5, -0.55) {Compute utilities};
\draw[color=purple] (2.5, -1) -- (10, -2) -- (2.5, -3); \draw[color=purple] (2.5, -1) -- (10, -1.5);
\draw[color=purple, fill=PalePlum] (10, -1.5) -- (10, -2.5) -- (2.5, -3) -- (2.5, -2) -- cycle;
\node[color=purple, rotate=5] at (6.25, -2.25) {Download};
\draw[color=purple, fill=Orchid] (2.375, -3) rectangle (2.625, -3.9); \draw[color=purple, fill=Plum] (2.375, -3) rectangle (2.625, -3.9);
\node[color=purple, right=0.2cm] at(2.5, -3.45) {Parse segment}; \node[color=purple, right=0.2cm] at(2.5, -3.45) {Parse segment};
\draw[color=purple] (2.5, -3.9) -- (0, -4); \draw[color=purple] (2.5, -3.9) -- (0, -4);
\draw[color=purple, fill=Orchid] (-0.125, -4.0) rectangle(0.125, -4.5); \draw[color=purple, fill=Plum] (-0.125, -4.0) rectangle(0.125, -4.5);
\node[color=purple, left=0.2cm] at (0.0, -4.25) {Update model}; \node[color=purple, left=0.2cm] at (0.0, -4.25) {Update model};
\end{scope} \end{scope}