[R] R: Error in plot.new() : axis style "d" not implemented
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue Nov 12 19:31:35 CET 2002
"Hinnerk Boriss" <boriss at izbi.uni-leipzig.de> writes:
> Hi there!
>
> Both on windows and Solaris platforms I run into troubles when trying to
> draw two plots on top of each other. Here a short code example:
>
> > x1 <- c(2,3,4,5,6,7,8)
> > y1 <- sin(x1)
> > x2 <- c(1,2,3,4,5,6,7,8,9,10)
> > y2 <- cos(x2)
> > d1 <- cbind(x1,y1)
> > d2 <- cbind(x2,y2)
> > plot(d1)
> > par(new=T, xaxs="d")
> > plot(d2)
> Error in plot.new() : axis style "d" unimplemented
> >
>
>
> And here an excerpt from the R help pages:
> xaxs
> The style of axis interval calculation to be used for the x-axis.
> Possible values are "r", "i", "e", "s", "d". The styles are generally
....
> current axis should be used on subsequent plots. (Only "r" and "i"
> styles are currently implemented)
>
> As I understand the manual pages, this should work. However it doesn't.
Which part of 'Only "r" and "i"' did you misunderstand if you expect
"d" to work?
Patches will be considered....
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list