On Wed, Jan 12, 2011 at 9:33 PM, John Sorkin
<jsor...@grecc.umaryland.edu> wrote:
> I would like to plot 3-dimensional data on a two-dimensional scatter-plot.
> Is there a way I can automatically modify the plot symbol (e.g. changing size 
> or color) to indicate the value of a third variable? E.g. How can I plot 
> weight vs. age and indicate the value of muscle mass for each value 
> weight-age pair by making the plot point proportional to the subject's muscle 
> mass?

Check out:
http://flowingdata.com/2010/11/23/how-to-make-bubble-charts/

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to