New update fichier-markdown.md

parent d132e6b1
...@@ -26,8 +26,21 @@ cf la *[Sous-partie 3](## Sous-partie 3 : Code)* pour plus d'information. <!-- N ...@@ -26,8 +26,21 @@ cf la *[Sous-partie 3](## Sous-partie 3 : Code)* pour plus d'information. <!-- N
## Sous-partie 3 : Code ## Sous-partie 3 : Code
``` ```python
# block de code import numpy as np
import matplotlib.pyplot as plt
plt.rc('text', usetex=True)
N = 0
xMax, yMax = 5, 5
fig, a = plt.subplots()
a.spines['top'].set_visible(False) ; a.spines['bottom'].set_visible(False)
a.spines['right'].set_visible(False) ; a.spines['left'].set_visible(False)
X = np.linspace(0, xMax, N)
a.set_xlim(0,xMax)
a.set_ylim(0,yMax)
plt.show()
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment