function mkPlots(indxs,colors,sizes)
DataStruct = evalin('base','DataStruct');

figure;
hold on;
for ii = 1:length(indxs)
    brakeStartTime = DataStruct(indxs(ii)).Data.time(min(find(DataStruct(indxs(ii)).Data.signals(6).values > 0)));
    theLegends{ii} = DataStruct(indxs(ii)).ExpName;
    % Use this h just for setting size
    g(ii)=plot(DataStruct(indxs(ii)).Data.time-brakeStartTime,DataStruct(indxs(ii)).Data.signals(4).values,colors{ii});
    set(g(ii),'LineWidth',sizes(ii));
    % Save this h for later use in legend
    h(ii)=plot(DataStruct(indxs(ii)).Data.time-brakeStartTime,DataStruct(indxs(ii)).Data.signals(5).values,colors{ii});
    set(h(ii),'LineWidth',sizes(ii),'Marker','x');
end

xlabel('Time [s]')
ylabel('Speed [rpm]')
theLegends{ii+1} = 'Braked wheel';
theLegends{ii+2} = 'Unbraked wheel';
legend( [g h(1) g(1)],theLegends)

title('ABS: Speed Vs Time, braked and unbraked wheel in same color')
axis([-0.1 inf -inf inf])
theLegends = [];
figure;
hold on;
for ii = 1:length(indxs)
    DataStruct(indxs(ii)).Data.signals(1).values(1:3) = 0;
    brakeStartDistance = DataStruct(indxs(ii)).Data.signals(1).values(min(find(DataStruct(indxs(ii)).Data.signals(6).values > 0)));
    theLegends{ii} = DataStruct(indxs(ii)).ExpName;
    % Use this h just for setting size
    g(ii)=plot(DataStruct(indxs(ii)).Data.signals(1).values-brakeStartDistance,DataStruct(indxs(ii)).Data.signals(4).values,colors{ii});
    set(g(ii),'LineWidth',sizes(ii));
    % Save this h for later use in legend
    h(ii)=plot(DataStruct(indxs(ii)).Data.signals(1).values-brakeStartDistance,DataStruct(indxs(ii)).Data.signals(5).values,colors{ii});
    set(h(ii),'LineWidth',sizes(ii),'Marker','x');
end

xlabel('Distance [m]')
ylabel('Speed [rps]')
theLegends{ii+1} = 'Braked wheel';
theLegends{ii+2} = 'Unbraked wheel';
legend( [g h(1) g(1)],theLegends)
title('ABS: Speed Vs Distance, braked and unbraked wheel in same color')
axis([-2 inf -inf inf])

theLegends = [];
figure;
hold on;
for ii = 1:length(indxs)
    brakeStartTime = DataStruct(indxs(ii)).Data.time(min(find(DataStruct(indxs(ii)).Data.signals(6).values > 0)));
    theLegends{ii} = DataStruct(indxs(ii)).ExpName;
    h(ii)=plot(DataStruct(indxs(ii)).Data.time-brakeStartTime,DataStruct(indxs(ii)).Data.signals(3).values,colors{ii});
    set(h(ii),'LineWidth',sizes(ii));
end

xlabel('Time [s]')
ylabel('Slip')
legend(h,theLegends)
title('ABS: Slip Vs Time')
axis([-0.1 inf -inf inf])
