The R Project SVN R

Rev

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

Rev 56953 Rev 57488
Line 1... Line 1...
1
#### Regression tests for GRAPHICS & PLOTS
1
#### Regression tests for GRAPHICS & PLOTS
2
 
2
 
3
postscript("reg-plot.ps", paper="a4", horizontal=TRUE,
3
pdf("reg-plot.pdf", paper="a4r", encoding ="ISOLatin1.enc", compress = FALSE)
4
           encoding ="ISOLatin1.enc")
-
 
-
 
4
 
5
## since we supply the font metrics, the results depend only on
5
## since we supply the font metrics, the results depend only on
6
## the encoding used: Windows is different from Unix by default.
6
## the encoding used: Windows is different from Unix by default.
7
## As from 2.1.0 we only test genuine Latin-1 chars: Adobe has dotlessi
-
 
8
## and accents at 144:152, 154, 155, 157:159, but Unicode does not.
-
 
9
 
7
 
10
options(warn = 1)# print them as they occur
8
options(warn = 1) # print as they occur
11
 
9
 
12
plot(0) # this should remain constant
10
plot(0) # this should remain constant
13
str(par(c("usr","xaxp","yaxp")))
11
str(par(c("usr","xaxp","yaxp")))
14
 
12
 
15
 
13