Re: R-beta: image

Friedrich Leisch (
Thu, 8 Jan 1998 16:42:58 +0100

Date: Thu, 8 Jan 1998 16:42:58 +0100
Message-Id: <>
From: Friedrich Leisch <>
To: Bill Simpson <>
Subject: Re: R-beta: image
In-Reply-To: <>

>>>>> 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)

BS> 2) How to tell it to use e.g. 32 grey levels (not some colour
BS> map)?

col =3D gray(1:32/32)

see also the help page of gray

BS> 3) How to know what the legend is (i.e. each grey level =3D what z va=

I'm not cpmpletely sure, but I think min(z) will be the first color
(or grey-level), max(z) the last grey-level and the rest will be
equally spaced in between.

BS> BTW I was wondering if persp was on the To Do list. That would be gre=

It most certainly is ... most of us would like to have it ...


                        Friedrich  Leisch                            =20
Institut f=FCr Statistik                      Tel: (+43 1) 58801 4541
Technische Universit=E4t Wien                 Fax: (+43 1)  504 14 98
Wiedner Hauptstra=DFe 8-10/1071
A-1040 Wien, Austria   
     PGP public key

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