plotTraj plots data