[R] Changing pch spacing

Wolfgang Viechtbauer wviechtb at s.psych.uiuc.edu
Thu Oct 31 03:41:38 CET 2002


Hello R-Helpers,

plot(x, y, type="b", pch="1")

plots x vs. y with both a line and the symbol "1" but how do I change
the "spacing" of the symbol being plotted. In other words, I don't want
to plot the "1" at every data point, but only at every kth point (things
get too cluttered when there are many data points). Thanks in advance!

--
Wolfgang Viechtbauer

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list