velocity scatter plot program for testing