Answers for "matplot lib mehrere bilder nebeneinander"

0

matplot lib mehrere bilder nebeneinander

plt.subplot(121)  #sublot(Anzahl Zeilen Anzahl Spalten Bild Nummer)
plt.plot(x, y1)
plt.title('Sinus')
plt.xlim([0,2*np.pi])

plt.subplot(122)
plt.plot(x, y2)
plt.title('Cosinus')
plt.xlim([0,2*np.pi])
Posted by: Guest on May-17-2020
0

matplot lib mehrere bilder nebeneinander

%matplotlib inline
plt.subplots_adjust(wspace=0.5,hspace=0.5)

plt.figure(figsize=(8,8)) 

plt.subplot(221) 
plt.plot(x, y1)
plt.title('Sinus')
plt.xlim([0,2*np.pi])
Posted by: Guest on May-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language