From 777a0d7527d2b52a82ddcc831c9095f5f20af1d2 Mon Sep 17 00:00:00 2001 From: aaaaaa Date: Thu, 4 Jun 2020 14:51:22 +0200 Subject: [PATCH] ajout theme_bw --- module2/exo3/exercice_fr.Rmd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/module2/exo3/exercice_fr.Rmd b/module2/exo3/exercice_fr.Rmd index d2d08a7..26c93cf 100644 --- a/module2/exo3/exercice_fr.Rmd +++ b/module2/exo3/exercice_fr.Rmd @@ -31,7 +31,8 @@ data.frame(dat) %>% geom_line(col = "blue") + scale_x_continuous(limits = c(0, 100), breaks = seq(0, 100, by = 20), expand = c(0, 0)) + scale_y_continuous(limits = c(0, 25), breaks = seq(0, 25, by = 5), expand = c(0, 0)) + - labs(x = "", y = "") + labs(x = "", y = "") + + theme_bw() ``` # Histogramme @@ -40,7 +41,9 @@ Bien qu'utilisant le même nombre de "bins" que dans l'image attendue (10 "bins" data.frame(dat) %>% ggplot(aes(x = dat)) + geom_histogram(bins = 10, fill = "blue", col = "black") + - labs(x = "", y = "") + scale_y_continuous(limits = c(0, 27), breaks = seq(0, 30, by = 5), expand = c(0, 0)) + + labs(x = "", y = "") + + theme_bw() ``` -- 2.18.1