Ask Your Question

Revision history [back]

The workaround here is to use a lambda expression.

This is a very general trick for any plotting problem where there are problems with the function or expression.

Using the following should get you the plot you want.

sage: plot(lambda x: f(x), (2, 6))