[sage-devel] Re: plot float arguments

2009-03-23 Thread Jason Grout
Henryk Trappmann wrote: > On Mar 23, 8:57 pm, Robert Bradshaw > wrote: >> Do you mean something likehttp://trac.sagemath.org/sage_trac/ticket/ >> 3813 , and if so, why isn't this used by default? > > Ya thats for plot, I think we need a slightly different approach for > parametric_plot. > The co

[sage-devel] Re: plot float arguments

2009-03-23 Thread Henryk Trappmann
On Mar 23, 8:57 pm, Robert Bradshaw wrote: > Do you mean something likehttp://trac.sagemath.org/sage_trac/ticket/ > 3813 , and if so, why isn't this used by default? Ya thats for plot, I think we need a slightly different approach for parametric_plot. The common demand is that the curve shall lo

[sage-devel] Re: plot float arguments

2009-03-23 Thread Robert Bradshaw
On Mar 22, 2009, at 10:33 AM, Henryk Trappmann wrote: > > On Mar 22, 3:45 pm, Carl Witty wrote: >> You can get a nicer plot by either increasing the plot_points, or >> decreasing the range: >> >> parametric_plot((lambda x: arctan(x),lambda x: >> arctan(x)**2),(-1000,1000),marker='.', plot_points

[sage-devel] Re: plot float arguments

2009-03-22 Thread Henryk Trappmann
On Mar 22, 3:45 pm, Carl Witty wrote: > You can get a nicer plot by either increasing the plot_points, or > decreasing the range: > > parametric_plot((lambda x: arctan(x),lambda x: > arctan(x)**2),(-1000,1000),marker='.', plot_points=1) > > parametric_plot((lambda x: arctan(x),lambda x: > arc

[sage-devel] Re: plot float arguments

2009-03-22 Thread Carl Witty
On Sun, Mar 22, 2009 at 3:55 AM, Henryk Trappmann wrote: > > Another evil example: > parametric_plot((lambda x: arctan(x),lambda x: arctan(x)**2), > (-1000,1000)) > > It seems that the plot algorithm is somehow deficient in those cases. In both cases, it's plotting points approximately evenly sp

[sage-devel] Re: plot float arguments

2009-03-22 Thread Henryk Trappmann
Another evil example: parametric_plot((lambda x: arctan(x),lambda x: arctan(x)**2), (-1000,1000)) It seems that the plot algorithm is somehow deficient in those cases. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsub

[sage-devel] Re: plot float arguments

2009-03-22 Thread Henryk Trappmann
On Mar 22, 2:54 am, Jason Grout wrote: > I think the main reason is to give *massive* speedups (i.e., orders of > magnitude).  Can you post an example of the problems you are experiencing? I thought plotting are just some arithmetical operations for around hundret points, why can it slow down so

[sage-devel] Re: plot float arguments

2009-03-21 Thread Jason Grout
Henryk Trappmann wrote: > Is there any reason why plot converts the arguments of a function > allways to float? > This way it is impossible to zoom in, and sometimes there are strange > artifacts, like breaks in otherwise smooth functions. > Why not just take the number domain of the interval bord