Skip to content
Snippets Groups Projects
Commit f6306b7e authored by Martina Maggio's avatar Martina Maggio
Browse files

fig7 mod

parent bcedfa30
Branches
No related tags found
No related merge requests found
...@@ -6,9 +6,12 @@ ...@@ -6,9 +6,12 @@
\tikzset{font=\footnotesize} \tikzset{font=\footnotesize}
\usepgfplotslibrary{groupplots} \usepgfplotslibrary{groupplots}
\def\dataac{../results/n5_u70_f25/Jclass_s0.csv}
\def\dataaa{../results/n5_u70_f25/Jclass_s1.csv} \def\dataaa{../results/n5_u70_f25/Jclass_s1.csv}
\def\dataab{../results/n5_u70_f25/Jclass_s2.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} \begin{document}
...@@ -37,9 +40,10 @@ xlabel near ticks, ...@@ -37,9 +40,10 @@ xlabel near ticks,
legend columns=4, legend columns=4,
legend style={draw=none,at={(2.6,1.3)}}, legend style={draw=none,at={(2.6,1.3)}},
xlabel = {$T_d$ -- Kill}, xlabel = {$T_d$ -- Kill},
restrict y to domain=1:8.5,
] ]
\addplot[thick, black] {-1}; \addplot[thick, black] {-1};
\addlegendentry{\our} \addlegendentry{DMAC}
\addplot[thick, black, densely dashed] {-1}; \addplot[thick, black, densely dashed] {-1};
\addlegendentry{$J_{\max}$} \addlegendentry{$J_{\max}$}
\addplot[thick, black, dotted] {-1}; \addplot[thick, black, dotted] {-1};
...@@ -50,22 +54,22 @@ xlabel near ticks, ...@@ -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}; \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] 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, 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, dotted] table[x index=0, y index=2, col sep=comma] {\databa};
\addplot[thick, red, dashdotted] table[x index=0, y index=4, col sep=comma] {\dataaa}; \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}; \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] 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, 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, dotted] table[x index=0, y index=2, col sep=comma] {\databb};
\addplot[thick, blue, dashdotted] table[x index=0, y index=4, col sep=comma] {\dataab}; \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}; \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] 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, 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, dotted] table[x index=0, y index=2, col sep=comma] {\databc};
\addplot[thick, black!20!green, dashdotted] table[x index=0, y index=4, col sep=comma] {\dataac}; \addplot[thick, black!20!green, dashdotted] table[x index=0, y index=3, col sep=comma] {\databc};
\end{groupplot} \end{groupplot}
\end{tikzpicture} \end{tikzpicture}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment