> Would it help to open a ticket for motivation? I noticed another issue, > namely that the y-axis range is chosen randomly and the plots look > different every time they are evaluated. I remember reading something > about this bug a while ago but I don't remember where.
Believe it or not, this is not a bug per se, but rather a feature of adaptive plotting that our show() command should be made perhaps to work around. The y-axis range encompasses whatever points were actually evaluated (unless you use whuss' new asymptote-avoiding option, though the points are still generated). For polynomials this will not be a problem, but for anything which has irregular behavior like an asymptote, the actual y-values will depend on the (randomized) points chosen. If you put randomize=False this will not happen, I think. See sage: from sage.plot.plot import generate_plot_points sage: generate_plot_points? for more information. Ticket # 3985 is what you want for this. Probably the easiest fix is to use a heuristic to tell generate_plot_points when to stop plotting, similar to the resolution of #6035, but I am uncomfortable with this approach because it is hard to predict just how slope-y "naturally occurring" functions should be. - kcrisman --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---