Professional Documents
Culture Documents
January 13, 2020: Manglo, John Andrae B
January 13, 2020: Manglo, John Andrae B
Write the code here and submit a copy of the output through Cardinal Edge Worksheet Submission.
Code
plt.subplot(2,1,1)
plt.plot(year, engineering, 'red')
plt.title('Engineering')
plt.xlabel('Year')
plt.ylabel('Degrees Awarded (%)')
plt.subplot(2,1,2)
plt.plot(year, ms,'blue')
plt.title('Math and Statistics')
plt.xlabel('Year')
plt.ylabel('Degrees Awarded (%)')
plt.tight_layout()
plt.show()
Output
Page 1 of 1