|
|
|
@ -2,7 +2,7 @@ import matplotlib.pyplot as plt
|
|
|
|
|
import numpy as np
|
|
|
|
|
from typing import Tuple
|
|
|
|
|
|
|
|
|
|
markers = np.arange(-3, 4)
|
|
|
|
|
markers = np.arange(-3, 4, 0.001)
|
|
|
|
|
def droite(T: np.array, a: int, c: int, b: int, d: int) -> Tuple[Tuple[np.array, np.array], Tuple[np.array, np.array]]:
|
|
|
|
|
marques = a + b * markers, c + d * markers
|
|
|
|
|
points = a + b * T, c + d * T
|
|
|
|
@ -31,4 +31,3 @@ ax.set_xticks(range(-5, 6))
|
|
|
|
|
ax.set_yticks(range(-5, 6))
|
|
|
|
|
|
|
|
|
|
plt.show()
|
|
|
|
|
|
|
|
|
|