Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Plotting a piecewise function is different to plotting 'normal' functions.

f = Piecewise([[(0,pi/2),-1],[(pi/2,pi),2]]) 
f.plot()