More dat more curves:wq

gp
This commit is contained in:
2019-10-04 15:31:07 +02:00
parent 393a9b9ffa
commit 343cde10f5
26 changed files with 281512 additions and 23 deletions

View File

@@ -38,7 +38,9 @@ anchorcolor = blue]{hyperref}
\usetikzlibrary{shadows}
\usetikzlibrary{arrows.meta}
\newcommand{\tikzwidth}{0.95\columnwidth}
\newcommand{\tikzhalfwidth}{0.475\columnwidth}
\newcommand{\tikzheight}{0.7\columnwidth}
\newcommand{\tikzhalfheight}{0.35\columnwidth}
\tikzset{
double arrow/.style args={#1 colored by #2 and #3}{

View File

@@ -83,7 +83,6 @@ Another thing is that people do not like waiting after clicking a bookmark, and
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel=Time (in s),
ylabel=PSNR,
no markers,
width=\tikzwidth,
@@ -93,16 +92,41 @@ Another thing is that people do not like waiting after clicking a bookmark, and
xmin=0,
xmax=60,
ymin=0,
name=first plot,
xmajorticks=false,
]
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/second-experiment-0.dat};
\addplot table [y=y, x=x]{assets/system-bookmarks/final-results/second-experiment-0.dat};
\addlegendentry{Greedy}
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/second-experiment-1.dat};
\addplot table [y=y, x=x]{assets/system-bookmarks/final-results/second-experiment-1.dat};
\addlegendentry{Greedy optimized for bookmarks}
\end{axis}
\begin{axis}[
xlabel=Time (in s),
ylabel=Ratio of clicks,
no markers,
width=\tikzwidth,
height=\tikzhalfheight,
cycle list name=mystyle,
legend pos=south east,
xmin=0,
xmax=60,
ymin=0,
ymax=1,
at=(first plot.south),
anchor=north,
yshift=-0.5cm,
]
\addplot[smooth, color=DarkGreen] table [y=y, x=x]{assets/system-bookmarks/final-results/second-experiment-2.dat};
\addplot[smooth, color=blue] table [dashed, y=y, x=x]{assets/system-bookmarks/final-results/second-experiment-3.dat};
\end{axis}
\end{tikzpicture}
\caption{Comparison of the PSNR during the second experiment}
\caption{Comparison of the PSNR during the second experiment: above, PSNR for greedy and greedy optimized for bookmarks; below, ratio of people clicking on a bookmark.}
\end{figure}
\begin{figure}[th]
@@ -120,9 +144,9 @@ Another thing is that people do not like waiting after clicking a bookmark, and
xmax=10,
]
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/second-experiment-after-clicks-0.dat};
\addplot table [y=y, x=x]{assets/system-bookmarks/final-results/second-experiment-after-clicks-0.dat};
\addlegendentry{Greedy}
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/second-experiment-after-clicks-1.dat};
\addplot table [y=y, x=x]{assets/system-bookmarks/final-results/second-experiment-after-clicks-1.dat};
\addlegendentry{Greedy optimized for bookmarks}
\end{axis}
@@ -134,7 +158,6 @@ Another thing is that people do not like waiting after clicking a bookmark, and
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel=Time (in s),
ylabel=PSNR,
no markers,
width=\tikzwidth,
@@ -144,39 +167,39 @@ Another thing is that people do not like waiting after clicking a bookmark, and
xmin=0,
xmax=60,
ymin=0,
name=first plot,
xmajorticks=false,
]
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/third-experiment-0.dat};
\addplot table [y=y, x=x]{assets/system-bookmarks/final-results/third-experiment-0.dat};
\addlegendentry{Greedy}
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/third-experiment-1.dat};
\addplot table [y=y, x=x]{assets/system-bookmarks/final-results/third-experiment-1.dat};
\addlegendentry{Greedy optimized for bookmarks}
\end{axis}
\end{tikzpicture}
\caption{Comparison of the PSNR during the third experiment}
\end{figure}
\begin{figure}[th]
\centering
\begin{tikzpicture}
\begin{axis}[
xlabel=Time (in s),
ylabel=PSNR,
ylabel=Ratio of clicks,
no markers,
width=\tikzwidth,
height=\tikzheight,
height=\tikzhalfheight,
cycle list name=mystyle,
legend pos=south east,
xmin=0,
xmax=10,
xmax=60,
ymin=0,
ymax=1,
at=(first plot.south),
anchor=north,
yshift=-0.5cm,
]
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/third-experiment-after-clicks-0.dat};
\addlegendentry{Greedy}
\addplot table [y=y, x=x]{assets/system-bookmarks/simulation-results/third-experiment-after-clicks-1.dat};
\addlegendentry{Greedy optimized for bookmarks}
\addplot[smooth, color=DarkGreen] table [y=y, x=x]{assets/system-bookmarks/final-results/third-experiment-2.dat};
\addplot[smooth, color=blue] table [dashed, y=y, x=x]{assets/system-bookmarks/final-results/third-experiment-3.dat};
\end{axis}
\end{tikzpicture}
\caption{Comparison of the PSNR after a click on a bookmark during the third experiment}
\caption{Comparison of the PSNR during the third experiment: above, PSNR for greedy and greedy optimized for bookmarks; below, ratio of people clicking on a bookmark.}
\end{figure}