fz(x):= 
if (x>=-5 and x<-2) then f1(x) else 
if (x>=-2 and x<2) then f2(x) else 
if (x>=2 and x<=5) then f3(x)$

wxplot2d([fz(x)], [x,-5,5], [y,-2,6])$