Re: [R] Reccomendation for graphics package

2009-05-01 Thread Zeljko Vrba
On Fri, May 01, 2009 at 03:23:18PM -0500, hadley wickham wrote: > > If you have a categorical x axis, you need to specify the group > aesthetic which defines what group of points should form a line. It's > hard to tell what that should be from your example, maybe sp? > Yes, adding group=sp work

Re: [R] Reccomendation for graphics package

2009-05-01 Thread hadley wickham
On Fri, May 1, 2009 at 2:38 PM, Zeljko Vrba wrote: > On Fri, May 01, 2009 at 01:06:34PM -0500, hadley wickham wrote: >> >> It should be trivial with ggplot2 too, but it's hard to provide >> concrete advice without a concrete problem. >> > Elementary problem: > > qplot(wg, v.realtime, data=df.best.

Re: [R] Reccomendation for graphics package

2009-05-01 Thread Zeljko Vrba
On Fri, May 01, 2009 at 09:38:13PM +0200, Zeljko Vrba wrote: > On Fri, May 01, 2009 at 01:06:34PM -0500, hadley wickham wrote: > > > > It should be trivial with ggplot2 too, but it's hard to provide > > concrete advice without a concrete problem. > > > Elementary problem: > > qplot(wg, v.realtim

Re: [R] Reccomendation for graphics package

2009-05-01 Thread Zeljko Vrba
On Fri, May 01, 2009 at 01:06:34PM -0500, hadley wickham wrote: > > It should be trivial with ggplot2 too, but it's hard to provide > concrete advice without a concrete problem. > Elementary problem: qplot(wg, v.realtime, data=df.best.medians$gv1, facets = . ~ n, colour=sp) produces a nice plot

Re: [R] Reccomendation for graphics package

2009-05-01 Thread Gabor Grothendieck
On Fri, May 1, 2009 at 1:55 PM, Zeljko Vrba wrote: > Hello, > > What would you recommend for producing publication-quality plots with R? > Built-in graphics, trellis, ggplot2, or something else? > > Basic requirements: > > - I need to draw line-, box-, density-plots, bar-charts and histograms > -

Re: [R] Reccomendation for graphics package

2009-05-01 Thread hadley wickham
> Is situation anything better with ggplot2?  It seems rather easy to get e.g. > line plots with error bars, provided that one feeds the data to some > modeling/regression function and passes the result over for plotting.. but > what > if I have generated my own error bar data?  This is almost tri

[R] Reccomendation for graphics package

2009-05-01 Thread Zeljko Vrba
Hello, What would you recommend for producing publication-quality plots with R? Built-in graphics, trellis, ggplot2, or something else? Basic requirements: - I need to draw line-, box-, density-plots, bar-charts and histograms - error bars on bar- and box-plots - easy tiling of multiple plots on