X,Y,Z, scatter plot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

X,Y,Z, scatter plot

Blanchard, Seth A.
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
[hidden email] <mailto:[hidden email]>
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]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: X,Y,Z, scatter plot

Duncan Murdoch
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html