I haven't checked, but try grouping the plots together, (plot(1/t,.1,8)+plot(1/t,1/2,1,fill=true)).show()
Rob On Feb 8, 5:47 am, Dana Ernst <dcer...@plymouth.edu> wrote: > Forgive my ignorance and for asking such a silly question... > > Today in Calc II, I'm introducing the natural log as an integral. I'd like > to show the graph of y=1/t from say 0 to 8 and have the area under the graph > shaded from say 1/2 to 1. Doing the following seemed natural to me: > > plot(1/t,.1,8)+plot(1/t,1/2,1,fill=true).show() > > However, this doesn't work. (Of course, I declared t as a variable earlier.) > I'm sure I could figure this out, but I teach in an hour and I'm sure > someone here could quickly tell me:) > > Also, if someone wouldn't mind telling when to use ".show" that would be > great. > > Dana Ernst, Ph.D. > Assistant Professor > Department of Mathematics > Plymouth State University > MSC 29, 17 High Street > Plymouth, NH 03264-1595 > > Email: dcer...@plymouth.edu > Web Page:http://oz.plymouth.edu/~dcernst > Office: Hyde 312 -- You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-...@googlegroups.com. To unsubscribe from this group, send email to sage-edu+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.