On Mar 16, 9:20 am, Anthony Wickstead <a.wickst...@qub.ac.uk> wrote: > But in your example the first range is empty. I changed the exclude value to > [1..2,3..4] and again the first interval is fine and the second wrong.
Good point, I changed everything else to avoid the pi but not that! Hmm, maybe that's a clue... By the way, sage: [pi..2*pi,3*pi..4*pi] [pi, pi + 1, pi + 2, pi + 3, 3*pi, 3*pi + 1, 3*pi + 2, 3*pi + 3] I've updated the ticket with some more examples that have ticks placed so that it's easy to compare. Perhaps these will be illuminating to someone: sage: plot(sin(pi*x)^cos(pi*x),(x,0,4),exclude=[3,4],ymax=20) sage: plot(sin(pi*x)^cos(pi*x),(x,0,4),exclude=[1,2,3,4],ymax=20) Also, here is the relevant code in Sage 4.8, for those playing at home: http://hg.sagemath.org/sage-main/file/c239be1054e0/sage/plot/plot.py#l3271 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org