1(ix)
In Matplotlib, xlabel and ylabel are used to:
- (a)add legend to the plot.
- (b)set the axis limit.
- (c)label x-axis and y-axis.
- (d)colour the x-axis and y-axis.
Show SolutionHide Solution↓
label x-axis and y-axis.
Reason — In Matplotlib, xlabel is used to label the x-axis and ylabel is used to label the y-axis of a plot, helping users understand what each axis represents.