[R] checker/chequer board pattern as a colour

2013-01-07 Thread Federico Calboli
Hi All, is there a reasonably simple way of using a black and white chequer/checker board pattern as a colour: barplot(mydata, col = c('red', 'blue' 'checkerboard')) ? BW F -- Federico C. F. Calboli Neuroepidemiology and Ageing Research Imperial College, St. Mary's Campus Norfolk Place,

Re: [R] checker/chequer board pattern as a colour

2013-01-07 Thread Greg Snow
Not as a simple color, but you can use the rasterImage function to add a rectangle with a checkerboard pattern to a an existing plot, the examples for the function use a simple checkerboard pattern. Be careful of overusing something like this, too many patterned areas in a plot can be more

Re: [R] checker/chequer board pattern as a colour

2013-01-07 Thread Federico Calboli
On 7 Jan 2013, at 21:53, Greg Snow 538...@gmail.com wrote: Not as a simple color, but you can use the rasterImage function to add a rectangle with a checkerboard pattern to a an existing plot, the examples for the function use a simple checkerboard pattern. Be careful of overusing