Ask Your Question

Slam's profile - activity

2021-09-30 16:09:06 +0100 received badge  Notable Question (source)
2020-04-28 16:58:51 +0100 received badge  Popular Question (source)
2014-02-06 13:37:37 +0100 received badge  Nice Question (source)
2014-02-02 10:11:17 +0100 answered a question Tick Marks and Intercepts

Certainly no need to apologize; this answer is very helpful. Thanks much, kcrisman.

2014-02-01 21:13:04 +0100 received badge  Student (source)
2014-02-01 14:56:21 +0100 asked a question Tick Marks and Intercepts

Help! I'm trying to use Sage to plot x-intercepts, and there seems to be a problem when I try to zoom in too far. E.g. if I execute

plot(1-4*x^2,.4999,.5001,tick_formatter=.0001.n(digits=6))

then I get exactly what I expect, but if I execute

plot(1-4*x^2,.49999,.50001,tick_formatter=.00001.n(digits=7))

then I get this error message:

Traceback (click to the left of this block for traceback) ... Unknown symbol: \verb (at char 0), (line:1, col:1)

Curiously, this seems to be directly related to the fact that my function is crossing the x axis on the domain in question. E.g. if I try

plot(1-4*x^2,1.49999,1.50001,tick_formatter=.00001.n(digits=7))

then everything comes out fine.

Any thoughts on what's going on and/or how to get around it?

Thanks.

2014-02-01 00:25:06 +0100 answered a question Controlling tick marks in plots

How can I get precise tick marks? E.g if I execute

plot(1-2*x^2,x,.707106,.707107)

then ALL of the tick marks on the x axis read 7.071e-1. How can I get the tick marks to write out to seven decimal places? I've tried messing around with the ticks and tick_formatter specifications, but I get either no improvement or an error message.

Can anyone help? Thanks.