[Rd] plot.times error -- missing or illegal tck parameter (PR#601)

john.maindonald@anu.edu.au john.maindonald@anu.edu.au
Wed, 12 Jul 2000 07:50:47 +0200 (MET DST)


There seems no default setting for tck, causing problems
for plot.times()

> library(chron)
> dts <- dates(c("02/27/92", "02/27/92", "01/14/92",
+                "02/28/92", "02/01/92"))
> y<-chron(dts,out.format=c("dmy","h:m:s"))
> y
[1] 270292 270292 140192 280292 010292
> plot(y,1:5)
Error in axis(n, at = at.x, labels = labels, ...) : 
        invalid value specified for graphics parameter "tck".
> plot(y,1:5,tck=0.01)
> traceback()
[1] "axis(n, at = at.x, labels = labels, ...)"                     
[2] "axis.times(1, x, simplify = simplify, labels = T, adj = adj, "
[3] "    col = col, cex = cex, font = font, las = las, lab = lab, "
[4] "    mgp = mgp, tck = tck)"                                    
[5] "plot.times(y, 1:5)"                                           
[6] "plot(y, 1:5)"                                                 
> par()$tck
[1] NA


--please do not edit the information below--

Version:
 platform = Windows
 arch = x86
 os = Win32
 system = x86, Win32
 status = 
 major = 1
 minor = 1.0
 year = 2000
 month = June
 day = 15
 language = R

Windows 9x 4.10 (build 2222)  A 

Search Path:
 .GlobalEnv, package:chron, Autoloads, package:base

John Maindonald               email : john.maindonald@anu.edu.au        
Statistical Consulting Unit,  phone : (6249)3998        
c/o CMA, SMS,                 fax   : (6249)5549  
John Dedman Mathematical Sciences Building
Australian National University
Canberra ACT 0200
Australia


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._