Home »
Python »
Matplotlib MCQs
Which function is used to draw points (markers) in a diagram?
10. Which function is used to draw points (markers) in a diagram?
- write()
- draw()
- plot()
- paint()
Answer: C) plot()
Explanation:
The plot() function is used to draw points (markers) in a diagram. The syntax of plot() function is –
plot(x, y, scalex, scaley, data, **kwargs)