Hello Gred, I try to read R-Reference, but I cant understand it.
What does par (xpd=NA)? and par('usr')) mean? Thank you. Kind regards, Edwin Am Freitag, 11. April 2008 19:19:24 schrieben Sie: > Yes, here is one way: > > plot(1:10, pch=1:2) > > par(xpd=NA) > > tmp.u <- par('usr') > > legend(tmp.u[1], tmp.u[4], xjust=0, yjust=0, c('a','b'), pch=1:2) > > You will probably want to increase the margins for a real case. See > ?par and the 'xpd' entry for details on the clipping and ?legend for > more details on creating the legend. > > Hope this helps, ______________________________________________ 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.