Re: [R] ggplot: colours to geom_segments

2009-08-22 Thread Robert Baer
(xintercept=40, colour='red') pa - Original Message - From: "John Kane" To: Sent: Monday, August 10, 2009 2:29 PM Subject: [R] ggplot: colours to geom_segments Just as an exercise I am tying to add colours to a geom_segment command. I can get one colour but not a

Re: [R] ggplot: colours to geom_segments

2009-08-11 Thread John Kane
for an > answer does not ensure that a reasonable answer can be > extracted from a given body of data. > ~ John Tukey > > -Oorspronkelijk bericht----- > Van: John Kane [mailto:jrkrid...@yahoo.ca] > > Verzonden: dinsdag 11 augustus 2009 16:38 > Aan: r-h...@stat

Re: [R] ggplot: colours to geom_segments

2009-08-11 Thread Paul Emberson
using the predetermined ones? I > know that I should, at least, be able to use RColorBrewer but I have > not figured out how yet. > > Thanks again. > > John > > --- On Tue, 8/11/09, ONKELINX, Thierry > wrote: > >> From: ONKELINX, Thierry Subject: RE: [R] &

Re: [R] ggplot: colours to geom_segments

2009-08-11 Thread ONKELINX, Thierry
hat a reasonable answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: John Kane [mailto:jrkrid...@yahoo.ca] Verzonden: dinsdag 11 augustus 2009 16:38 Aan: r-h...@stat.math.ethz.ch; ONKELINX, Thierry Onderwerp: RE: [R] ggplot: colours to geom_segments &

Re: [R] ggplot: colours to geom_segments

2009-08-11 Thread John Kane
ours rather than using the predetermined ones? I know that I should, at least, be able to use RColorBrewer but I have not figured out how yet. Thanks again. John --- On Tue, 8/11/09, ONKELINX, Thierry wrote: > From: ONKELINX, Thierry > Subject: RE: [R] ggplot: colours to geom_segments &

Re: [R] ggplot: colours to geom_segments

2009-08-11 Thread ONKELINX, Thierry
wer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens John Kane Verzonden: maandag 10 augustus 2009 21:30 Aan: r-h...@stat.math.ethz.ch Onderwerp: [R] ggplot: colours to geom_segments

[R] ggplot: colours to geom_segments

2009-08-10 Thread John Kane
Just as an exercise I am tying to add colours to a geom_segment command. I can get one colour but not a sequence of colours. Can anyone suggest how I can get the green lines in the plot below to be different colours? I thought I could use a palatte of colours but that did not seem to work.