Re: R-beta: image

Friedrich Leisch (Friedrich.Leisch@ci.tuwien.ac.at)
Thu, 8 Jan 1998 16:42:58 +0100


Date: Thu, 8 Jan 1998 16:42:58 +0100
Message-Id: <199801081542.QAA19393@galadriel.ci.tuwien.ac.at>
From: Friedrich Leisch <Friedrich.Leisch@ci.tuwien.ac.at>
To: Bill Simpson <wsimpson@uwinnipeg.ca>
Subject: Re: R-beta: image
In-Reply-To: <Pine.OSF.3.95.980107163158.8689A-100000@io.uwinnipeg.ca>

>>>>> 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=
lue)?

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=
at!

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

Best,
Fritz

--=20
-------------------------------------------------------------------
                        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      Friedrich.Leisch@ci.tuwien.ac.at
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch
     PGP public key http://www.ci.tuwien.ac.at/~leisch/pgp.key
-------------------------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._