The R Project SVN R

Rev

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

Rev 23077 Rev 23846
Line 68... Line 68...
68
axis(1, pos = 0, at=-1:1, lty = lt, col=4)## col & lty work only from R 1.6
68
axis(1, pos = 0, at=-1:1, lty = lt, col=4)## col & lty work only from R 1.6
69
par(op)
69
par(op)
70
axis(1, pos = 0, at=c(-2,2,3), lty = lt, col=4)
70
axis(1, pos = 0, at=c(-2,2,3), lty = lt, col=4)
71
mtext(side=1,"note the x-ticks on the other side of the bars")
71
mtext(side=1,"note the x-ticks on the other side of the bars")
72
 
72
 
73
## explicit xlab and ylab for non-1D  plot.table():
73
## plot.table(): explicit xlab and ylab for non-1D
74
data(UCBAdmissions)
74
data(UCBAdmissions)
75
plot(UCBAdmissions)# default x- and y-lab
75
plot(UCBAdmissions)# default x- and y-lab
76
plot(UCBAdmissions, xlab = "x label", ylab = "YY")# wrong in 1.5.1
76
plot(UCBAdmissions, xlab = "x label", ylab = "YY")# wrong in 1.5.1
-
 
77
##   axis suppression
-
 
78
plot(tt <- table(c(rep(0,7), rep(1,4), rep(5, 3))), axes = FALSE)
-
 
79
plot(tt, xaxt = "n")
-
 
80
## wrong till (incl.) 1.6.x