On Saturday 10 February 2007 10:20, David Joyner wrote: > Is this what you want? > > sage: f = lambda x:1/x > sage: p = plot(f(x),-4,4) > sage: show(p,xmin=-4,xmax=4,ymin=-4,ymax=4)
Hmm, now I feel stupid ... I shouldn't have read the documentation. Neither the "show??" or "plot??" documentation are very clear on that (or a whole bunch of other things). Thanks. And another plotting question: sage: f = lambda x:1/(x+1) sage: p=plot(f,-4,4) sage: show(p,xmin=-4,xmax=4,ymin=-4,ymax=4) produces a vertical line at x=-1 for the discontinuity. Is there a way to suppress that? After reading the reference manual, I see that I could add a plot to the left of -1 to a plot to the right of -1. Is there a better way? -- Joel --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---