[R 1.6.1]

In biplot() there is coded:

 if (missing(xlim) && missing(ylim))
        xlim <- ylim <- rangx1 <- rangx2 <- range(rangx1, rangx2)
    else if (missing(xlim))
        xlim <- rangx1
    else ylim <- rangx2

With the code above, ylim will be overwritten
if xlim _and_ ylim are given as arguments.
To accept ylim, the code could be:

 if (missing(xlim) && missing(ylim))
        xlim <- ylim <- rangx1 <- rangx2 <- range(rangx1, rangx2)
    else{
        if (missing(xlim))
            xlim <- rangx1
        if (missing(ylim))
            ylim <- rangx2
    }


Wolfram

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to