Displaying 1 result from an estimated 1 matches for "histcol".
Did you mean:
firstcol
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$histcol" in the 2nd plot() function, it works.
But currently it's not working showing the following msg:
Error in axis(1, at = xycoords$x, labels = FALSE, col = "#...