Merge branch 'master' of gitlab.inria.fr:lguegan/paper-lowrate-iot

This commit is contained in:
ORGERIE Anne-Cecile 2019-05-27 14:00:49 +02:00
commit c27a7c8be7
4 changed files with 4 additions and 3 deletions

1
.#2019-Mascots.org Symbolic link
View file

@ -0,0 +1 @@
loic@lguegan.1595:1558938768

View file

@ -105,7 +105,7 @@ Smart cities \cite{Ejaz2017}
\label{tab:net-energy}
\begin{tabular}{@{}lr@{}}
Parameter & Value \\ \midrule
Idle & 1J \\
Idle & 1W \\
Bytes (Tx/Rx) & 3.4nJ \\
Pkt (Tx/Rx) & 192.0nJ \\ \bottomrule
\end{tabular}
@ -645,8 +645,8 @@ Smart cities \cite{Ejaz2017}
data=data%>%mutate(sensorsNumber=fct_reorder(sensorsNumber,as.numeric(sensorsNumber)))
data=data%>%filter(sensorsNumber%in%c(2,4,6,8,10))
p=ggplot(data)+geom_bar(aes(x=sensorsNumber,y=energy,fill=type),position="identity",stat="identity")+
xlab(getLabel("sensorsNumber"))+ ylab("Energy Consumption (W)") + guides(fill=guide_legend(title="")) +coord_flip()
p=ggplot(data)+geom_bar(aes(x=sensorsNumber,y=energy,fill=type),position="dodge",stat="identity")+
xlab(getLabel("sensorsNumber"))+ ylab("Energy Consumption (W)") + guides(fill=guide_legend(title=""))
p=applyTheme(p)+theme(text = element_text(size=15))
size=5

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 7 KiB

Before After
Before After