Thank you Sarah and Petit bleu for your help. I solved my problem with the code of Sarah. Komine -- View this message in context: http://r.789695.n4.nabble.com/Problem-with-legend-tp3826973p3827461.html Sent from the R help mailing list archive at Nabble.com.