offset legend by 0.5 so that most lines are drawn sharply