changed result fig bar plot to line plot