From 92e347322bec05246aaf39de2c809b112f1747ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B9=20Marcer?= Date: Tue, 17 Mar 2020 23:01:01 +0100 Subject: [PATCH] ex-6: add ability to choose the fontsize in plot.py --- ex-6/plot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ex-6/plot.py b/ex-6/plot.py index eb57c84..1d68280 100755 --- a/ex-6/plot.py +++ b/ex-6/plot.py @@ -2,6 +2,9 @@ from pylab import * import sys +import matplotlib.pyplot as plt + +plt.rcParams['font.size'] = 20 a, b, f = loadtxt(sys.stdin, unpack=True) suptitle('Fraunhofer diffraction')