[S] multiple symbols in a single plot statement

Matthew Wiener (mcw@ln.nimh.nih.gov)
Fri, 18 Sep 1998 11:43:37 -0400 (EDT)


Hi.

I'm making an x-y plot of points that come from several different groups.
I'd like to be able to specify a different plotting symbol for each group.
I know that this can be done by breaking the data into groups and calling
plot, followed by points. (Presumably the same sort of thing can be done
in trellis graphics.)

I tried to make a vector of plotting symbols to submit along with the
data:

plot(x,y,symbols),

but got an error saying that all but the first component were ignored (and
the plot uses only one symbol).

Is there some way to do this other than using several plot statements?
I've looked around the manuals without success.
Either "traditional" or trellis graphics would be fine.

Thanks,

Matt Wiener

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news