Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
317 B
1
Indexable
Never
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()