[R] plotting points with different colors

Jim Lemon bitwrit at ozemail.com.au
Thu Jun 28 12:44:19 CEST 2001

M LaMadrid wrote:
> 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...

This could be right off target, but I am working on a routine that takes
"color maps" and interpolates the colors across a plot.  I had intended
this for color mapping on something like persp(), but it would easily
provide spatially distributed colors on a scattergram if that is what
you are trying to do.


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