% Double click the CSV file to get all of the data as column vectors

errorbar(ExtensionLonly, LoadLonly, StdDevLonly);
hold on;
errorbar(ExtensionRonly, LoadRonly, StdDevRonly);
errorbar(ExtensionLR, LoadLR, StdDevLR);
errorbar(ExtensionLLL, LoadLLL, StdDevLLL);
errorbar(ExtensionLRL, LoadLRL, StdDevLRL);
hold off;

xlabel('Extension (mm)')
ylabel('Load (N)');

legend('L only', 'R only', 'LR', 'LLL', 'LRL');

figure;

maxLoads = [max(LoadLonly), max(LoadRonly), max(LoadLR), max(LoadLLL), max(LoadLRL) ];
maxStdDev = [std(LoadLonly), std(LoadRonly), std(LoadLR), std(LoadLLL), std(LoadLRL) ];

bar(1:5, maxLoads);
xticklabels({'L', 'R', 'LR', 'LLL', 'LRL'})
hold on;
errorbar(1:5, maxLoads, maxStdDev, 'o', 'LineWidth', 2);
