x-axis plotlines code