Which of the following pairs of quantities can be plotted against each other to produce an H-R diagram?

  1. Temperature and distance
  2. Temperature and spectral class
  3. Luminosity and spectral class
  4. Luminosity and distance