Ask Your Question

Revision history [back]

To plot a Python function (i.e. a function defined by means of def), simply provide the function's name to the plot function. In your case this is T and not T(x, y):

plot3d(T, (-2, 2), (-2, 2))

works well with the function T that you have defined.