On Sun, Mar 22, 2009 at 3:55 AM, Henryk Trappmann <bo198...@googlemail.com> 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 spaced throughout the given range; since the functions being plotted are very nonlinear, this gives bad results here. You can use marker= to see what's going on: parametric_plot((lambda x: arctan(x),lambda x: arctan(x)**2),(-1000,1000),marker='.') 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=10000) parametric_plot((lambda x: arctan(x),lambda x: arctan(x)**2),(-10,10),marker='.') Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---