Skip to content
Back to formatted view

Raw Message

Message-ID: <20030601163917.GA19993@pcf004.jinr.ru>
Date: 2003-06-01T16:39:17Z
From: Timur Elzhov
Subject: persp & colors

Dear R experts!

I use image() & persp() functions for color plotting z(x,y)-type
graphics.  In image() colors correspond to z-values, that's what
I want.   OTOH, in persp() the col option means:

     col: the color(s) of the surface facets.  Transparent colours are
          ignored.  This is recycled to the (nx-1)(ny-1) facets.

but I'd like to persp()' colors behave like in image() function!

Could you help me to solve this problem?
Thank you very much.


--
WBR,
Timur.