[R] Scatterplot question

David Winsemius dwinsemius at comcast.net
Fri Aug 27 23:20:05 CEST 2010


On Aug 27, 2010, at 2:16 PM, ashz wrote:

>
> Hi,
>
> I have two XY datasets (e.g., longitude  and concentrations) who  
> share the
> same X scale. How can I make a simple scatterplot which will combine  
> them
> both with different colors for the two Y groups? (plot and xyplot  
> solutions
> are fine with me).
>

Base graphics:
?points

Lattice:
?panel.points

############
> and provide commented, minimal, self-contained, reproducible code.
############

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list