I have a data frame with several million points in it - each having two values.
When I plot this like this:
plot(myData)
All the points are plotted, but the plot is quite busy, so I thought I'd plot it as a line:
plot(myData, type="l")
But while the x axis doesn't change (i.e. goes from 0 to 7e+07), the actual plotting stops at about 3e+07 and I don't actually get a proper line plot either.
Is there a limitation on line plotting?
Update If I use
plot(myData, type="h")
I get correct and useable output, but I still wonder why the type="l" option fails so badly.
Further update
I am plotting a time series - here is one output using type="h":
That's perfectly usable, but having a line would allow me to compare several outputs.




cexparameter, e.g.,plot(myData, cex=0.3). - eipi10col="#00000022"usually works well. - Benjaminset.seed(4943); dat = data.frame(time=1:1e7, values=cumsum(rnorm(1e7))); plot(dat$time, dat$values, type="l"). - eipi10