First time here? Check out the FAQ!
answered 10 years ago
Plotting a piecewise function is different to plotting 'normal' functions.
f = Piecewise([[(0,pi/2),-1],[(pi/2,pi),2]]) f.plot()