[R] pch size in a legend
Jim Lemon
drjimlemon at gmail.com
Sat Jan 31 04:55:58 CET 2015
Hi Ahmed,
Hmmm, this seems to work for me (R-3.1.2, Linux)
legend(0,2100, legend=c("2009","2010","2012","2013","2014"),
col = 1,cex=1,lty=NA,pch=c(1,2,6,7,8),lwd=2,bty="n",pt.cex=2)
Jim
On Sat, Jan 31, 2015 at 8:49 AM, Ahmed Attia <ahmedatia80 at gmail.com> wrote:
> Hi R users,
>
> I would like to adjust the pch size in a legend without changing the
> text size, pt.cex does not do the job. R 2.15.2 32 bit.
>
> legend(0,2100, legend=c("2009","2010","2012","2013","2014"),
> col = 1,cex=1,lty=NA,pch=c(1,2,6,7,8),lwd=2,bty="n")
>
> Thanks
>
>
> Ahmed Attia, Ph.D.
> Agronomist & Soil Scientist
>
> Post-Doc Research Associate
> Texas A&M AgriLife Research-Vernon
> ahmed.attia at ag.tamu.edu
> Cell phone: 001-979-248-5215
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
More information about the R-help
mailing list