To place a reference line between two discrete tick values, use the DISCRETEOFFSET option. The value for this option can…