joshuaulrich / xts

Extensible time series class that provides uniform handling of many R time series classes by extending zoo.
http://joshuaulrich.github.io/xts/
GNU General Public License v2.0
219 stars 71 forks source link

Very dense vertical grid ticks for long XTS objects #209

Closed lompoc42 closed 7 years ago

lompoc42 commented 7 years ago

I often work with long time-series data and before I updated to xts 0.10 I could run the following code without such densely packed vertical tick marks. They actually obscure much of the plot for me. Is this normal now? How do I get the vertical ticks to resemble what I used to see?

idx = as.Date((Sys.Date()-10000):Sys.Date())
v1 = xts(rnorm(len(idx)), idx)
plot(v1)
joshuaulrich commented 7 years ago

Please don't file an issue to ask a question about how to use the package. Use R-SIG-Finance or StackOverflow instead. The issue tracker is for bugs, feature requests, etc.

Use the major.ticks and minor.ticks to set tick intervals, as suggested in ?plot.xts.

lompoc42 commented 7 years ago

Apologies!