[R] plotting points with different colors

M. LaMadrid lamadrid at u.washington.edu
Thu Jun 28 01:38:12 CEST 2001

I am trying to make a plot where each data point gets
plotted with a user-defined color, i.e., one set of x-y pairs, with
each point having a different color, and not, e.g., 3 sets with
3 different colors. If anyone has tried
this, I'd appreciate seeing how it's done. I have tried to
make something analogous to the way "January Pie Sales"
(from the demo("graphics") set) was done, using 'plot'
instead of 'piechart', but only the first color in the list
gets used.

Thanks for any useful advice.

M. A. LaMadrid

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list