Re: [R] ggplot2 barplot: extra markers in graph

2010-08-04 Thread Dieter Vanderelst
Thanks, this indeed solved the problem. Regards, Dieter On 4/08/2010 15:21, Shentu wrote: > > The reason you see the exra markers is that the first part of the command > "qplot(DT$N,DT$D,fill=factor(DT$C))" already plots the individual points. > You didn't see it with "geom_bar(stat = "identity"

Re: [R] ggplot2 barplot: extra markers in graph

2010-08-04 Thread Shentu
The reason you see the exra markers is that the first part of the command "qplot(DT$N,DT$D,fill=factor(DT$C))" already plots the individual points. You didn't see it with "geom_bar(stat = "identity")" simply because the stacked bars made the previous layer invisible. To see this you can use the gg

Re: [R] ggplot2 barplot: extra markers in graph

2010-08-04 Thread David Winsemius
On Aug 4, 2010, at 7:52 AM, Dieter Vanderelst wrote: Dear List, (self-contained example + version info at the bottom) I'm having trouble producing a barplot using the functions in ggplot2. When I use the position="dodge" option, the bars are plotted but also a number of spurious markers.

[R] ggplot2 barplot: extra markers in graph

2010-08-04 Thread Dieter Vanderelst
Dear List, (self-contained example + version info at the bottom) I'm having trouble producing a barplot using the functions in ggplot2. When I use the position="dodge" option, the bars are plotted but also a number of spurious markers. More specifically, a number of black dots are plotted in t