plotting discontinuous functions

22 views
Skip to first unread message

Fernando Gouvea

unread,
Jul 11, 2025, 2:07:16 PMJul 11
to sage-support

Running Sage 10.2 on Ubuntu in WSL...

When I try to plot certain discontinuous functions I get long error messages ending with

TypeError: ECL says: BINDING-STACK overflow at size 10240. Stack can probably be resized.
Proceed with caution.
For example, this happens when I try to plot (-1)^floor(x)*frac(x) and for functions defined using piecewise. Any hints?

Fernando

-- 
=============================================================
Fernando Q. Gouvea         http://www.colby.edu/~fqgouvea
Carter Professor of Mathematics
Dept. of Mathematics
Colby College              
5836 Mayflower Hill        
Waterville, ME 04901       

To be human is not simply to possess the capacity to make rational
choices; it is to possess the capacity to make those choices potent.
And that potency will change you over time, not only in obvious
external ways, but internally too. Those changes can be for good or
evil, of course, but whatever they are, they are obviously
potent. They change you. 
  -- Jake Meador, Mere Orthodoxy

Dima Pasechnik

unread,
Jul 11, 2025, 9:52:13 PMJul 11
to sage-s...@googlegroups.com
I don't think many people run 10.2, and it might be that your problem is fixed in 10.6.
Can you post a complete reproducer for the problem?

Best,
Dmitrii
Reply all
Reply to author
Forward
0 new messages