Area Chart
GPU Temperature Monitor
Graphics card temperature during gaming session
Output
Python
import matplotlib.pyplot as plt
import numpy as np
np.random.seed(42)
time = np.arange(0, 120) # 2 hours in minutes
# Simulate gaming load
idle = 35 + np.random.normal(0, 2, 10)
ramp_up = np.linspace(35, 78, 15) + np.random.normal(0, 2, 15)
gaming = 75 + 5*np.sin(np.arange(70)/10) + np.random.normal(0, 3, 70)
cool_down = np.linspace(78, 40, 25) + np.random.normal(0, 2, 25)
temp = np.concatenate([idle, ramp_up, gaming, cool_down])
fig, ax = plt.subplots(figsize=(10, 5), facecolor='#0a0a0f')
ax.set_facecolor('#0a0a0f')
# Temperature zones
ax.axhspan(0, 60, alpha=0.1, color='#6CF527')
ax.axhspan(60, 80, alpha=0.1, color='#F5B027')
ax.axhspan(80, 100, alpha=0.1, color='#F5276C')
ax.fill_between(time, 0, temp, alpha=0.4, color='#F54927')
ax.plot(time, temp, color='#F54927', linewidth=2)
# Threshold lines
ax.axhline(80, color='#F5276C', linewidth=1, linestyle='--', alpha=0.7)
ax.text(122, 80, 'Throttle', color='#F5276C', fontsize=9, va='center')
ax.set_xlabel('Time (minutes)', color='white', fontsize=11)
ax.set_ylabel('Temperature (°C)', color='white', fontsize=11)
ax.set_title('GPU Temperature - Gaming Session', color='white', fontsize=14, fontweight='bold', pad=15)
ax.tick_params(colors='#888888', labelsize=9)
for spine in ax.spines.values():
spine.set_color('#333333')
ax.set_xlim(0, 120)
ax.set_ylim(20, 95)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
Basic Charts
More Area Chart examples
☕