Changing the way line is plotted