diff options
Diffstat (limited to 'results/analysis4_scalability.R')
| -rw-r--r-- | results/analysis4_scalability.R | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/results/analysis4_scalability.R b/results/analysis4_scalability.R index d799276..b1dae61 100644 --- a/results/analysis4_scalability.R +++ b/results/analysis4_scalability.R @@ -104,9 +104,15 @@ receiver180sPlotSuccess=ggplot(statsReceiver%>%filter(wakeupfor==180),aes(n_node -w=15 -h=9 -space=2 -ggsave("scalability_60s.pdf",plot=(sender60sPlotEnergy+theme(plot.margin=unit(c(0.1,space,0,0),"cm"))+receiver60sPlotEnergy)/sender60sPlotSuccess+plot_layout(guides = 'collect')&theme(legend.position="bottom"),width=w,height=h) -ggsave("scalability_180s.pdf",plot=(sender180sPlotEnergy+theme(plot.margin=unit(c(0.1,space,0,0),"cm"))+receiver180sPlotEnergy)/sender180sPlotSuccess+plot_layout(guides = 'collect')&theme(legend.position="bottom"),width=w,height=h) +w1=7 +h1=4 +w2=15 +h2=4 +ggsave("scalability_60s_sender_energy.pdf",plot=sender60sPlotEnergy+guides(fill = FALSE, color = FALSE),width=w1,height=h1) +ggsave("scalability_60s_receiver_energy.pdf",plot=receiver60sPlotEnergy+guides(fill = FALSE, color = FALSE),width=w1,height=h1) +ggsave("scalability_60s_success.pdf",plot=sender60sPlotSuccess,width=w2,height=h2) + +ggsave("scalability_180s_sender_energy.pdf",plot=sender180sPlotEnergy+guides(fill = FALSE, color = FALSE),width=w1,height=h1) +ggsave("scalability_180s_receiver_energy.pdf",plot=receiver180sPlotEnergy+guides(fill = FALSE, color = FALSE),width=w1,height=h1) +ggsave("scalability_180s_success.pdf",plot=sender180sPlotSuccess,width=w2,height=h2) |
