figure(1)

subplot(3,1,1)
plot(testgsr)
hold on
for i=1:length(a1)
  plot(a1(i),testgsr(a1(i)),'go')
  plot(b1(i),testgsr(b1(i)),'rx')
end  
hold off

subplot(3,1,2)
plot(testgsr)
hold on
for i=1:length(a2)
  plot(a2(i),testgsr(a2(i)),'go')
  plot(b2(i),testgsr(b2(i)),'rx')
end  
hold off


subplot(3,1,3)
plot(testgsr)
hold on
for i=1:length(a3)
  plot(a3(i),testgsr(a3(i)),'go')
  plot(b3(i),testgsr(b3(i)),'rx')
end  
hold off
