unified graphs into one script, added intensity graphs