[R] Multiple XY Lines Plot

Philipp Pagel p.pagel at wzw.tum.de
Tue Nov 11 19:15:40 CET 2008

> Hi list, I?m trying to plot lines in the same graphic. There are lots of
> similar topic on the list history. I?ve read about xyplot (lattice) and
> other ways to do that but I only got complex error messages, and wasn?t able
> even to start a decent R scrip.

There are several ways to plot multiple lines and/or points in
one plot. xyplot, lines, points, matplot etc. come to mind.
Depending on the organization of your data, some of these will be
easier than others. As you didn't say anything about your data
structure, the commands you tried and the errors you encountered,
it is hard to be more specific at this point. Please give us a
short example to work with and I'm sure you'll get the answer you


Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
85350 Freising, Germany

More information about the R-help mailing list