graphique evolution du stockage PAPPSO

This commit is contained in:
Olivier Langella 2022-01-05 19:40:57 +01:00
parent 5e878f9fc4
commit 385ea05377
1 changed files with 28 additions and 0 deletions

28
deluge/deluge.R Normal file
View File

@ -0,0 +1,28 @@
# Inserting data
pappsodata <- data.frame(annee=rep(2001:2022,2),
dd=c(0.1, 0.3, 0.4, 0.7),
pappso=c(0.1, 0.1, 0.1, 0.1)
)
espace_dd <- c(c(0.1, 0.3, 0.4, 0.7),rep(0, 18))
espace_pappso <- c(c(0.1, 0.1, 0.1, 0.1),rep(0, 18))
pappsodata$type <- c(rep("dd", 22), rep("pappso", 22))
pappsodata$espace <- c(espace_dd,espace_pappso)
# Bar Plot
library(ggplot2)
plt <-ggplot(data=pappsodata, aes(x=annee, y=espace, colour = factor(type), shape = factor(type))) +
geom_line() +
geom_point() +
theme_classic()
plt