We show that the density functions of nearest neighbor spacing distributions for the zeros of the real or imaginary part of the Riemann xi-function on vertical lines are described by the M-function which appears in value distribution of the logarithmic derivative of the Riemann zeta-function on vertical lines.