> Hi,
>
> Is there an easy way to add symbols to a line in a scatter plot, so that
> only a few symbols are added per line (a line drawn based on a large set
> of
> data points) , in order to distinguish several lines in one graph (not a
> symbol for each data point as is the default in plot()).
>
Hi Yvonne,
You can use the "points" function to plot every 10th point (or other
sequence).

points(x[seq(1,length(x),by=10)],y[seq(1,length(y),by=10)],...)

Jim

______________________________________________
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