मराठी

Name the plot which displays the statistical summary. Note: Give appropriate title, set xlabel and ylabel while attempting the following questions.

Advertisements
Advertisements

प्रश्न

Name the plot which displays the statistical summary.

Note: Give appropriate title, set xlabel and ylabel while attempting the following questions.

कोड लेखन
Advertisements

उत्तर

The plot which displays the statistical summary of data is called a Box Plot (Box and Whisker Plot).

A box plot shows the minimum value, maximum value, median, and quartile values of a dataset.

import matplotlib.pyplot as plt
marks = [15, 18, 21, 22, 25]
plt.boxplot(marks)
plt.title("Statistical Summary of Student Marks")
plt.xlabel("Class 12 Students")
plt.ylabel("Marks Scored")
plt.show()
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 4: Plotting Data using Matplotlib - Exercise [पृष्ठ १३४]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 12
पाठ 4 Plotting Data using Matplotlib
Exercise | Q 9. | पृष्ठ १३४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×