[R] plot more series or more colors

David Winsemius dwinsemius at comcast.net
Tue Feb 16 00:31:58 CET 2010

On Feb 15, 2010, at 5:50 PM, joonR wrote:

> Hey,
> I need either to plot more than one series of data on the same plot,
> or to color the points of a single series with different colors  
> according to
> some parameter,
> how can I do that?
> (data are 2 coordinates point that I want to plot in 2D)

?plot  # col argument

Sample data might have provoked a more expansive reply.

> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

More information about the R-help mailing list