The R Project SVN R

Rev

Rev 83601 | Rev 88200 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83601 Rev 86239
Line 58... Line 58...
58
## in 1.5.0 all omit the fill colours.
58
## in 1.5.0 all omit the fill colours.
59
with(trees, symbols(Height, Volume, circles=Girth/24, inches=FALSE,
59
with(trees, symbols(Height, Volume, circles=Girth/24, inches=FALSE,
60
                    lty="blank", bg="blue"))
60
                    lty="blank", bg="blue"))
61
## in 1.5.0 ignored the lty.
61
## in 1.5.0 ignored the lty.
62
 
62
 
63
## axis() and par(mgp < 0) {keep this example S+ compatible!}:
63
## axis() and par(mgp < 0)
64
lt <- if(is.R()) "31" else 2
64
lt <-"31" # in R
65
x <- seq(-2,3, len=1001)
65
x <- seq(-2,3, len=1001)
66
op <- par(tck= +0.02, mgp = -c(3,2,0))
66
op <- par(tck= +0.02, mgp = -c(3,2,0))
67
plot(x, x^2 - 1.2, xaxt = "n", xlab="", type ='l', col = 2,
67
plot(x, x^2 - 1.2, xaxt = "n", xlab="", type ='l', col = 2,
68
     main = "mgp < 0: all ticks and labels inside `frame'")
68
     main = "mgp < 0: all ticks and labels inside `frame'")
69
x <- -2:3
69
x <- -2:3