Fix bug with scale data in plotter.