0001
0002 function createPlot(x1, y1, xLabel, yLabel, Title)
0003
0004
0005 figure1 = figure;
0006
0007
0008 axes1 = axes(...
0009 'FontName','Times New Roman',...
0010 'FontSize',14,...
0011 'Parent',figure1);
0012 box('on');
0013 hold('all');
0014
0015
0016 plot1 = plot(...
0017 x1,y1,...
0018 'LineWidth',2.5,...
0019 'Marker','o',...
0020 'MarkerSize',10,...
0021 'MarkerEdgeColor',[0 0 0],...
0022 'MarkerFaceColor',[0 1 0]);
0023
0024
0025 xlabel(xLabel,...
0026 'FontName','Times New Roman',...
0027 'FontSize',14);
0028
0029
0030 ylabel(yLabel,...
0031 'FontName','Times New Roman',...
0032 'FontSize',14);
0033
0034
0035 title(Title,...
0036 'FontName','Times New Roman',...
0037 'FontSize',14);
0038