On Wed, Feb 20, 2008 at 4:04 AM, Jason Grout
<[EMAIL PROTECTED]> wrote:
>
> dean moore wrote:
> > Thanks for the response! I used some slightly different code; in case
> > anyone else deals
> > with the "wiggling graph" problem before the next SAGE is out, one
> > snippet that worked
> > fo
dean moore wrote:
> Thanks for the response! I used some slightly different code; in case
> anyone else deals
> with the "wiggling graph" problem before the next SAGE is out, one
> snippet that worked
> for me follows:
>
> /def f(x):
> return x*sin(x^2)
> v = []
>
> # Define graph outside
Thanks for the response! I used some slightly different code; in case
anyone else deals
with the "wiggling graph" problem before the next SAGE is out, one snippet
that worked
for me follows:
*def f(x):
return x*sin(x^2)
v = []
# Define graph outside loop to avoid "wiggling graph" problem:
g
Jason Grout wrote:
> Jason Grout wrote:
>> dean moore wrote:
>>> I ran the code now living at < https://www.sagenb.org/home/pub/1691/ >,
>>> but the function's graph
>>> "wiggles," most notably by the right endpoint. Tested, both Firefox &
>>> Internet Explorer. Same thing.
>>> Read through <
Jason Grout wrote:
> dean moore wrote:
>> I ran the code now living at < https://www.sagenb.org/home/pub/1691/ >,
>> but the function's graph
>> "wiggles," most notably by the right endpoint. Tested, both Firefox &
>> Internet Explorer. Same thing.
>> Read through <
>> http://www.sagemath.org
The documentation for plot() says:
The actual sample points are slightly randomized, so the above
plots may look slightly different each time you draw them.
I assume that this an easy way to get the behavior:
Note that this function does NOT simply sample equally spaced