Hello, Is it possible to plot several functions on a same plot? example: 3 functions : f(x), g(x), h(x) I would like to obtain one graphic with x-axis and y-axis and the 3 functions plotted to compare them. Vincent -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
several functions in the same plot
2 messages · demolombe, vito muggeo
Use can use: plot(f1,type="l",lty=1) lines(f2,lty=2) lines(f3,lty=3) where f1, f2 and f3 are your functions. best, vito ----- Original Message ----- From: "demolombe" <demolomb at ensam.inra.fr> To: <r-help at stat.math.ethz.ch> Sent: Monday, November 18, 2002 10:56 AM Subject: [R] several functions in the same plot
Hello, Is it possible to plot several functions on a same plot? example: 3 functions : f(x), g(x), h(x) I would like to obtain one graphic with x-axis and y-axis and the 3 functions plotted to compare them. Vincent -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._