draw legend when there are 2 or more plots