Below John Kane Kingston ON Canada > This is OK but only in BW > p<-ggplot(vec.c, aes(x=fi, y=nad1mi)) > p+geom_point(size=5)+geom_line()+facet_grid(.~stroj) Perhaps: p <- ggplot(vec.c, aes(x=fi, y=nad1mi, colour = stroj)) p+geom_point(size=5)+geom_line()+facet_grid(.~stroj)
> and this is mismatched too > p<-ggplot(vec.c, aes(x=fi, y=vec.c[,2])) > p+geom_point(size=5)+geom_line()+facet_grid(.~stroj) I don'[ understand what you want here so cannot suggest anything ____________________________________________________________ Can't remember your password? Do you need a strong and secure password? Use Password manager! It stores your passwords & protects your account. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.