Re: [R] X,Y,Z, scatter plot

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue 14 Feb 2006 - 07:12:44 EST

On 2/13/2006 2:49 PM, Blanchard, Seth A. wrote:
> Hey All,
>
> I am trying to create a scatter plot of x,y,z data where the
> points are color coded by their z value. So far I have:
> plot(BGx, BGy, pch=22, type="p", col=heat.colors(20)) is this
> right?

If the z values go from 1 to 20, that looks fine. If not, you need to pay attention to them somehow.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 14 07:19:48 2006

This archive was generated by hypermail 2.1.8 : Wed 15 Feb 2006 - 13:30:16 EST