Page 67 - IPP-12-2024
P. 67

plt.hist(result['Highest'],bins=5,label="Highest marks",
               color="green",edgecolor="black")

                                           plt.title("COUNT OF SUBJECTS FOR
               DIFFERENT RANGE OF HIGHEST MARKS ")

                                           plt.xlabel("HIGHEST MARKS")

                                           plt.ylabel("FREQUENCY")

                                           plt.legend()

                                           plt.show()

                                       elif chbar==2:

               plt.hist(result['Average'],bins=5,label="Average
               Marks",color="yellow",edgecolor="black")

                                           plt.title("COUNT OF SUBJECTS FOR
               DIFFERENT RANGE OF AVERAGE MARKS")

                                           plt.xlabel("AVERAGE MARKS")
                                           plt.ylabel("FREQUENCY")

                                           plt.legend()

                                           plt.show()

                                       elif chbar==3:


               plt.hist(result['Percentage'],bins=5,label="Percentage of A1 &
               A2",color="orange",edgecolor="black")

                                           plt.title("COUNT OF SUBJECTS FOR
               DIFFERENT RANGE OF PERCENTAGE OF A1 & A2")

                                           plt.xlabel("PERCENTAGE OF A1 and
               A2")

                                           plt.ylabel("FREQUENCY")
                                           plt.legend()

                                           plt.show()

                                       elif chbar==4:

                                           break

                       elif ch == 8:
                           while(True):
   62   63   64   65   66   67   68   69   70   71   72