When plotting data such as x = {1,2,2,3} and y = {1,1,2,2} you sometimes get a strange zig zag in the graph rather than a straight line. My guess is since there is some ordering or rendering that takes place that does not respect the order of the vector. Can anyone recommend a fix to this?