diff --git a/04-matplotlib/examples.py b/04-matplotlib/examples.py index 556e4ac9a1702cee24b7de341522e372ec39ea8a..87c50200d54af99de8e60930c02521caa4441845 100644 --- a/04-matplotlib/examples.py +++ b/04-matplotlib/examples.py @@ -2,6 +2,9 @@ import numpy as np import matplotlib.pyplot as plt import math +# Základní velikost písma +plt.rcParams.update({'font.size': 22}) + # Triviální příklad: jedna křivka def example1(): x = np.linspace(0, 2, 100) @@ -57,7 +60,7 @@ def example7(): plt.fill_between(x, x**2, x**3) plt.show() -# Polární souřadnice: srdovka +# Polární souřadnice: srdcovka def example8(): phi = np.linspace(0, 2*math.pi, 100) r = 1 - np.cos(phi) @@ -143,4 +146,4 @@ def example14(): plt.show() -example1() \ No newline at end of file +# example1()