Re: R-beta: image

Ross Ihaka (
Sat, 10 Jan 1998 09:27:25 +1300 (NZDT)

Date: Sat, 10 Jan 1998 09:27:25 +1300 (NZDT)
From: Ross Ihaka <>
Message-Id: <>
Subject: Re: R-beta: image

	> >>>>> On Wed, 7 Jan 1998 16:40:53 -0600 (CST),
	> >>>>> Bill Simpson (BS) wrote:
	> BS> Questions on image:
	> BS> 1) How can I put labels on the x and y axes?
	> As usually using the xlab and ylab arguments (same as plot)

	I am using R-0.50-a4  on linux. When I try this I get:
	image(x, y, volcano,col=gray(1:32/32),xlab="X", ylab="Y")
	Error: formal argument "xlab" matched by multiple actual arguments

	(Using volcano data as in help page.) What am I doing wrong?

	Thanks very much for any help.

I'm not sure what the problem is (I don't have a R-0.50-a4 handy),
but here is a quick work around.

After you have created the image plot, you can use use the function
"title" to add annotation to a plot.

	image( ... )
	title(xlab="xlab here", ylab="ylab here")

r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: