Thanks so much for your prompt reply! Im trying to help my brother with his homework and he coudln't figure it out so now he gave up and went to sleep. I work night shift and am on night off so I said I'll try it out over nigth.

If I format the lines however the problem I get is multiple entries in the legend like "Tap Water HCl" and "Tap Water NaOH" rather than just "Tap Water"