-
-
Notifications
You must be signed in to change notification settings - Fork 641
Open
Description
pts = [(1,2),(2,3),(3,2),(4,3),(5,2),(6,3)]
R.<x>=QQ[]
f = R.lagrange_polynomial(pts)
SR(f)
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.
CC: @jasongrout
Component: graphics
Issue created by migration from https://trac.sagemath.org/ticket/9795