Sage: Ticket #9795: Make sure new plot syntax works with Sage polynomials
https://trac.sagemath.org/ticket/9795
<pre class="wiki">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... ?
</pre><p>
Obviously any polynomial f is what is at issue, not just this particular one.
</p>
en-usSagehttps://trac.sagemath.org/chrome/site/logo_sagemath_trac.png
https://trac.sagemath.org/ticket/9795
Trac 1.1.6kcrismanTue, 24 Aug 2010 15:20:13 GMT
https://trac.sagemath.org/ticket/9795#comment:1
https://trac.sagemath.org/ticket/9795#comment:1
<p>
This would be good to work too, if we can fix the above.
</p>
<pre class="wiki">pts = [(1,2)]
R.<x>=QQ[]
f = R.lagrange_polynomial(pts)
f.plot(0,7)
<boom because integers have no .plot() method>
</pre>
TicketjdemeyerTue, 13 Aug 2013 15:35:53 GMTmilestone changed
https://trac.sagemath.org/ticket/9795#comment:2
https://trac.sagemath.org/ticket/9795#comment:2
<ul>
<li><strong>milestone</strong>
changed from <em>sage-5.11</em> to <em>sage-5.12</em>
</li>
</ul>
Ticketvbraun_spamThu, 30 Jan 2014 21:20:52 GMTmilestone changed
https://trac.sagemath.org/ticket/9795#comment:3
https://trac.sagemath.org/ticket/9795#comment:3
<ul>
<li><strong>milestone</strong>
changed from <em>sage-6.1</em> to <em>sage-6.2</em>
</li>
</ul>
Ticketvbraun_spamTue, 06 May 2014 15:20:58 GMTmilestone changed
https://trac.sagemath.org/ticket/9795#comment:4
https://trac.sagemath.org/ticket/9795#comment:4
<ul>
<li><strong>milestone</strong>
changed from <em>sage-6.2</em> to <em>sage-6.3</em>
</li>
</ul>
Ticketvbraun_spamSun, 10 Aug 2014 16:51:03 GMTmilestone changed
https://trac.sagemath.org/ticket/9795#comment:5
https://trac.sagemath.org/ticket/9795#comment:5
<ul>
<li><strong>milestone</strong>
changed from <em>sage-6.3</em> to <em>sage-6.4</em>
</li>
</ul>
Ticket