Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
274a20f162e271e8246667efe0c200af
mooc-rr
Commits
5c23473d
Commit
5c23473d
authored
Feb 24, 2021
by
274a20f162e271e8246667efe0c200af
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modif allure graphiques
parent
0884468c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
exercice_fr.Rmd
module2/exo3/exercice_fr.Rmd
+4
-2
No files found.
module2/exo3/exercice_fr.Rmd
View file @
5c23473d
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment