Local absorption spectra of artificial atoms and molecules