I assume the blanks are actually NAs?  If so, try something like (say `df'
is the data frame):

matplot(df$X, df[,-1], pch=1:3)

or refer to the help page for matplot() for more options.  

Andy

> From: [EMAIL PROTECTED]
> 
> Dear list members,
> I have a probably simple question concerning scatterplots: I want to 
> draw a plot with one X but several Y columns, so that every group 
> of samples gets a different symbol. My table looks like this:
> 
> X     Y1      Y2      Y3
> 1     1
> 2     3
> 3     5
> 4             7
> 5             9
> 6             11
> 7                     13
> 8                     15
> 
> Simple in Excel or StarOffice, but how do I do it in R?
> 
> Thanks a lot
> 
> Judith
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>

______________________________________________
[EMAIL PROTECTED] 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 via email to