1 2 3 4 5 6 7 8 9 10 11 12
| plt.figure()
plt.title("Schéma : lentille mince convergente")
plt.xlabel("Δ")
plt.grid(True)
plt.plot([OA,OA], [0,AB], c="red",label="Objet AB")
plt.plot([OA,0], [0,0], c="blue",label="Distance OA")
plt.plot([0,OAprime], [0,0], c="green",label="Distance OA'")
plt.plot([OAprime,OAprime], [0,(OAprime*AB)/(OA)], c="red",label="Image A'B'")
plt.plot([-1/(1/OAprime-1/OA),1/(1/OAprime-1/OA)], [0,0], "bs", c="black",label="Distance focale")
plt.axvline(color='k', marker='^')
plt.legend()
plt.show |