abschlussarbeit-template/code/pyplot2.py

9 lines
291 B
Python
Raw Permalink Normal View History

2024-05-17 19:01:22 +02:00
import numpy as np, matplotlib.pyplot as plt
plt.rcParams["font.family"] = ["Linux Libertine O", "sans-serif"]
plt.rcParams["font.size"] = 12
plt.rcParams["figure.figsize"] = (4,3) # inches
x = np.arange(-1.3, 1.3, .01)
plt.plot(x, x**2)
plt.tight_layout()
plt.savefig("bilder/pyplot2.pdf")