First time here? Check out the FAQ!
answered 2014-11-11 09:49:22 +0100
Plotting a piecewise function is different to plotting 'normal' functions.
f = Piecewise([[(0,pi/2),-1],[(pi/2,pi),2]]) f.plot()