search for: fig_data

Displaying 1 result from an estimated 1 matches for "fig_data".

Did you mean: big_data
2011 Apr 26
0
Immutable ticks using ts.plot?
Hello all- ? What I'm going for here is a stack of four time series plots that use a common X axis on the bottom plot. And setting up customized tick marks on each plot that help illustrate the respective trends. Here's my code: ? #### Start #### fig_data <- ts(read.csv("F:/mydata.csv"), start=2000, end=2010, freq=1) opar = par() plot(fig_data, ann = FALSE, plot.type = "multiple", yaxt='n',xaxt = "n", panel=function(...){ ? for (i in 1:4){ ??? if (i == 1){ ????? ts.plot(fig_data[,i],lwd=3,col="red",...