Re: [R] discerning plot dots using colors

2010-10-26 Thread Peter Langfelder
On Tue, Oct 26, 2010 at 3:13 PM, Daisy Englert Duursma wrote: > There are several ways to do this but the package ggplot2 > > library(ggplot2) > qplot(displ,hwy,data=mpg,colour=factor(cyl)) > > That can of course be done also using the standard plot command (substitute variable names as necessar

Re: [R] discerning plot dots using colors

2010-10-26 Thread Daisy Englert Duursma
There are several ways to do this but the package ggplot2 library(ggplot2) qplot(displ,hwy,data=mpg,colour=factor(cyl)) On Wed, Oct 27, 2010 at 9:06 AM, elaine kuo wrote: > Dear List, > > > > I am using the command plot to present the relationship > > between bird richness (Y axis) and elevatio

[R] discerning plot dots using colors

2010-10-26 Thread elaine kuo
Dear List, I am using the command plot to present the relationship between bird richness (Y axis) and elevation (X axis). However, I would like to observe the distributions of bird richness in different administrative areas (A, B, C, …., G) in this plot. For example, the dots in area A mig