?rev
On Jun 16, 2009, at 5:13 AM, Naoki Irie wrote:
> Dear list
>
>
> I'm having trouble with inverting color gradation.
>
> As seen in the "rgl" example,
>
> library(rgl)
> example(rgl.surface)
>
> I understand that I can assign colors to heights for each point.
>
> col <- colorlut[ y-ylim[1]+1 ] # assign colors to heights for each
> point
>
> However, I am now trying to assign inverted colors.
> (top colored green, and bottom colored gray).
>
> Is there any way that I can do this?
David Winsemius, MD
Heritage Laboratories
West Hartford, CT