%plot_data % % Usage: % plot_data(x, y) % % This function adds a plot of the provided x and y data to a figure. % Note that the title, axis labels, etc. must be handled outside of the % function. % % Author: Robert Wagner % Date: 2nd March 2009 % Last Modified: 12th March 2009 function origPlot(x, y, markerFormat) hold on; plot(x,y, 'k.'); hold off;