[R] ggplot- using geom_point and geom_line at the same time

Hadley Wickham hadley at rice.edu
Tue Jan 17 16:07:55 CET 2012

On Mon, Jan 16, 2012 at 6:05 PM, Mary Kindall <mary.kindall at gmail.com> wrote:
> Thanks for reply
> I wanted to have legend name with spaces. Right now I am using the
> following code but it produce two legends. I have to use Gimp to cut the
> redundant legend.

Your basic problem is that you're using the fill and colour
aesthetics, but you only need colour.


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

More information about the R-help mailing list