Re: [R] ggplot2 and the legend

2012-11-22 Thread Jeff Newmiller
a) Don't crosspost. Read the posting guide(s) for more cautions. This question is probably more appropriate on the ggplot Google Group than either of these two mailing lists. b) Post reproducible examples. c) Use data frames with ggplot, not matrices. The read.csv or read.table functions autom

[R] ggplot2 and the legend

2012-11-22 Thread Peter Kupfer
Dear all, i try to plot with ggplot2. Therefor I have an matrix with 3 colums. With cbind I add an additional column called "col". I need this column "col" because in a later step and want to specify here some plot details which I will get from another analysis If I want to plot with this code,