Subversion Repositories bdplot

Rev

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

Rev 62 Rev 65
Line 1... Line 1...
1
 
1
 
2
## so far, there's no end function, so should it just be called bdsharex?
2
## so far, there's no end function, so should it just be called bdsharex?
3
bdsharex.start <- function(nplots){
3
bdsharex.start <- function(nplots,heights=NULL){
-
 
4
  if(!is.null(heights)){
-
 
5
    if(length(heights)!=nplots) stop("If !is.null(heights), heights must be of length nplots.")
-
 
6
  }
4
  layout(1:(nplots+2), heights=c(lcm(0.1), rep(1,nplots), lcm(1)))
7
  layout(1:(nplots+2), heights=c(lcm(0.1), rep(1,nplots), lcm(1)))
5
  ##  bdp(mar.lab=c(0,5,0.1,1),xaxt="n",las=1,mgp=c(3.5, 1, 0))
8
  ##  bdp(mar.lab=c(0,5,0.1,1),xaxt="n",las=1,mgp=c(3.5, 1, 0))
6
  bdp(mar.nolab=c(0,bdp()$mar.nolab[2],0,bdp()$mar.nolab[4]))
9
  bdp(mar.nolab=c(0,bdp()$mar.nolab[2],0,bdp()$mar.nolab[4]))
7
  bdp(mar.lab=c(0,bdp()$mar.lab[2],0,bdp()$mar.lab[4]))
10
  bdp(mar.lab=c(0,bdp()$mar.lab[2],0,bdp()$mar.lab[4]))
8
  
11