On 28 Okt., 03:43, Eric Kangas <eric.c.kan...@gmail.com> wrote: > still new to sage noticed that most plots had that listed to show the > intervals between the range. Thanks for the info.
See also the Sage versions of Python's range() and xrange(): srange() and xsrange(). E.g. sage: srange(1,10,2) [1, 3, 5, 7, 9] sage: type(srange(1,10,2)[0]) <type 'sage.rings.integer.Integer'> sage: type(range(1,10,2)[0]) <type 'int'> sage: srange(1.1,5.1) [1.10000000000000, 2.10000000000000, 3.10000000000000, 4.10000000000000] sage: srange(0.1,pi/2,0.5) [0.100000000000000, 0.600000000000000, 1.10000000000000] sage: srange(0.0,pi+pi/3,pi/3.0) [0.000000000000000, 0.333333333333333*pi, 0.666666666666667*pi, pi] -leif -- 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