Shine the light through your sample, scan through the spectrum, and graph the results. Pretty easy. That’s not the only way ...