- Questo topic ha 3 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 12 anni, 7 mesi fa da .
-
Topic
-
Ciao a tutti,
volevo chiedere se esiste un modo “intelligente” per inserire due tabelle una sopra l’altra all’interno della stessa pagina.Al momento io faccio così:
`
\begin{table}[p]
\centering
\begin{tabular}{S[table-format=2.0]
S[table-format=1.5]
S[table-format=1.5]S}
\multicolumn{4}{c}{\textit{North Side nodes}}\\
\toprule
\textbf{Node ID} & \textbf{TER} & \textbf{ETX} & \textbf{Diff. \%} \\
\midrule
1 & 1,01663 & 1,00609 & +1,0 \\
2 & 1,02447 & 1,00438 & +2,0 \\
3 & 1,01286 & 1,00632 & +0,6 \\
4 & 1,01424 & 1,00311 & +1,1 \\
5 & 1,01032 & 1,00224 & +0,8 \\
6 & 1,00873 & 1,00568 & +0,3 \\
7 & 1,00853 & 1,00376 & +0,5 \\
8 & 1,00661 & 1,00241 & +0,4 \\
9 & 1,01148 & 1,00182 & +1,0 \\
10 & 1,00523 & 1,00347 & +0,2 \\
11 & 1,00728 & 1,00309 & +0,4 \\
12 & 1,00731 & 1,00255 & +0,5 \\
13 & 1,00469 & 1,00415 & +0,1 \\
14 & 1,01262 & 1,02128 & -0,8 \\
15 & 1,02218 & 1,00893 & +1,3 \\
16 & 1,06824 & 1,15443 & -7,5 \\
17 & 1,1139 & 1,11135 & +0,2 \\
18 & 1,15678 & 1,27774 & -9,5 \\
19 & 1,16506 & 1,15828 & +0,6 \\
20 & 1,67362 & 1,17741 & +42,1 \\
\bottomrule
\end{tabular}
\bigskip
\begin{tabular}{S[table-format=2.0]
S[table-format=1.5]
S[table-format=1.5]S}
\multicolumn{4}{c}{\textit{South Side nodes}}\\
\toprule
\textbf{Node ID} & \textbf{TER} & \textbf{ETX} & \textbf{Diff. \%} \\
\midrule
21 & 1,0184 & 1,00626 & +1,2 \\
22 & 1,04249 & 1,0027 & +4,0 \\
23 & 1,01691 & 1,00337 & +1,3 \\
24 & 1,0279 & 1,00243 & +2,5 \\
25 & 1,02505 & 1,00383 & +2,1 \\
26 & 1,01486 & 1,0032 & +1,2 \\
27 & 1,0103 & 1,0018 & +0,8 \\
28 & 1,01694 & 1,00134 & +1,6 \\
29 & 1,01335 & 1,00158 & +1,2 \\
30 & 1,00883 & 1,0025 & +0,6 \\
31 & 1,00725 & 1,00312 & +0,4 \\
32 & 1,00827 & 1,00236 & +0,6 \\
33 & 1,0116 & 1,00284 & +0,9 \\
34 & 1,0091 & 1,00634 & +0,3 \\
35 & 1,04628 & 1,00678 & +3,9 \\
36 & 1,03507 & 1,01224 & +2,3 \\
37 & 1,17518 & 1,33101 & -11,7 \\
38 & 1,18635 & 1,33622 & -11,2 \\
39 & 1,40062 & 1,19163 & +17,5 \\
40 & 1,62266 & 1,2548 & +29,3 \\
\bottomrule
AVG & 1,0762 & 1,05337 & +2,2 \\
\end{tabular}
\caption{Average number of transmission required to correctly send one packet with the two metrics}
\label{tab:retransm-comparison}
\end{table}
`e il risultato è quello in allegato (Risultato 1).
[attachment=918]Risultato1.pdf[/attachment]Tuttavia, con quest’altra tabella, dichiarata nello stesso modo:
`
\begin{table}[p]
\centering
\begin{tabular}{S[table-format=2.0]
S[table-format=4.0]
S[table-format=3.0]
S[table-format=3.1]}
\multicolumn{4}{c}{\textit{North Side nodes}}\\
\toprule
\textbf{Node ID} & \textbf{TER} & \textbf{ETX} & \textbf{Diff. \%} \\
\midrule
1 & 179 & 101 & +77,2 \\
2 & 359 & 102 & +252,0 \\
3 & 107 & 119 & -10,1 \\
4 & 120 & 94 & +27,7 \\
5 & 144 & 87 & +65,5 \\
6 & 97 & 113 & -14,2 \\
7 & 120 & 111 & +8,1 \\
8 & 92 & 83 & +10,8 \\
9 & 172 & 83 & +107,2 \\
10 & 133 & 92 & +44,6 \\
11 & 114 & 92 & +23,9 \\
12 & 92 & 82 & +12,2 \\
13 & 104 & 91 & +14,3 \\
14 & 99 & 82 & +20,7 \\
15 & 106 & 87 & +21,8 \\
16 & 228 & 82 & +178,0 \\
17 & 593 & 207 & +186,5 \\
18 & 519 & 146 & +255,5 \\
19 & 360 & 144 & +150,0 \\
20 & 1492 & 268 & +456,7 \\
\bottomrule
\end{tabular}
\bigskip
\begin{tabular}{S[table-format=2.0]
S[table-format=4.0]
S[table-format=3.0]
S[table-format=3.1]}
\multicolumn{4}{c}{\textit{South Side nodes}}\\
\toprule
\textbf{Node ID} & \textbf{TER} & \textbf{ETX} & \textbf{Diff. \%} \\
\midrule
21 & 130 & 107 & +21,5 \\
22 & 153 & 97 & +57,7 \\
23 & 131 & 88 & +48,9 \\
24 & 120 & 92 & +30,4 \\
25 & 126 & 106 & +18,9 \\
26 & 122 & 88 & +38,6 \\
27 & 110 & 87 & +26,4 \\
28 & 172 & 82 & +109,8 \\
29 & 150 & 82 & +82,9 \\
30 & 108 & 87 & +24,1 \\
31 & 111 & 87 & +27,6 \\
32 & 118 & 91 & +29,7 \\
33 & 109 & 86 & +26,7 \\
34 & 118 & 98 & +20,4 \\
35 & 131 & 86 & +52,3 \\
36 & 112 & 85 & +31,8 \\
37 & 464 & 130 & +256,9 \\
38 & 483 & 116 & +316,4 \\
39 & 407 & 100 & +307,0 \\
40 & 769 & 296 & +159,8 \\
\bottomrule
AVG & 234 & 109 & +114,7 \\
\end{tabular}
\caption{Number of broadcasted beacons over three days for the two metrics}
\label{tab:beacons-comparison}
\end{table}
`il risultato è quello che potete vedere in allegato (Risultato 2).
[attachment=919]Risultato2.pdf[/attachment]Deduco quindi che il modo da me utilizzato per sovrapporre le due tabelle non sia la scelta ottimale.
Si può ottenere lo stesso risultato in un modo migliore?Vi ringrazio.
Riccardo
- Devi essere connesso per rispondere a questo topic.