Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread h . wickham
> I had the same problem and found a solution in some forums. Try this: > > p<-ggplot(data, aes(x,y,fill)) + geom_point() + scale_x_continuous("your > xlabel") + scale_y_continuous("your ylabel") The new (more ggplot-like way) is to do: ggplot(data, aes(x,y,fill)) + ... + opts(title = "my title")

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread guillaume chaumet
Thierry and Ingo, Thanks for these smart responses. It works fine. Guillaume 2008/3/5, Ingo Michaelis <[EMAIL PROTECTED]>: > > > > ONKELINX, Thierry inbo.be> writes: > > > > > Guillaume, > > > > You'll have to add the appropriate scales. > > > > ggplot(data, aes(x,y,fill)) + geom_point() + scal

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread Ingo Michaelis
ONKELINX, Thierry inbo.be> writes: > > Guillaume, > > You'll have to add the appropriate scales. > > ggplot(data, aes(x,y,fill)) + geom_point() + scale_x_continuous("your > xlabel") + scale_y_continuous("your ylabel") > > I suppose you can add a main title in a similar way, but I haven't f

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread ONKELINX, Thierry
dissection of uncertainties, a surgery of suppositions. ~M.J.Moroney -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens guillaume chaumet Verzonden: woensdag 5 maart 2008 9:45 Aan: r-help@r-project.org Onderwerp: Re: [R] main title x title and y title with gg

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread guillaume chaumet
AIL PROTECTED] [mailto:[EMAIL PROTECTED] > Namens guillaume chaumet > Verzonden: woensdag 5 maart 2008 8:51 > Aan: r-help@r-project.org > Onderwerp: [R] main title x title and y title with ggplot2 > > > Hi R people, > I'm a R newbie and I'm trying

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread ONKELINX, Thierry
-project.org Onderwerp: [R] main title x title and y title with ggplot2 Hi R people, I'm a R newbie and I'm trying to put main title, x title and y title in my graph with no success. Any idea? I'm sorry for this newbie question.. Guillaume [[alternative HTML

[R] main title x title and y title with ggplot2

2008-03-04 Thread guillaume chaumet
Hi R people, I'm a R newbie and I'm trying to put main title, x title and y title in my graph with no success. Any idea? I'm sorry for this newbie question.. Guillaume [[alternative HTML version deleted]] __ R-help@r-project.org mailing list ht