[R] help with a xyplot legend

From: Ronaldo Reis-Jr. <chrysopa_at_insecta.ufv.br>
Date: Thu 21 Jul 2005 - 06:44:54 EST


Hi,

I try to put a legend in a xyplot graphic.

xyplot(y~x|g,ylim=c(0,80),xlim=c(10,40),as.table=T,layout=c(2,3), ylab="N˙mero de machos capturados",xlab=expression(paste("Temperatura (",degree,"C)")), key=list(corner=c(0,0),x=0, y=0, text=list(legenda),lines=list(col=cor, lwd = espessura, lty=linha),columns=7,between=0.5,betwen.columns=0.5,cex=0.8))

The problem is that legend is very close do xlab. I try change corner=c(0,0),x=0, y=0, to corner=c(0,0),x=0, y=1, but in this way the legend dont appear.

How to make the vertical bottom area of the plot bigger to put the legend a bit separated of the xlabel?

Thanks
Ronaldo

-- 

O prešo da sabedoria Ú detestar tudo

--Mill˘r Fernandes
--
|>   // | \\   [***********************************]
|   ( §   § )  [Ronaldo Reis J˙nior                ]

|> V [UFV/DBA-Entomologia ]
| / \ [36570-000 Višosa - MG ] |> /(.''`.)\ [Fone: 31-3899-4007 ] | /(: :' :)\ [chrysopa@insecta.ufv.br ] |>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ] | ( `- ) [***********************************] |>> _/ \_Powered by GNU/Debian Woody/Sarge ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Jul 21 06:51:17 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:53 EST