Function drawlinegraph that generates a line graph

Function drawlinegraph that generates a line graph

Computer Science

When you are trying to represent the behavior of some quantity that varies over time, one of the usual tools is the line graph, in which a set of data values are plotted on an x-y grid with each pair of adjacent points connected by a straight-line. For example, given the following set of 10 points: (0.0, 0.67) (0.4, 0.68) (0.8,0.71) (1.2,0.86) (1.6,0.86) (2.0,1.30) (2.8,1.81) (3.2,1.46) (3.6,1.86)

Write a function DrawLineGraph that generates a line graph given an array of x-coordinate values, a second array of corresponding y-coordinate values, and the number of data points.

Order from us and get better grades. We are the service you have been looking for.