Fixed bug where x values are null but y values are not and improved
readability of code
Updated method signature in plotter interface for image plot