From francois_birgand at ncsu.edu  Fri Sep 25 22:55:17 2009
From: francois_birgand at ncsu.edu (francois_birgand at ncsu.edu)
Date: Fri, 25 Sep 2009 22:55:17 +0200 (CEST)
Subject: [Rd] xaxs disactivated when asp=1 in plots (PR#13971)
Message-ID: <20090925205517.50797282EF56@mail.pubhealth.ku.dk>

Full_Name: Fran?ois Birgand
Version: 2.9.0
OS: windows xp
Submission from: (NULL) (152.1.16.161)


When I type this sequence:

x11()
Ylim<-c(0,14)
Xlim<-c(0,14)
plot(0,0,xlim=Xlim,ylim=Ylim,col="white",main="",xlab="",ylab="",bty="n",xaxt="n",yaxt="n",xaxs="i",yaxs="i",asp=1)
abline(h=c(0,14),lwd=2,col="grey")
abline(v=c(0,14),lwd=2,col="grey")
par(new=TRUE)
abline(h=seq(0,14,by=0.2),lty=3,col="grey")
abline(h=seq(0,14,by=1),lty=1,col="grey")
abline(v=seq(0,14,by=0.2),lty=3,col="grey")
abline(v=seq(0,14,by=1),lty=1,col="grey")
par(new=TRUE)

only yaxs="i" is taken into account while xaxs="i" is ignored.  When I remove
asp=1, xaxs="i" is activated again.
Small bug but kind of bothersome...!!

Congratulations for the great work you guys are doing!
Fran?ois



[Rd] xaxs disactivated when asp=1 in plots (PR#13971)
francois_birgand at ncsu.edu