diff --git a/python/polyedre.py b/python/polyedre.py new file mode 100644 index 0000000000000000000000000000000000000000..6cb636392f8f719b6d2dcf6be8e9172128f5a8c6 --- /dev/null +++ b/python/polyedre.py @@ -0,0 +1,13 @@ +import matplotlib.pyplot as plt +import numpy as np + +x1 = np.arange(0, 6.0, 0.1) +x2 = (59 - 10 * x1) / 12 + +x2max = np.max(x2) +y2 = np.arange(0, x2max, 0.1) + +plt.plot(x1,x2,'k-') +plt.plot(x1,0*x1,'r-') +plt.plot(0*y2,y2,'b-') +plt.show() \ No newline at end of file