EN
We present a simple procedure which allows us to shift the positron annihilation spectra, e.g., the Doppler broadening spectrum of the annihilation line. That is especially required when we wish to compare different spectra obtained with a spectrometer with the reduction of background. As an application of the obtained algorithm we present the studies of positron annihilation in carbon material samples.