lutz.thieme@amd.com
2002-Apr-18 07:48 UTC
[R] grid lines outside plot region in version R1.4.1
Hello everybody, if I'm using par(xpd=NA) gridlines will plotted outside the plotting region. This is "new" (and, in my opinion, unaesthetic) in version 1.4 - compared to version 1.3. Is this a bug or a feature? Example: ------------------ par(xpd=NA) plot(1:11) grid() ------------------ platform sparc-sun-solaris2.6 arch sparc os solaris2.6 system sparc, solaris2.6 status major 1 minor 4.1 year 2002 month 01 day 30 language R Best regards, Lutz Lutz Thieme AMD Saxony Manfacturing GmbH Product Engineering phone: +49 351 277-4269 fax: +49 351 277-9-4269 email: lutz.thieme at amd.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
ripley@stats.ox.ac.uk
2002-Apr-18 08:14 UTC
[R] grid lines outside plot region in version R1.4.1
On Thu, 18 Apr 2002 lutz.thieme at amd.com wrote:> Hello everybody, > > if I'm using par(xpd=NA) gridlines will plotted outside the plotting region. This is "new" (and, in my > opinion, unaesthetic) in version 1.4 - compared to version 1.3. Is this a bug or a feature?There are no such versions. I am not being picky here: see the NEWS for 1.3.1. It appears this was changed by a bug fix for abline in that version, so 1.3.0 and 1.3.1 behaved differently. Try adding xpd=FALSE to the abline calls inside grid().> > Example: > ------------------ > par(xpd=NA) > plot(1:11) > grid() > ------------------ > platform sparc-sun-solaris2.6 > arch sparc > os solaris2.6 > system sparc, solaris2.6 > status > major 1 > minor 4.1 > year 2002 > month 01 > day 30 > language R > > Best regards, > > Lutz > > Lutz Thieme > AMD Saxony Manfacturing GmbH > Product Engineering > phone: +49 351 277-4269 > fax: +49 351 277-9-4269 > email: lutz.thieme at amd.com > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._