Displaying 2 results from an estimated 2 matches for "macdsig".
Did you mean:
badsig
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 fix it ?
BR,
SK Park
[[alternative HTML version deleted]]
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...