Page 360 - Informatics_Practices_Fliipbook_Class12
P. 360

(viii) Color of the marker edges
              (ix)  Color of the marker faces

              (x)  Width of the marker edges

         Ans.  (i)  x
              (ii)  y

              (iii)  marker
              (iv)  markersize
              (v)  linestyle
              (vi)  color
              (vii)  linewidth

              (viii) markeredgecolor
              (ix)  markerfacecolor
              (x)  markeredgewidth

         115.  Provide the default values of following parameters of method plt.plot():
              (i)  marker
              (ii)  markersize
              (iii)  linestyle

              (iv)  color
              (v)  linewidth
              (vi)  markeredgecolor
              (vii)  markerfacecolor

              (viii) markeredgewidth

         Ans. (i)  'o'
              (ii)  6
              (iii)  '--'

              (iv)  'blue'
              (v)  1.0
              (vi)  'blue'
              (vii)  'blue'

              (viii) 1.0
         116.  Determine the methods of matplotlib.pyplot that can be used to perform the following:
              (i)  Set the label for the x-axis of the plot.

              (ii)  Set the label for the y-axis of the plot.
              (iii)  Set the title for the plot.
              (iv)  Saving a figure.
              (v)  To display a rectangular grid.

              (vi)  Setting  ticks on the x-axis marking the positions of the vertical lines of the grid.
              (vii)  Setting  ticks on the y-axis marking the positions of the horizontal lines of the grid.
              (viii) To draw the scatter plot comprising individual data points as markers on a two-dimensional graph.


          346  Touchpad Informatics Practices-XII
   355   356   357   358   359   360   361   362   363   364   365