Solve problems with line plots