Page 160 - Touhpad Ai
P. 160

Output:




























              In the above program the following attributes have been used:
              u  linewidth: The width of the line
              u  linestyle: The style of line i.e., solid, dashed, dot, dashdot marker, markersize, and markeredgecolor - sets the marker’s
                 shape, size and marker edge colour, respectively
              u  marker: Sets the marker style for the data points

              u  markersize: Sets the size of the markers
              u  color: Sets the colour of the line
              u  label: Sets the label for the line plot
              In Excel, select the data, click on Insert   Choose the Chart Type.




























              You can also customise your chart using the options in the Chart Design tab (like title, colour, data labels, etc.)


              Bar Graph
              A bar graph, sometimes referred to as a horizontal column chart, is well-liked for a reason that it swiftly visualises
              data sets and is easy on the eyes to visualise. You can rapidly determine which bar is the highest or lowest as well as
              the incremental changes between bars. The bar graph is best suited to represent categorical data.

                 158    Touchpad Artificial Intelligence - XI
   155   156   157   158   159   160   161   162   163   164   165