polar plot Piecewise[{{-2*t/pi+3, t < pi/2}, {2*t/pi+1, t > pi/2}}], {t, 0, pi}]