Re: [R] Rainbow in loop

2017-06-08 Thread WRAY NICHOLAS
Yep fabbo I can then call each vector as a separate element in a list and it gives the colours... Thanks aleph-null times Nick > > On 08 June 2017 at 14:13 Boris Steipe wrote: > > > Does: > > rainbow(3)[1] > rainbow(3)[2] > rainbow(3)[3] > > ... solve your issue? >

Re: [R] Rainbow in loop

2017-06-08 Thread Boris Steipe
Does: rainbow(3)[1] rainbow(3)[2] rainbow(3)[3] ... solve your issue? B. > On Jun 8, 2017, at 8:20 AM, WRAY NICHOLAS wrote: > > Hi R folk I have a distance time graph for a locomotive and at various times > different events occur on board the loco. I want to put a vertical line on

[R] Rainbow in loop

2017-06-08 Thread WRAY NICHOLAS
Hi R folk I have a distance time graph for a locomotive and at various times different events occur on board the loco. I want to put a vertical line on the speed time graph for each event, but I want to colour each different kind of event differently to see visually whether there's any pattern to