time1 = [0.53, 0.35, 0.79, 0.82, 0.51, 0.48, 0.68, 0.72, 0.57, 0.51, 0.40, 0.66, 0.51, 0.50, 0.73, 0.51, 0.58, 0.51, 0.62, 0.60];
time2 = [0.87, 1.37, 1.24, 0.98, 1.18, 0.82, 1.46, 1.08, 1.22, 0.95, 1.16, 1.22, 1.19, 1.44, 1.00, 1.31, 0.98, 1.49, 1.24, 1.16];
hist (time1, 5, "facecolor", "r", "edgecolor", "k");
hold on;
hist (time2, 5, "facecolor", "b", "edgecolor", "k");
xlabel('time (s)', 'FontSize', 16)
ylabel('frequency', 'FontSize', 16)
axis('tight')
set(gca,'FontSize',16)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: