generated legend for first graph
changed PDF, added variables to results, and dealed with dots and float. Deleted graph button.