playground:playground
Différences
Ci-dessous, les différences entre deux révisions de la page.
Dernière révisionLes deux révisions suivantes | |||
playground:playground [2023/04/04 18:21] – créée - modification externe 127.0.0.1 | playground:playground [2023/05/17 09:30] – mln_oceane.aucoin3 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== PlayGround ====== | ====== PlayGround ====== | ||
+ | |||
+ | Programme d' | ||
+ | d'un nuage de points. | ||
+ | N' | ||
+ | dans les fonctions. | ||
+ | """ | ||
+ | |||
+ | import matplotlib.pyplot as plt | ||
+ | import numpy as np | ||
+ | |||
+ | x = np.linspace(-2, | ||
+ | y = 10*np.cos(3*x) | ||
+ | plt.plot(x, | ||
+ | plt.axis([1.5, | ||
+ | |||
+ | plt.xlabel(' | ||
+ | plt.axvline() | ||
+ | plt.legend(loc=" | ||
+ | plt.title(' | ||
+ | |||
+ | plt.show() | ||
playground/playground.txt · Dernière modification : 2023/05/15 19:13 (modification externe)