Skip to content
Prev 309275 / 398506 Next

Problems plotting a sparse time series in R

On Mon, Oct 29, 2012 at 10:14 AM, Alexander Engelhardt
<alex at chaotic-neutral.de> wrote:
Thanks for the reproducible example.
I'm not 100% certain, but I think plot.zoo only plots _consecutive_
observations as lines.
I would plot the sparse data as points, not lines.  For example:
plot(ts, screens=1, type=c("l",rep("p",4)), col=rainbow(5))
Best,
--
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com