Now I got point character thicker using panel.points(lwd=2), But I can't make it thicker in the legend of the plot. Here is an example:
xyplot(1:10~1:10,groups=rep(1:5,2),col=1:2,pch=0:1,type='p',cex=2,panel=panel.points,lwd=3, key=list(x=0.7,y=0.2,corner=c(0,0),type='p', points=list(col=1:2,pch=0:1,cex=2,lwd=2), text=list(lab=c('A','B'),cex=1.5,font=2))) Any suggestions? Thanks John ----- Original Message ---- From: array chip <arrayprof...@yahoo.com> To: Greg Snow <greg.s...@imail.org> Cc: r-help@r-project.org Sent: Thu, September 23, 2010 4:03:00 PM Subject: Re: [R] how to make point character thicker in xyplot? Thank you Greg. I also got it work by using panel.points (lwd=2) instead of using panel.xyplot() ----- Original Message ---- From: Greg Snow <greg.s...@imail.org> To: array chip <arrayprof...@yahoo.com>; "r-help@r-project.org" <r-help@r-project.org> Sent: Thu, September 23, 2010 2:48:06 PM Subject: RE: [R] how to make point character thicker in xyplot? There is probably a simpler way, but if you want full customization, look at panel.my.symbols in the TeachingDemos package. -----Original Message----- From: array chip <arrayprof...@yahoo.com> Sent: Thursday, September 23, 2010 2:52 PM To: r-help@r-project.org <r-help@r-project.org> Subject: [R] how to make point character thicker in xyplot? Is there anyway to make plotting point character being thicker in xyplot? I mean not larger which can achieved by "cex=2", but thicker. I tried lwd=2, but it didn't work. I know "lwd" works in regular plot() not only for lines, but also for points. For example plot(1:10, lwd=2) Thanks John ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.