Subversion Repositories bdplot

Rev

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

Rev 5 Rev 8
Line 1... Line 1...
1
#################################################
1
#################################################
2
  ## this should start by determining paper size \showthe\textwidth is
2
  ## this should start by determining paper size \showthe\textwidth is
3
  ##  useful in latex to determine what width to use.
3
  ##  useful in latex to determine what width to use.
4
 
4
## 360/72.270
5
 
5
 
6
#### All measures MUST be given in inches!!
6
#### All measures MUST be given in inches!!
7
## A complete template consists of:
7
## A complete template consists of:
8
## width: width of a figure (same as paperwidth?)
8
## width: width of a figure (same as paperwidth?)
9
## height: height of figure
9
## height: height of figure
Line 26... Line 26...
26
    width=4.782,
26
    width=4.782,
27
    height=2.7,
27
    height=2.7,
28
    height.full=NA,
28
    height.full=NA,
29
    size.unit="in"
29
    size.unit="in"
30
    )
30
    )
31
  
-
 
32
  
-
 
33
  
-
 
34
  
31
    
35
#### these derivates from b5 will also be relevant for a4 etc. They could be calculated automatically if ie bdp()$half==TRUE.
32
#### these derivates from b5 will also be relevant for a4 etc. They could be calculated automatically if ie bdp()$half==TRUE.
36
 
33
  
37
      ## 2.354 works like a charm as it is with two subfigures next
34
  ## 2.354 works like a charm as it is with two subfigures next
38
      ## to each other
35
  ## to each other
39
  bdpars$b5.half = list(
36
  bdpars$b5.half = list(
40
    width = 2.354,
37
    width = 2.354,
41
    ## When the plots are narrower, it looks weird if they are not
38
    ## When the plots are narrower, it looks weird if they are not
42
    ## "less high" too.
39
    ## "less high" too.
43
    height = 2.15)
40
    height = 2.15)
44
  
41
  
45
  
42
  
46
  
43
  
47
  bdpars$b5.quadratic = list(
44
  bdpars$b5.quadratic = list(
48
    width = bdpars$b5$width,
45
    width = bdpars$b5$width,
49
        height = bdpars$b5$width)
46
    height = bdpars$b5$width)
-
 
47
 
-
 
48
  ## \showthe\textwidth gives 360.0 pt.
-
 
49
  bdpars$a4=list(
-
 
50
    width=4.98,
-
 
51
    height=3.5,
-
 
52
    height.full=NA,
-
 
53
    size.unit="in"
-
 
54
    )
50
 
55
 
51
  bdpars
56
  bdpars
52
  
57
  
53
}
58
}
54
  
59