craiyon logo

A line graph titled 'Laundry Drying Experiment Results' shows laundry weight over time. Blue line: experimental group (fan wind); Red line: control group (no wind).

A line graph titled 'Laundry Drying Experiment Results' shows laundry weight over time. Blue line: experimental group (fan wind); Red line: control group (no wind).

import matplotlib.pyplot as plt # 시간 데이터 (분) time = [0, 15, 30, 45, 60, 75, 90] # 빨래 무게 데이터 (g) experimental = [50.0, 48.7, 47.5, 46.3, 45.0, 44.0, 43.0] # 팬 바람 control = [50.0, 49.2, 48.5, 47.8, 47.0, 46.2, 45.5] # 바람 없음 plt.figure(figsize=(8,5)) plt.plot(time, experimental, marker='o', color='blue', label='실험군 (팬 바람)') plt.plot(time, control, marker='o', color='red', label='대조군 (바람 없음)') plt.title('빨래 건조 실험 결과') plt.xlabel('시간 (분)') plt.ylabel('빨래 무게 (g)') plt.grid(True, linestyle='--', alpha=0.5) plt.legend() plt.tight_layout() plt.show() Mehr sehen