Subversion Repositories bdplot

Rev

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

Rev 34 Rev 37
Line 27... Line 27...
27
    .BDPars$method <- "xy"
27
    .BDPars$method <- "xy"
28
    
28
    
29
    ## When plotting in xy mode, this is type in plot(). The possibilities are "n", "o", "l" (at least, see ?plot). for plot(), default is "p". Notice, this is also the default for bdxyadd.
29
    ## When plotting in xy mode, this is type in plot(). The possibilities are "n", "o", "l" (at least, see ?plot). for plot(), default is "p". Notice, this is also the default for bdxyadd.
30
    .BDPars$type <- "p"
30
    .BDPars$type <- "p"
31
    
31
    
32
    ## Nice to put to something default you (almost) always use x
32
    ## Nice to put to something default if you (almost) always use x
33
    ## and y labels and you want to substitute them with psfrag
33
    ## and y labels and you want to substitute them with psfrag
34
    ## anyway.
34
    ## anyway.
35
    .BDPars$xlab <- "longxlabel"
35
    ##    .BDPars$xlab <- "longxlabel"
36
    .BDPars$ylab <- "longylabel"
36
    ##    .BDPars$ylab <- "longylabel"
-
 
37
    ## otherwise we'll stick to the R standard
-
 
38
    .BDPars$xlab <- NULL
-
 
39
    .BDPars$ylab <- NULL
37
      
40
    
38
    .BDPars$toplab <- NA
41
    .BDPars$toplab <- NA
39
    .BDPars$rightlab <- NA        
42
    .BDPars$rightlab <- NA        
40
    
43
    
41
    ## You probably don't want a default here. 
44
    ## You probably don't want a default here. 
42
    .BDPars$xlim <- NULL
45
    .BDPars$xlim <- NULL
Line 130... Line 133...
130
    ## (plotbox to labs, axis to axislabs,plotbox to axis)
133
    ## (plotbox to labs, axis to axislabs,plotbox to axis)
131
    .BDPars$mgp.global <- c(.8, .15, 0)
134
    .BDPars$mgp.global <- c(.8, .15, 0)
132
    
135
    
133
    
136
    
134
    ## Bruges dette?
137
    ## Bruges dette?
135
    .BDPars$xlabLine <- 0.9
138
##    .BDPars$xlabLine <- 0.9
136
    .BDPars$ylabLine <- 1.1
139
##    .BDPars$ylabLine <- 1.1
137
 
140
 
138
### Histograms.
141
### Histograms.
139
    ## If you really want to play with this, the barplot may be more flexible.
142
    ## If you really want to play with this, the barplot may be more flexible.
140
    ## The default color of the bars in a histogram and in barplot. NULL is default for both (white for histogram, grey for barplot). See col in ?histogram.
143
    ## The default color of the bars in a histogram and in barplot. NULL is default for both (white for histogram, grey for barplot). See col in ?histogram.
141
    .BDPars$hcol <- NULL
144
    .BDPars$hcol <- NULL