diff --git a/module2/exo3/exercice_fr.Rmd b/module2/exo3/exercice_fr.Rmd index 93dbe874a437d8d7c336024ba01fe0b6a8f218d4..41b50297363e674972330489113defb0fdd1ba81 100644 --- a/module2/exo3/exercice_fr.Rmd +++ b/module2/exo3/exercice_fr.Rmd @@ -19,10 +19,12 @@ data <- c(14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7 ## Courbe ```{r} -plot(data, type = "l", col = "blue", ylim = c(0,25), xlab="", ylab="") +plot(data, type = "l", col = "blue", panel.first = grid(), ylim = c(0,25), xlab="", ylab="") +# panel.first = grid() permet d'ajouter un grillage en fond ``` ## Histogramme ```{r} -hist(data, col = "blue", ylim = c(0,25), xlim = c(0,25), xlab="", ylab="", main="") +hist(data, col = "blue", panel.first = grid(), ylim = c(0,25), xlim = c(0,25), xlab="", ylab="", main="") +# + box(col="black") # encadre le graphique mais une erreur apparait ``` \ No newline at end of file