[R] A ggplot question

Megh megh700004 at yahoo.com
Wed Dec 2 05:41:20 CET 2009


Let consider following plot :

p <- ggplot(mtcars, aes(mpg, wt))
     p + geom_point(colour="grey50", size = 4) + geom_point(aes(colour =
cyl))

Now I want R to hide the color-pallet on "cyl", placed in the right edge
completely. Can anyone please guide me how to do that?

Thanks,
-- 
View this message in context: http://n4.nabble.com/A-ggplot-question-tp932775p932775.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list