Skip to content
Prev 2480 / 15274 Next

two zoo questions

On Fri, 9 May 2008, michal miklovic wrote:

            
Gabor explained why this happens. When you do a scatter plot of
  plot(c(1, 2, 4), rnorm(3))
There is also 3 in the range of the x-axis although there are no
observations for this.
I still don't understand what empty segments really means. But I have the
suspsicion you want something like:
  plot(1:nrow(ShorterSpan), ShorterSpan[,1], xaxt = "n")
  axis(1, at = 1:nrow(ShorterSpan),
    labels = format(time(ShorterSpan), "%d %b %Y"))
which is not really a time series plot...

hth,
Z