Skip to content
Prev 86084 / 398528 Next

Plotting a count process

Now my problem is solved, i thinked a while about it and rearanged my 
plot in the following way for everybody how is interested

x<-0:3
y<-c(0,5,8,3)
dates<-c("","01.01.05","08.01.05","15.01.05")
plot(x,cumsum(y),type="p",axes=FALSE,xlab="Date",ylab="Failure 
Number",pch=20)

axis(side = 1,0:3 ,labels = dates)
axis(side = 2)
box()

i<-seq(along=x)
segments(x[i],cumsum(y)[i],x[i+1],cumsum(y)[i])
segments(x[length(x)],cumsum(y)[length(y)],x[length(x)]+1,cumsum(y)[length(y)])


regards
andreas
voodooochild at gmx.de wrote: