added action to switch between plotting against wavelength and energy; I'm going to consider this as closing issue #12