If you always use the same modifications with theme() function, I highly suggest that you create your own theme. P + theme_bw() + labs(title = "Avec theme_bw()") The default theme used by ggplot2 is theme_gray() but I often switch for theme_bw() (for black and white). All elemements can be changed through the theme() function but there also are pre-configured. Ggplot2 theme manages how your graphic looks like.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |