answered 13 years ago
Is this what you want?
sage: g(x) = log(abs(x)) sage: f(x) = max_symbolic(g(x),0) sage: f x |--> max(log(abs(x)), 0) sage: plot(f,(x,-e,e))