R-beta: image

Friedrich Leisch Friedrich.Leisch at ci.tuwien.ac.at
Thu Jan 8 16:42:58 CET 1998


>>>>> 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 = 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 = what z value)?

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 great!

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

Best,
Fritz

-- 
-------------------------------------------------------------------
                        Friedrich  Leisch                             
Institut für Statistik                      Tel: (+43 1) 58801 4541
Technische Universität Wien                 Fax: (+43 1)  504 14 98
Wiedner Hauptstraße 8-10/1071      Friedrich.Leisch at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list