[R] X,Y,Z, scatter plot
Duncan Murdoch
murdoch at stats.uwo.ca
Mon Feb 13 21:12:44 CET 2006
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
More information about the R-help
mailing list