Added ability to create scatter plots