ich bin grad dabei einige Daten zu plotten und befinde mich jetzt vor dem für mich unlösbaren Problem, dass ich es nicht schaffe das Figure-fenster, welches durch plt.show() geöffnet wird, zu vergrößern.
Code: Alles auswählen
plt.subplot(5,1,1)
plt.plot(x_data,y_data, label = 'plot1')
plt.legend(loc = 'center left', bbox_to_anchor=(1, 0.5))
plt.subplot(5,1,2)
plt.plot(x_data,y_data, label = 'plot2')
plt.legend(loc = 'center left', bbox_to_anchor=(1, 0.5))
plt.subplot(5,1,3)
plt.plot(x_data,y_data, label = 'plot3')
plt.legend(loc = 'center left', bbox_to_anchor=(1, 0.5))
plt.subplot(5,1,4)
plt.plot(x_data,y_data, label = 'plot4')
plt.legend(loc = 'center left', bbox_to_anchor=(1, 0.5))
plt.subplot(5,1,5)
plt.plot(x_data,y_data, label = 'plot5')
plt.legend(loc = 'center left', bbox_to_anchor=(1, 0.5))
plt.show()
Gibt es also eine Möglichkeit das Fenster im Code zu vergößern, sodass sowohl die Subplots größer werden als auch die Legende angezeigt wird?
Vielen Dank für die Hilfe schonmal!
Finn
P.S. ich hoffe das Code-Beispiel reicht im mindesten aus, und ihr könnt erahnen was mein Problem ist!