Haven't found any mentioning of this, so apologies if this has been reported or asked already
As opposed to version 3, Sage 4.1 has some problems plotting a function that is not continuous over all the x values in the plot range. Consider the function f(x) = sqrt(x^2 - 4), which does not exist between -2 and +2. Doing a: plot(sqrt(x^2-4),-5,5).show() will now give you an error message, saying that for nnn points (depending on how many plot_points you specified) the function could not be plotted. Fortunately the function is plotted anyway, but worse is that it draws an ugly connecting line between the two branches of the graph. And if you do not specify a high plot_points count, a square root function does not touch the x-axis, as it should, and with the connecting line it looks even weirder. Has there been a change between v3 and v4? Is there now for instance a "discontinue=true" option, as for instance Maple seems to have? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
