plotting both x1,x2 and f1,f2