added a test plot for a single data point and resolved the issues with it