Opened 9 years ago

Last modified 5 years ago

#9795 new defect

Make sure new plot syntax works with Sage polynomials

Reported by: kcrisman Owned by: jason, was
Priority: major Milestone: sage-6.4
Component: graphics Keywords:
Cc: jason Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:


pts = [(1,2),(2,3),(3,2),(4,3),(5,2),(6,3)] 
f = R.lagrange_polynomial(pts) 
2. If one has a non-symbolic polynomial currently, it won't plot with 
the new plotting syntax. 
plot(f,0,5) # works, old-school Sage 
plot(f,(x,0,5)) # doesn't work, new-school Sage 
plot(f,x,0,5) # doesn't work, though sort of makes sense it shouldn't 
since x isn't a symbolic variable now... ? 

Obviously any polynomial f is what is at issue, not just this particular one.

Change History (5)

comment:1 Changed 9 years ago by kcrisman

This would be good to work too, if we can fix the above.

pts = [(1,2)] 
f = R.lagrange_polynomial(pts) 
<boom because integers have no .plot() method>
Last edited 7 years ago by kcrisman (previous) (diff)

comment:2 Changed 6 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:3 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:4 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:5 Changed 5 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4
Note: See TracTickets for help on using tickets.