Informatics Practices
Assertion. For the same sets of data, you can create various charts using plot(), scatter(), pie(), bar() and barh().
Reason. All the data sets of a plot(), scatter(), bar() cannot be used by pie() ; it will work with only a single set of data.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
PyPlot
2 Likes
Answer
A is false but R is true.
Explanation
We can create various charts using plot()
, scatter()
, bar()
, and barh()
for the same datasets, but not using pie()
. The pie()
function specifically works with a single set of data, whereas the other functions can handle multiple datasets or series.
Answered By
1 Like
Related Questions
Assertion. A scatter chart simply plots the data points on a chart to show the trend in the data.
Reason. A line chart connects the plotted data points with a line.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion. Both scatter() and plot() functions of PyPlot can create scatter charts.
Reason. The plot() function can create line charts as well as scatter charts.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion. Five-point statistical summary of a data set can be visually represented.
Reason. The boxplot() function can plot the highest and lowest numbers of a data range, its median along with the upper and lower quartiles.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Assertion. Line graph is a tool for comparison and is created by plotting a series of several points and connecting them with a straight line.
Reason. You should never use a line chart when the chart is in a continuous data set.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.