I don't know where you got the idea that 'axes' was a valid argument.
From ?plot.Sample

     ...: further graphical parameters.

and 'axes' is *not* a graphical parameter. (It also suggests you call plot, not plot.Sample.)

'xaxt' and 'yaxt' are graphics parameters which control whether axes are plotted, but this will not help in this case since plot.Sample calls axis() directly. You need to take a copy of the function and modify it to suit your needs (and perhaps contribute your improvements back to the maintainer?).

On Fri, 10 Oct 2008, rajesh j wrote:

Hi,

I'm using the add-on package "sound".I have the following
q<-loadSample("a.wav")
plot.Sample(q,axes=FALSE)

this gives me the error.

Error in plot.default(sound(s)[1, ], type = "l", col = "red", ylim = c(-1,
:
 formal argument "axes" matched by multiple actual arguments

I'm guessing the package has some predefined arguments.How do I overwrite
them?
--
Rajesh.J

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to