Re: [R] ggplot2 qplot and add

2007-08-04 Thread hadley wickham
On 8/4/07, Emilio Gagliardi <[EMAIL PROTECTED]> wrote: > Dear Hadley, > You are a machine! Its way past late you should be relaxing man ;) Thanks :) > > Here is what I hacked together. My question was how to pass in the colour > used to fill the dot/legend and the label for the legend entries. >

Re: [R] ggplot2 qplot and add

2007-08-04 Thread Emilio Gagliardi
Dear Hadley, You are a machine! Its way past late you should be relaxing man ;) Here is what I hacked together. My question was how to pass in the colour used to fill the dot/legend and the label for the legend entries. test <- qplot(x,y, data=some.data, size=chop(variance, n=4), colour="cornflow

Re: [R] ggplot2 qplot and add

2007-08-03 Thread hadley wickham
On 8/2/07, Emilio Gagliardi <[EMAIL PROTECTED]> wrote: > Hi Thierry and Hadley, > > Thanks for your help! I got it working almost 100% to what I want. My last > questions are simple I think ;) > 1) How can I pass a label to colour and assign the color at the same time? > The auto-selection of color

Re: [R] ggplot2 qplot and add

2007-08-02 Thread Emilio Gagliardi
Hi Thierry and Hadley, Thanks for your help! I got it working almost 100% to what I want. My last questions are simple I think ;) 1) How can I pass a label to colour and assign the color at the same time? The auto-selection of colors is awesome for learning, but makes it harder to see some pattern

Re: [R] ggplot2 qplot and add

2007-08-02 Thread hadley wickham
On 8/2/07, ONKELINX, Thierry <[EMAIL PROTECTED]> wrote: > I think you need something like. > > qplot(appetitive.stimulus, graphLabels, data=related.differences, > size=variance, colour="Appetitive Stimulus", xlim=c(-20,20), main="Title > here", xlab="Differences", ylab="Header Concepts") + > geom_p

Re: [R] ggplot2 qplot and add

2007-08-02 Thread ONKELINX, Thierry
delicate dissection of uncertainties, a surgery of suppositions. ~M.J.Moroney > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Emilio Gagliardi > Verzonden: donderdag 2 augustus 2007 19:11 > Aan: r-help@stat.math.ethz.ch > Onderwerp: [R] ggpl

[R] ggplot2 qplot and add

2007-08-02 Thread Emilio Gagliardi
Hi there, I have some simple frequencies I want to plot into one graph. I had it working, and now I can't figure out whats going wrong. All the data is stored in a dataframe, and i finally managed to order the factor correctly! Each column is a variable and contains integers for the same set of