draws lines instead of datapoints