Plotting Systems Questions and Answers

Plotting Systems

Data Science Questions and Answers – Plotting Systems

This set of Data Science Multiple Choice Questions & Answers (MCQs) focuses on “Plotting Systems”.

1. Point out the wrong statement.
a) Plot are created with multiple functions only
b) Plots are created with both single and multiple function calls
c) Annotation in plot is not especially intuitive
d) None of the mentioned

2. Which of the following parameter defines line type such as dashed and dotted?
a) lty
b) pch
c) lwd
d) all of the mentioned

3. The core plotting engine is encapsulated in graphics package.
a) True
b) False

4. Which of the following argument specifies margin size with regards to par function?
a) las
b) bg
c) mar
d) all of the mentioned

5. How many stages commonly occurs in creation of plot?
a) 2
b) 5
c) 8
d) All of the mentioned

6. Base graphics are used most commonly for creating 2D graphics.
a) True
b) False

7. Which of the following block information is odd man out in the below figure?
data-science-questions-answers-plotting-systems-q1
a) Scatterplots
b) 5 number summary
c) 2D Graph
d) None of the mentioned

8. Which type of graph is shown in the following figure?
data-science-questions-answers-plotting-systems-q2
a) Scatterplot
b) Barplot
c) Overlaying
d) None of the mentioned

9. Which of the following annotation function is used to add or modify text?
a) word
b) graph
c) lines
d) all of the mentioned

10. Which of the following package is implemented by lattice plotting system?
a) grDevices
b) grid
c) graphics
d) all of the mentioned

This chapter will show you how to use ggplot2 to visualise your data. There are various graphing systems in R, but ggplot2 is one of the most attractive and versatile. ggplot2 implements the graphics grammar, a unified method for describing and constructing graphs.
plot() is the simplest basic plotting function. Depending on the class of the object being plotted, the plot() function creates a scatterplot or another style of plot. When plot() is called, a plot is drawn on the screen device (and open the screen device if not already open). In R, there are three main charting systems, each with its own set of features and modes of operation.

Leave a Reply

Your email address will not be published.