Informatics Practices
Which of the following plots makes it easy to visualize a trend in data over intervals of time.
- Box plot
- Histogram
- Line Chart
- Bar chart
PyPlot
1 Like
Answer
Line Chart
Reason — A line chart is a type of plot that displays data as a series of points connected by lines, making it easy to visualize trends in data over intervals of time.
Answered By
2 Likes
Related Questions
The part of chart which identifies different sets of data plotted on plot by using different colors is called:
- legends
- title
- axes
- figure
Which of the following is an incorrect example of savefig() function?
- plt.savefig("bar1.pdf" )
- plt.savefig("bar1.png")
- plt.savefig("bar1.eps")
- plt.savefig("bar1.ppt")
COVID-19 patient analysis in the Mumbai region is to be plotted. The command used to give title to X-axis as "No. of Patients" in the graph is:
- plt.show()
- plt.plot("No. of Patients")
- plt.xlabel("No. of Patients")
- plt.title("No. of Patients")
Python Matplotlib …………… is used to compare different categorical or discrete variables.
- line plot
- bar graph
- histogram
- boxplot