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? Thank you so much for your help! -Seth ------------------------------------------------------------------------ Seth Blanchard Automation and Simulation Specialist SAIC, Reston 703-318-4584 blanchards@saic.com <mailto:blanchards@saic.com> www.triplecrownbouldering.org <http://www.triplecrownbouldering.org> www.perlmonks.org <http://www.perlmonks.org> <http://www.homestarrunner.com> www.homestarrunner.com ------------------------------------------------------------------------ [[alternative HTML version deleted]]
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