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()). Thanks a lot! Rgds, Yvonne [[alternative HTML version deleted]]
> 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