Informatics Practices
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.
PyPlot
3 Likes
Answer
A is true but R is false.
Explanation
A line graph is a tool for comparison, created by plotting a series of data points called 'markers' and connecting them with straight lines. This makes it easier to compare different data points and observe patterns. Line charts are suitable for continuous data sets, displaying information as a series of data and not restricted to discontinuous data sets.
Answered By
1 Like
Related Questions
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.
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.
Name the library of which the PyPlot is an interface.
Write the statement to import PyPlot in your script.