On Jun 8, 6:04 am, Rolf <[email protected]> wrote:
> > Both cases should work if you use
>
> > plot(f, (x,90,110))
> > plot(f, (x,0,2))
>
> ... and in fact they do.
> I feel, this should be documented somewhere.
The difference between symbolic callable functions and all other
function types (not to mention symbolic expressions that are not
functions) is a subtle one. Basically, the rule is that anything you
don't define using the syntax
f(x)=expression_with_x
should be called in plot with
plot(f,(x,90,110))
In particular, anything defined using 'def' will have to be done this
way. Or
plot(f,90,110)
or even
var('y')
plot(f,(y,90,110))
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org