plot trajectory