function qtimeLinesFig(X1, YMatrix1)
%CREATEFIGURE(X1,YMATRIX1)
%  X1:  vector of x data
%  YMATRIX1:  matrix of y data

%  Auto-generated by MATLAB on 20-May-2014 01:40:19

% Create figure
figure1 = figure;

% Create axes
axes1 = axes('Parent',figure1);
% Uncomment the following line to preserve the Y-limits of the axes
% ylim(axes1,[0 20000]);
box(axes1,'on');
hold(axes1,'all');

% Create multiple lines using matrix input to plot
plot1 = plot(X1,YMatrix1,'Parent',axes1);
set(plot1(1),'Marker','o','DisplayName','Trained');
set(plot1(2),'Marker','.','LineStyle','--','DisplayName','By size');
set(plot1(3),'Marker','x','LineStyle',':','DisplayName','Random');

% Create xlabel
xlabel({'Query Mean Interarrival Time (ms)'});

% Create ylabel
ylabel({'Time (ms)'});

% Create title
title({'ClueWeb no dup 1 week'});

% Create legend
legend(axes1,'show');

% Print to file
% print(figure1,'-dpdf','title.pdf')
