Adds plot legend