Untitled
unknown
plain_text
2 years ago
317 B
6
Indexable
import matplotlib.pyplot as plt
years = [1993, 1996, 1999, 2002]
emissions = [38.2, 41.5, 45.1, 48.8]
plt.plot(years, emissions, marker='o')
plt.title('Global Greenhouse Gas Emissions (1993-2002)')
plt.xlabel('Year')
plt.ylabel('Emissions (Gigatons of CO2 equivalent)')
plt.xticks(years)
plt.grid(True)
plt.show()
Editor is loading...