Re: [R] Colouring a grid segment

2009-10-08 Thread darrenh65
I have done some more tinkering this morning. It seems it's the first polar plot that has the unusual size. If I add a third plot the last two grids match ok. So I added a further kludge to solve my problem, I added a dummy plot before the two 'real' plots and this works ok: polar.plot(0,0,labels

Re: [R] Colouring a grid segment

2009-10-08 Thread darrenh65
Thanks for the reply Jim, I didn't think of that but polar.plot seems to have a couple of quirks. The first is if I try your idea using c(rep(maxlength,40)) as the lengths it does not work, the grid is not even displayed, no error info is given. I solved that by adding an additional point to the v

Re: [R] Colouring a grid segment

2009-10-07 Thread Jim Lemon
On 10/08/2009 01:15 PM, darrenh65 wrote: Hi, I am attempting to create a polar chart (using plotrix polar.plt) and I need to colour a segment of the grid to indicate an area of interest, say from 90-120 degrees, for arguments sake. Is this possible? I can colour the whole grid by passing the grid

[R] Colouring a grid segment

2009-10-07 Thread darrenh65
Hi, I am attempting to create a polar chart (using plotrix polar.plt) and I need to colour a segment of the grid to indicate an area of interest, say from 90-120 degrees, for arguments sake. Is this possible? I can colour the whole grid by passing the grid.bg parameter through to radial.plot but I