[sage-support] Re: Animation "wiggling" question

2008-02-20 Thread William Stein
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

[sage-support] Re: Animation "wiggling" question

2008-02-20 Thread Jason Grout
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

[sage-support] Re: Animation "wiggling" question

2008-02-20 Thread dean moore
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

[sage-support] Re: Animation "wiggling" question

2008-02-20 Thread Jason Grout
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 <

[sage-support] Re: Animation "wiggling" question

2008-02-20 Thread Jason Grout
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

[sage-support] Re: Animation "wiggling" question

2008-02-20 Thread Jonathan Bober
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