search for: data_min1

Displaying 3 results from an estimated 3 matches for "data_min1".

2012 Dec 27
1
Help in using col in plot()..
Hello, I have problem with using color. plot(data_min1$macd,col='black',main="1 min MACD",type="l") lines(data_min1$macdsig,col="red") par(new=T) plot(data_min1$macdhist,col=data_min3$histcol,type="h",main="") axis(4,col='black') par(new=F) When I remove ",col=data_min3...
2012 Dec 27
1
Regarding multiple axes in plots..
Hello, I'd like to draw 2 plots in one graph. Here is my code: plot(data_min1$macd,main="1 min MACD",type="l") lines(data_min1$macdsig,col="red") par(new=T) plot(data_min1$macdhist,type="h",main="") axis(4) par(new=F) It seems it works. But left axes of two graphs are over-drawn. Could you let me know how to fi...
2012 Oct 15
1
trouble with extracting Date string from my data.
...------------------------------------------------------------- ----------- Index,Open,High,Low,Close # header 2011-11-01 9:00:00 ,248.50,248.95,248.20,248.70 ... .... ---------------------------------------------------------------------------- ----------- When I read the data with the below code, data_min1 <- as.xts(read.zoo("E://log.txt", sep=",", FUN=as.chron, header=TRUE)) the result is as the follows: > head(data_min1) Open High Low Close (11/01/11 09:00:00) 248.50 248.95 248.20 248.70 (11/01/11 09:01:00) 248.70 249.00 248.65 248.85 (11/01/1...