[R] plot() accepts arrays of cex and col, xyplot() does not

Wolfram Fischer - Z/I/M wolfram at fischer-zim.ch
Fri May 31 16:15:06 CEST 2002


An inconsistancy:

    n <- 6
    x <- 1:n
    y <- rnorm(1:n)
    q <- ( x %% 3 + 1 ) * 2
    plot( x, y, cex=q, col=q )
    xyplot( x ~ y, cex=q, col=q )

While plot() draws different sizes and colors
xyplot() uses only one color and size.

Wolfram Fischer

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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