[R] newbie graphics question
Wolfgang Viechtbauer
wviechtb at s.psych.uiuc.edu
Wed Aug 29 05:29:28 CEST 2001
> I need to plot two lines on the same graph. I do
> plot(x,y)
> then
> plot(x,z,add=TRUE)
Maybe try using the par(new=TRUE) parameter, as in:
plot(x,y)
par(new=TRUE)
plot(x,z)
Hope that helps!
------------------------------------------------------------------------
Wolfgang Viechtbauer wviechtb at s.psych.uiuc.edu
Department of Quantitative Psychology viechtba at students.uiuc.edu
University of Illinois, Champaign-Urbana [Virus based on an honors-
Room 409, Psychology Building system: Forward this to 10
603 E. Daniel Street random people and delete a
Champaign, IL 61820 bunch of your files. Thanks.]
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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