[R] Changing pch spacing
Deepayan Sarkar
deepayan at stat.wisc.edu
Thu Oct 31 07:04:36 CET 2002
You could try
plot(x, type="o", pch=c(rep(" ", k-1), "1"))
or
plot(x, type="b", pch=c(rep(" ", k-1), "1"))
though neither are probably exactly what you want.
On Wednesday 30 October 2002 08:41 pm, Wolfgang Viechtbauer wrote:
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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