Ticket #5368 (closed defect: fixed)
[with patch, positive review] plot3d is broken when variables not given
| Reported by: | was | Owned by: | was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.4 |
| Component: | graphics | Keywords: | |
| Cc: | wcauchois | Work issues: | |
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description (last modified by was) (diff)
In released sage-3.3, this gives an infinite loop in the command line or notebook in OS X and Linux (sagenb.org):
var('x,y')
plot3d(x*y^2 - sin(x), (-1,1), (-1,1))
Pretty bad!!
Attachments
Change History
comment:2 Changed 4 years ago by was
This is (probably) because fast_float isn't being used for some weird reason:
sage: var('x,y')
(x, y)
sage: plot3d(x*y^2 - sin(x), (-1,1), (-1,1))
^CControl-C pressed. Interrupting Maxima. Please wait a few seconds...
Exception exceptions.KeyboardInterrupt: KeyboardInterrupt() in ignored
^C^CControl-C pressed. Interrupting Maxima. Please wait a few seconds...
^CControl-C pressed. Interrupting Maxima. Please wait a few seconds...
^CControl-C pressed. Interrupting Maxima. Please wait a few seconds...
comment:3 Changed 4 years ago by wcauchois
- Summary changed from plot3d is broken when variables not given to [with patch, needs review] plot3d is broken when variables not given
William's assessment was correct; the function was not being converted into a fast_float form because parametric_plot3d.adapt_to_callable was being invoked incorrectly. I tried to update the documentation of this function according to what I figured out about its workings, so that this mistake might be avoided in the future.
comment:5 Changed 4 years ago by mabshoff
- Cc wcauchois added; wcauchois@… removed
- Milestone changed from sage-3.4 to sage-3.4.1
No need to add a complete email address, the account name in trac is sufficient.
Cheers,
Michael
Note: See
TracTickets for help on using
tickets.

