Re: [R] qplot fill and colour not working as expected

2011-06-06 Thread Jonathan Daily
One difference between colour and fill can be demonstrated by specifying both with different values. In cases where a polygon is filled, colour specifies border line color. On Mon, Jun 6, 2011 at 9:49 AM, wwreith wrote: > I am just learning to use qplot and can't get the fill/colour to work. Belo

Re: [R] qplot fill and colour not working as expected

2011-06-06 Thread Ista Zahn
Hi, On Mon, Jun 6, 2011 at 9:49 AM, wwreith wrote: > I am just learning to use qplot and can't get the fill/colour to work. Below > is the R code for a scatter plot and bar graph. > > library(ggplot2) > x<-c(1,2,3,4,5,6,7) > y<-c(1,2,3,2,5,6,3) > qplot(x,y, main="Scatter Plot Test", xlab="X Label

[R] qplot fill and colour not working as expected

2011-06-06 Thread wwreith
I am just learning to use qplot and can't get the fill/colour to work. Below is the R code for a scatter plot and bar graph. library(ggplot2) x<-c(1,2,3,4,5,6,7) y<-c(1,2,3,2,5,6,3) qplot(x,y, main="Scatter Plot Test", xlab="X Label Test", ylab="Y Label Test", colour="blue")z<-c("van", "van", "van