sprectrum: save only if figname was given