On Aug 25, 4:02 am, "Johan S. R. Nielsen" <[email protected]>
wrote:
> > 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... ?
>
> > If there was a direct interpolated polynomial for SR I wouldn't have
> > noticed the second one.
>
> With a non-symbolic polynomial, do you mean a Sage-expression like the
> one such as returned from SR(f) in the above? In that case all three
> syntaxes works for me. But maybe I'm misunderstanding the question.

No, I meant the original f with that. SR(f) coerces (I think that's
the correct word) to SymbolicRing, and this does indeed work properly;
the original f isn't 'Symbolic' in that sense, but just a
'Polynomial'.  With the original f, plot() calls f.plot() which
doesn't take (x,0,5), but rather wants two endpoints.

These now have Trac tickets, by the way (#9795 and #9794).

- kcrisman

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to