Page 62 - IPP-12-2024
P. 62
elif chline==2:
plt.plot(result.index,result['Appeared'],label="Number of
students appeared")
plt.title("SUBJECTWISE NUMBER OF
STUDENTS APPEARED")
plt.xlabel("SUBJECTS")
plt.ylabel("NUMBER OF STUDENTS")
plt.xticks(rotation=30)
plt.legend()
plt.grid(True)
plt.show()
elif chline==3:
plt.plot(result.index,result['Average'],label="Average Marks
obtained")
plt.title("SUBJECT WISE AVERAGE
MARKS")
plt.xlabel("SUBJECTS")
plt.ylabel("AVERAGE MARKS")
plt.xticks(rotation=30)
plt.legend()
plt.grid(True)
plt.show()
elif chline==4:
plt.plot(result.index,result['Percentage'],label="Percentage
of A1 and A2")
plt.title("SUBJECT WISE PERCENTAGE
OF A1 AND A2")
plt.xlabel("SUBJECTS")
plt.ylabel("PERCENTAGE OF A1 AND
A2")
plt.xticks(rotation=30)