comment out %matplotlib; save x0,y0,z0 in addition to t