implement cmd script for plotting single trip