Divide by 7 energy on figure 8

This commit is contained in:
Loic Guegan 2019-07-19 10:51:16 +02:00
parent 8291ba5864
commit 6920157f29
3 changed files with 58 additions and 57 deletions

View file

@ -242,7 +242,7 @@ heating and cooling systems.
#+BEGIN_EXPORT latex
\begin{figure}
\centering
\includegraphics[width=0.6\linewidth]{./plots/home.png}
\includegraphics[width=0.5\linewidth]{./plots/home.png}
\caption{Overview of IoT devices.}
\label{fig:IoTdev}
\end{figure}
@ -286,7 +286,7 @@ same time.
#+BEGIN_EXPORT latex
\begin{figure}
\centering
\includegraphics[width=0.85\linewidth]{./plots/parts2.png}
\includegraphics[width=0.6\linewidth]{./plots/parts2.png}
\caption{Overview of the IoT architecture.}
\label{fig:parts}
\end{figure}
@ -388,7 +388,7 @@ part and the cloud part, as displayed on Figure \ref{fig:parts}.
#+BEGIN_EXPORT latex
\begin{figure}
\centering
\includegraphics[width=0.5\linewidth]{./plots/g5k-xp.png}
\includegraphics[width=0.45\linewidth]{./plots/g5k-xp.png}
\caption{Grid'5000 experimental setup.}
\label{fig:g5kExp}
\end{figure}
@ -596,7 +596,7 @@ In our case with small and sporadic network traffic, these results show that wit
\begin{figure}
\centering
\hspace{1cm}
\includegraphics[scale=0.3]{plots/final.png}
\includegraphics[scale=0.4]{plots/final.png}
\label{fig:end-to-end}
\caption{End-to-end network energy consumption using sensors interval of 10s}
\end{figure}
@ -1084,6 +1084,7 @@ applicability of our model.
fakeData$type=factor(fakeData$type,ordered=TRUE,levels=c("Sensors","Network","Cloud"))
# Plot
fakeData=fakeData%>%mutate(energy=energy/7) # Divide by 7 because 14 core so 1 machine can host 14 vm but we use redundancy (2VM for 1app)
p=ggplot(fakeData)+geom_bar(position="dodge2",colour="black",aes(x=sensorsNumber,y=energy,fill=type),stat="identity")+
xlab("Sensors Number")+ylab("Power Consumption (W)")+guides(fill=guide_legend(title="System Part"))
p=applyTheme(p)+theme(text = element_text(size=16))

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Before After
Before After