Re: [R] diagonally fill a rectangle with color gradient

2008-04-09 Thread Greg Snow
-project.org Subject: [R] diagonally fill a rectangle with color gradient Hi, Is it possible to diagonally fill a rectangle with a color gradient? I noticed that the gradient.rect of plotrix could fill a rect either up and down or from side to side. I am looking for something similar

[R] diagonally fill a rectangle with color gradient

2008-04-08 Thread tom soyer
Hi, Is it possible to diagonally fill a rectangle with a color gradient? I noticed that the gradient.rect of plotrix could fill a rect either up and down or from side to side. I am looking for something similar but fills diagonally instead, e.g., from the upper left corner to the bottom right.

Re: [R] diagonally fill a rectangle with color gradient

2008-04-08 Thread Paul Murrell
Hi tom soyer wrote: Hi, Is it possible to diagonally fill a rectangle with a color gradient? I noticed that the gradient.rect of plotrix could fill a rect either up and down or from side to side. I am looking for something similar but fills diagonally instead, e.g., from the upper left