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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to