[R] Combining lines and barplot
Dirk Eddelbuettel
edd at debian.org
Sat Jul 8 20:14:35 CEST 2000
With a data frame containing daily data, I would like to overlay a barplot of
daily outcomes with the daily high and low. However, when use the
straightforward
barplot(X$"day_end", col="gray", ylim=c(0,120))
lines(X$"day_high", col="blue")
lines(X$"day_low", col="blue")
the lines do not correspond to the same (daily) x-axis values. How can I
make them do that?
Thanks, Dirk
--
According to the latest figures, 43% of all statistics are totally worthless.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list