R-beta: image won't accept xlim argument

Bill Simpson (wsimpson@uwinnipeg.ca)
Sun, 22 Mar 1998 10:26:03 -0600 (CST)


Date: Sun, 22 Mar 1998 10:26:03 -0600 (CST)
From: Bill Simpson <wsimpson@uwinnipeg.ca>
To: r-help <r-help@stat.math.ethz.ch>
Subject: R-beta: image won't accept xlim argument

Here is a bug in image().

> image(tauseq, tauseq, zcb,
col=gray(31:0/31),mfg=c(2,1,2,1),xlab=NULL,ylab="Lag 2 (s)", xlim=c(0,1),
ylim=c(0,1))+ + 
Error: formal argument "xlim" matched by multiple actual arguments

It won't accept xlim argument, though it is "supposed" to take all the
plot() arguments.

Meantime, is there a workaround for this? I am using
> tauseq
 [1] 0.00 0.03 0.06 0.09 0.12 0.15 0.18 0.21 0.24 0.27 0.30 0.33 0.36 0.39
0.42
[16] 0.45 0.48 0.51 0.54 0.57 0.60 0.63 0.66 0.69 0.72 0.75 0.78 0.81 0.84
0.87
[31] 0.90 0.93 0.96 0.99

and the image axes go 0, .2, .4, .6, .8.  But I want the last axis mark
and label to be 1.0.

Thanks very much for any help.

Bill Simpson

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._