diff --git a/luftwiderstand.py b/luftwiderstand.py index 8638a14..8831656 100644 --- a/luftwiderstand.py +++ b/luftwiderstand.py @@ -102,9 +102,23 @@ for car in car_list: plot.plot(vel_list, y_fd) -plot.ylabel("Windwiderstand [%]") +plot.ylabel("Windwiderstand ID.3 [%]") plot.xlabel("Geschwindigkeit [km/h]") plot.title("Windwiderstand vs Geschwindigkeit") plot.legend(car_list_leg) plot.grid() -plot.show() \ No newline at end of file + +plot.figure() +y_fd = [] +for vel_kmh in vel_list: + fd_t = fd(rho_t, vel_kmh, c_val_id3, area_id3) + y_fd.append(fd_t) + +plot.plot(vel_list, y_fd) + +plot.ylabel("Windwiderstand [N]") +plot.xlabel("Geschwindigkeit [km/h]") +plot.title("Windwiderstand vs Geschwindigkeit") +plot.legend(car_list_leg) +plot.grid() +plot.show()