Subversion Repositories bdplot

Rev

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

Rev 11 Rev 13
Line 1... Line 1...
1
### bdopen
1
### bdopen
2
### Used to open a graphics driver with BDplot.
2
### Used to open a graphics driver with BDplot.
3
 
3
 
4
### In both jpeg and X11,  height  and width are scaled to
-
 
5
### jpeg: get a decent resolution (can't get it working with the true distances...)
-
 
6
### X11: to get a nicer window on the screen.
4
### In X11, height  and width are scaled to get a nicer window on the screen.
7
### This hack is ugly. At least there should be a scaling factor in stead so that all measures are scaled (fonts, etc).
5
### This hack is ugly. At least there should be a scaling factor in stead so that all measures are scaled (fonts, etc).
8
 
6
 
9
bdopen <- function(file=bdp()$file,paper=bdp()$paper,mfrow=bdp()$mfrow)
7
bdopen <- function(file=bdp()$file,paper=bdp()$paper,mfrow=bdp()$mfrow)
10
{
8
{
11
  .bdcalcsizes(paper=paper)
9
  .bdcalcsizes(paper=paper)