% scrubs data into three column vector
% column 1 is voltage /V
% column 2 is length /mm
% column 3 is force /N

load 8gContractionData

contraction8gPlot = plot(plotTimes,100*contraction5,':',...
    plotTimes,100*contraction6,':',...
    plotTimes,100*contraction7,':',...
    plotTimes,100*contraction8,...
    plotTimes,100*contraction9,...
    plotTimes,100*contraction10);
set(gcf,'Position', [100 100 1000 750]);
set(contraction8gPlot(1),'Color',[.6 .2 .2],'LineWidth',3);
set(contraction8gPlot(2),'Color',[.4 .8 .4],'LineWidth',3);
set(contraction8gPlot(3),'Color',[.6 .6 1],'LineWidth',3);
set(contraction8gPlot(4),'Color',[.6 .2 .2],'LineWidth',3);
set(contraction8gPlot(5),'Color',[.4 .8 .4],'LineWidth',3);
set(contraction8gPlot(6),'Color',[.6 .6 1],'LineWidth',3);
contraction8gAxes1 = gca;
set(contraction8gAxes1,'color','none','box','off','LineWidth',3,'FontSize',19);
axis([0 2.5 0 100]);
xlabel('Time (s)');
ylabel('Contraction (%)');
contraction8glegend = legend('5 kV','6 kV','7 kV','8 kV','9 kV','10 kV','Location','SouthEast');
set(contraction8glegend,'color','w')
contraction8gAxes2 = axes('box','on','LineWidth',3,'XTick',[],'YTick',[],'FontSize',19);
axes(contraction8gAxes1)
contraction8gPropLink = linkprop([contraction8gAxes1 contraction8gAxes2],'Position');