You may want to try the curve function. For example: curve(x^2,-1,1,xlim=c(-3,5),ylim=c(0,9)) curve(x^2,2,3,add=TRUE)
Todd Mattson DeVry University -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yahoo! Sent: Wednesday, May 08, 2013 6:10 AM To: [email protected] Subject: [R-sig-teaching] graphing inequalities (intervals) in one varible Dear All: It seems a very silly question. But I never tried it before. I am teaching a college algebra class this summer. I need some help with graphing intervals on the real line. For examples: {x | -7<= x < 5 and x > 7} {x | x > 3} etc... thank you very much abou ======================== AbouEl-Makarim Aboueissa Sozan Elsalakawy Mohamed Agamia 246 Auburn Street, #158 Portland, ME 04103 USA Tel: (207) 797-2724 Email: [email protected] [[alternative HTML version deleted]] _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
