handles{} = plot_curve_pieces(x, y, varargin) Mimics the plot() function, but does several plots if x does not have the same increment step.