On Fri, May 1, 2009 at 2:38 PM, Zeljko Vrba <zv...@ifi.uio.no> 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.medians$gv1, facets = . ~ n, colour=sp)
>
> produces a nice plot. Adding a geom="line" produces everything *except* the
> lines that show the dataset!  What am I doing wrong? (R-2.9.0, on 64-bit 
> Vista;
> package freshly installed from CRAN)

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?

Hadley


-- 
http://had.co.nz/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to