Closed jordansread closed 8 years ago
usrDef <- gsplot() %>%
points(x=1, y=2, side=c(3,2), legend.name="Points 1", cex=3, xlab='cat')
lim(usrDef, side=3) <- c(0.2,NA)
usrDef <- points(usrDef, 5,2, side=c(3,2))
usrDef
now this supports lists:
myplot <- gsplot() %>%
points(1:3, 2:4) %>%
lines(1:5, 5:1)
lim(myplot) <- list('side.1'=c(0.5,4))
lim(myplot)
$side.1
[1] 0.5 4.0
$side.2
[1] 1 5
set lims: