diff --git a/artifact/figures/fig7.tex b/artifact/figures/fig7.tex index 7404074c821096025658430662f258e7ef4ea148..73f8e9ab6ce23e93b4a74da279b1b4caaa092760 100644 --- a/artifact/figures/fig7.tex +++ b/artifact/figures/fig7.tex @@ -6,9 +6,12 @@ \tikzset{font=\footnotesize} \usepgfplotslibrary{groupplots} -\def\dataac{../results/n5_u70_f25/Jclass_s0.csv} \def\dataaa{../results/n5_u70_f25/Jclass_s1.csv} \def\dataab{../results/n5_u70_f25/Jclass_s2.csv} +\def\dataac{../results/n5_u70_f25/Jclass_s0.csv} +\def\databa{../results/n5_u70_f25/JRob_maxmin_s1.csv} +\def\databb{../results/n5_u70_f25/JRob_maxmin_s2.csv} +\def\databc{../results/n5_u70_f25/JRob_maxmin_s0.csv} \begin{document} @@ -37,9 +40,10 @@ xlabel near ticks, legend columns=4, legend style={draw=none,at={(2.6,1.3)}}, xlabel = {$T_d$ -- Kill}, + restrict y to domain=1:8.5, ] \addplot[thick, black] {-1}; -\addlegendentry{\our} +\addlegendentry{DMAC} \addplot[thick, black, densely dashed] {-1}; \addlegendentry{$J_{\max}$} \addplot[thick, black, dotted] {-1}; @@ -50,22 +54,22 @@ xlabel near ticks, \node[align=right,draw=black!30,fill=white] (lab) at (axis cs:1.35,6.5) {$N_T=5$, $U_{\Gamma'}=0.7$\\$R_d^B \in [0.15,0.25]\,$s\\Integrator}; \addplot[thick, red] table[x index=0, y index=1, col sep=comma] {\dataaa}; \addplot[thick, red, densely dashed] table[x index=0, y index=2, col sep=comma] {\dataaa}; -\addplot[thick, red, dotted] table[x index=0, y index=3, col sep=comma] {\dataaa}; -\addplot[thick, red, dashdotted] table[x index=0, y index=4, col sep=comma] {\dataaa}; +\addplot[thick, red, dotted] table[x index=0, y index=2, col sep=comma] {\databa}; +\addplot[thick, red, dashdotted] table[x index=0, y index=3, col sep=comma] {\databa}; -\nextgroupplot[xlabel = {$T_d$ -- Skip-Next},] +\nextgroupplot[xlabel = {$T_d$ -- Skip-Next}, restrict y to domain=1:8.5] \node[align=right,draw=black!30,fill=white] (lab) at (axis cs:1.35,6.5) {$N_T=5$, $U_{\Gamma'}=0.7$\\$R_d^B \in [0.15,0.25]\,$s\\Integrator}; \addplot[thick, blue] table[x index=0, y index=1, col sep=comma] {\dataab}; \addplot[thick, blue, densely dashed] table[x index=0, y index=2, col sep=comma] {\dataab}; -\addplot[thick, blue, dotted] table[x index=0, y index=3, col sep=comma] {\dataab}; -\addplot[thick, blue, dashdotted] table[x index=0, y index=4, col sep=comma] {\dataab}; +\addplot[thick, blue, dotted] table[x index=0, y index=2, col sep=comma] {\databb}; +\addplot[thick, blue, dashdotted] table[x index=0, y index=3, col sep=comma] {\databb}; -\nextgroupplot[xlabel = {$T_d$ -- Queue(1)},] +\nextgroupplot[xlabel = {$T_d$ -- Queue(1)}, restrict y to domain=1:8.5] \node[align=right,draw=black!30,fill=white] (lab) at (axis cs:1.35,6.5) {$N_T=5$, $U_{\Gamma'}=0.7$\\$R_d^B \in [0.15,0.25]\,$s\\Integrator}; \addplot[thick, black!20!green] table[x index=0, y index=1, col sep=comma] {\dataac}; \addplot[thick, black!20!green, densely dashed] table[x index=0, y index=2, col sep=comma] {\dataac}; -\addplot[thick, black!20!green, dotted] table[x index=0, y index=3, col sep=comma] {\dataac}; -\addplot[thick, black!20!green, dashdotted] table[x index=0, y index=4, col sep=comma] {\dataac}; +\addplot[thick, black!20!green, dotted] table[x index=0, y index=2, col sep=comma] {\databc}; +\addplot[thick, black!20!green, dashdotted] table[x index=0, y index=3, col sep=comma] {\databc}; \end{groupplot} \end{tikzpicture}