updated readme and fixed legend problem when two graphs are displayed