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
12a5a79214b1354e349468ed6346f605
mooc-rr
Commits
7fd80350
Commit
7fd80350
authored
Jun 12, 2025
by
12a5a79214b1354e349468ed6346f605
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Readme.md
parent
2907fcaa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
Readme.md
journal/Readme.md
+22
-2
No files found.
journal/Readme.md
View file @
7fd80350
...
...
@@ -27,7 +27,7 @@
| Export HTML/PDF par nbconvert | Export HTML/PDF/Word via Pandoc | Export LaTeX/Beamer/HTML, styles personnalisés |
### Module2 Exo2
### Module2 Exo2
Exo3
```
python
import numpy as np
...
...
@@ -46,3 +46,23 @@ print("Écart-type :", np.std(donnees, ddof=1))
print("Minimum :", np.min(donnees))
print("Médiane :", np.median(donnees))
print("Maximum :", np.max(donnees))
import matplotlib.pyplot as plt
# Affichage graphique : Séquence plot + histogramme
fig, axs = plt.subplots(2, 1, figsize=(10, 8))
# Séquence plot
axs
[
0
]
.plot(donnees, marker='o', linestyle='-', color='blue')
axs
[
0
]
.set_title("Séquence plot des données")
axs
[
0
]
.set_xlabel("Index")
axs
[
0
]
.set_ylabel("Valeur")
# Histogramme
axs
[
1
]
.hist(donnees, bins=15, color='skyblue', edgecolor='black')
axs
[
1
]
.set_title("Histogramme des données")
axs
[
1
]
.set_xlabel("Valeur")
axs
[
1
]
.set_ylabel("Fréquence")
plt.tight_layout()
plt.show()
\ 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