On Thu, 18 Mar 2010 08:43:44 +0100
Jose Guzman <n...@neurohost.org> wrote:

> Hi Nareto,
> 
> would you mind to write a simple and minimal example of your f(t) and 
> plot options? This would be the best way to try to help you
> 
> 
> 
> Nareto 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
> >
> >   
> 



Ok, sorry for the delay. Here there is a simplified version of what I'd
like to do. I'm having difficulties in viewing a satisfactory "zoom"
level near the critical value of t (called tc in the code). The line is
there because I'd like to draw the vertical asymptote

g(t) = exp(t)/(2*exp(t) - 1);
tc = N(ln(1/2));
c = 0.3;
P = plot(g(t),(tc - c, tc + c), color='yellow');
L = line([(tc,-c*10^4),(tc,c*10^4)], color='green', linestyle='--');
P + L;



any ideas?
thanks
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

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to