Try plot(f(t), ymax=17, ymin=-12)
On Mar 17, 2:32 pm, Nareto <renn...@gmail.com> wrote: > Hello, I have to plot an exponential function with vertical asymptote > in point tc, but > > plot(f(t), (tc - e, tc + e)); > > gives me unreadable plots for any values of e - if e is to large the > curvature is not apreciable (i.e. the plot is confused with the axes) > but if it's too small I'm getting things like 40000 on the y axis. > > So, how can I force the y axis range? I tried this but it doesn't > change anything: > > P = plot(f(t)); > P.set_range_axes(tc - 0.2, tc + 0.2, f(tc - 0.2), f(tc + 0.2)); > show(P); > > Question #2, how can I tell sage not to 'break' the axes? for example, > > plot(1/(x + 3)); > > doesn't show me the last bit of the y axis, it ends approximately at > 0.25 > > thanks for any help > Renato -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org