Generator to provide the plot fill data for a graph based on a list of
distances (X axis) and elevations (Y axis). Fill data is a
grade-dependant color and x and y co-ordinates needed to specify a
polygon on the graph so it can be filled in with the proper color.
- Parameters:
distances (list of float ) - list of distances for points in segment being
plotted
elevations (list of float ) - list of elevations for point in segment being
plotted
- Returns: (
float ,float ),
(float ,float ), string
- (x1, x2), (y1, y2), color
|