Re: [R] Ploting gradient

2011-07-28 Thread Fernando Andreacci
I could not get Jim code to work (can't install colors in R 2.13). However Alexander code seems what I want. Just a litle detail, I need all bars with same size, the only difference between they are the colors. On Thu, Jul 28, 2011 at 6:11 AM, Jim Lemon wrote: > On 07/28/2011 11:25 AM, Fernand

Re: [R] Ploting gradient

2011-07-28 Thread Jim Lemon
On 07/28/2011 11:25 AM, Fernando Andreacci wrote: I have a simple bar chart with annual precipitation (jan to dez). I want to plot, above each bar (on a line), a square wich is color based on a scale (0-100%). With 0 being white and 100 black, like a gradient. Is it possible? How to? Hi Fernan

Re: [R] Ploting gradient

2011-07-27 Thread Alexander Engelhardt
Am 28.07.2011 03:25, schrieb Fernando Andreacci: I have a simple bar chart with annual precipitation (jan to dez). I want to plot, above each bar (on a line), a square wich is color based on a scale (0-100%). With 0 being white and 100 black, like a gradient. Is it possible? How to? Thanks He

[R] Ploting gradient

2011-07-27 Thread Fernando Andreacci
I have a simple bar chart with annual precipitation (jan to dez). I want to plot, above each bar (on a line), a square wich is color based on a scale (0-100%). With 0 being white and 100 black, like a gradient. Is it possible? How to? Thanks -- Fernando Andreacci [[alternative HTML vers