x0 = [ 0.0 0.025 0.05 0.075 0.1 0.125 0.15 0.175 0.2 0.225 0.25 0.275 0.3 0.325 0.35 0.375 0.4 0.425 0.45 0.475 0.5 0.525 0.55 0.575 0.6 0.625 0.65 0.675 0.7 0.725 0.75 0.775 0.8 0.825 0.85 0.875 0.9 0.925 0.95 0.975 1.0];
y0 = [ 0.0 0.0 0.07142857142857144 0.07142857142857144 0.1787878787878788 0.17045454545454544 0.20833333333333331 0.20098039215686275 0.2435897435897436 0.2435897435897436 0.3176691729323308 0.3176691729323308 0.3666666666666667 0.40476190476190477 0.39434523809523814 0.3835227272727273 0.40792838874680304 0.40792838874680304 0.45833333333333337 0.45833333333333337 0.5042105263157894 0.5711538461538461 0.5711538461538461 0.5846560846560847 0.6071428571428571 0.6428571428571428 0.6293103448275862 0.6401799100449774 0.627536231884058 0.6048387096774194 0.6048387096774194 0.62375 0.6133333333333334 0.6217948717948718 0.6119909502262444 0.6198257080610021 0.639153439153439 0.636904761904762 0.636904761904762 0.6616961789375583 0.6421052631578947];
y1 = [ 0.0 0.0 0.12142857142857144 0.12142857142857144 0.2696969696969697 0.32386363636363635 0.35416666666666663 0.4019607843137255 0.4700854700854701 0.4700854700854701 0.49436090225563906 0.49436090225563906 0.5166666666666667 0.5 0.5520833333333334 0.5823863636363638 0.6265984654731458 0.6265984654731458 0.6527777777777779 0.6527777777777779 0.6757894736842105 0.7096153846153846 0.7096153846153846 0.67989417989418 0.7023809523809523 0.6883116883116882 0.6747648902821317 0.6836581709145427 0.6710144927536232 0.646505376344086 0.646505376344086 0.62375 0.6436363636363638 0.6520979020979021 0.6414027149321266 0.630718954248366 0.6206349206349207 0.636904761904762 0.636904761904762 0.6616961789375583 0.6421052631578947];
y2 = [ 0.0 0.0 0.17142857142857143 0.17142857142857143 0.2696969696969697 0.32386363636363635 0.3125 0.3602941176470588 0.3376068376068376 0.3376068376068376 0.3533834586466165 0.3533834586466165 0.3666666666666667 0.40476190476190477 0.39434523809523814 0.3835227272727273 0.40792838874680304 0.40792838874680304 0.4861111111111111 0.4861111111111111 0.5568421052631579 0.5711538461538461 0.5711538461538461 0.6084656084656086 0.6309523809523809 0.6428571428571428 0.6293103448275862 0.6401799100449774 0.627536231884058 0.6256720430107527 0.6256720430107527 0.62375 0.6133333333333334 0.641025641025641 0.6312217194570136 0.6198257080610021 0.639153439153439 0.636904761904762 0.636904761904762 0.6616961789375583 0.6421052631578947];
y3 = [ 0.0 0.0 0.17142857142857143 0.17142857142857143 0.22424242424242424 0.21590909090909088 0.20833333333333331 0.2598039215686274 0.37606837606837606 0.37606837606837606 0.44172932330827064 0.44172932330827064 0.4666666666666667 0.4523809523809524 0.4419642857142857 0.42897727272727276 0.4373401534526854 0.4373401534526854 0.5138888888888888 0.5138888888888888 0.5168421052631579 0.5576923076923077 0.5576923076923077 0.5952380952380952 0.6190476190476191 0.6298701298701299 0.652037617554859 0.6619190404797601 0.6492753623188406 0.6256720430107527 0.6256720430107527 0.62375 0.6133333333333334 0.6217948717948718 0.6119909502262444 0.6013071895424837 0.6206349206349207 0.6468253968253967 0.6468253968253967 0.6272134203168687 0.6421052631578947];
y4 = [ 0.0 0.0 0.17142857142857143 0.17142857142857143 0.3151515151515152 0.36931818181818177 0.35416666666666663 0.4019607843137255 0.4700854700854701 0.4700854700854701 0.5300751879699248 0.5300751879699248 0.6166666666666667 0.6000000000000001 0.6145833333333334 0.6448863636363638 0.6854219948849105 0.6854219948849105 0.6805555555555556 0.6805555555555556 0.6757894736842105 0.7096153846153846 0.7096153846153846 0.67989417989418 0.7023809523809523 0.6883116883116882 0.6747648902821317 0.6836581709145427 0.6710144927536232 0.646505376344086 0.646505376344086 0.62375 0.6436363636363638 0.6520979020979021 0.6414027149321266 0.630718954248366 0.6206349206349207 0.636904761904762 0.636904761904762 0.6616961789375583 0.6421052631578947];
y5 = [ 0.0 0.0 0.17142857142857143 0.17142857142857143 0.2696969696969697 0.32386363636363635 0.3958333333333333 0.44362745098039214 0.5470085470085471 0.5470085470085471 0.6015037593984962 0.6015037593984962 0.6833333333333333 0.7142857142857144 0.693452380952381 0.6761363636363638 0.6854219948849105 0.6854219948849105 0.6805555555555556 0.6805555555555556 0.6494736842105262 0.6461538461538461 0.6461538461538461 0.67989417989418 0.6666666666666666 0.6753246753246753 0.6630094043887147 0.6491754122938531 0.6376811594202899 0.646505376344086 0.646505376344086 0.62375 0.6436363636363638 0.6520979020979021 0.6414027149321266 0.630718954248366 0.6206349206349207 0.636904761904762 0.636904761904762 0.6616961789375583 0.6421052631578947];
y6 = [ 0.0 0.0 0.17142857142857143 0.17142857142857143 0.3151515151515152 0.36931818181818177 0.4375 0.4852941176470588 0.5085470085470085 0.5085470085470085 0.513157894736842 0.513157894736842 0.5666666666666667 0.5523809523809524 0.5357142857142857 0.5227272727272727 0.4961636828644501 0.4961636828644501 0.5416666666666667 0.5416666666666667 0.5831578947368421 0.6461538461538462 0.6461538461538462 0.67989417989418 0.6666666666666666 0.6525974025974026 0.6747648902821317 0.6619190404797601 0.6492753623188406 0.6256720430107527 0.6256720430107527 0.64375 0.6333333333333334 0.641025641025641 0.6312217194570136 0.6198257080610021 0.639153439153439 0.6468253968253967 0.6468253968253967 0.6272134203168687 0.6421052631578947];
y7 = [ 0.0 0.0 0.17142857142857143 0.17142857142857143 0.3151515151515152 0.36931818181818177 0.4375 0.4852941176470588 0.5854700854700854 0.5854700854700854 0.6372180451127819 0.6372180451127819 0.6833333333333333 0.7142857142857144 0.693452380952381 0.7215909090909092 0.7148337595907928 0.7148337595907928 0.6805555555555556 0.6805555555555556 0.6494736842105262 0.6461538461538461 0.6461538461538461 0.67989417989418 0.6666666666666666 0.6753246753246753 0.6630094043887147 0.6491754122938531 0.6376811594202899 0.646505376344086 0.646505376344086 0.62375 0.6436363636363638 0.6520979020979021 0.6414027149321266 0.630718954248366 0.6206349206349207 0.636904761904762 0.636904761904762 0.6616961789375583 0.6421052631578947];
y8 = [ 0.0 0.0 0.12142857142857144 0.12142857142857144 0.20303030303030303 0.19886363636363635 0.22916666666666666 0.22549019607843135 0.26495726495726496 0.26495726495726496 0.31954887218045114 0.31954887218045114 0.3833333333333333 0.42380952380952386 0.44047619047619047 0.4772727272727273 0.4820971867007673 0.4820971867007673 0.5277777777777777 0.5277777777777777 0.5294736842105263 0.5692307692307692 0.5692307692307692 0.5925925925925926 0.5833333333333333 0.5909090909090909 0.5822884012539186 0.5674662668665668 0.5594202898550724 0.5799731182795699 0.5799731182795699 0.59 0.5824242424242424 0.5693473193473194 0.5916289592760181 0.5980392156862745 0.6190476190476191 0.626984126984127 0.626984126984127 0.6346691519105312 0.6421052631578947];
y9 = [ 0.0 0.0 0.1185897435897436 0.1185897435897436 0.23687423687423687 0.22735042735042735 0.25476190476190474 0.24642857142857144 0.32192513368983955 0.32192513368983955 0.33333333333333337 0.33333333333333337 0.36663491307454155 0.3561085972850679 0.3468253968253968 0.3849206349206349 0.4446570972886762 0.4446570972886762 0.5230978260869565 0.5230978260869565 0.5938375350140055 0.6579797979797979 0.6579797979797979 0.6299067065657455 0.6170861937452325 0.625 0.6130952380952381 0.6204761904761905 0.6093924466338261 0.5867132867132867 0.5867132867132867 0.5842034180042595 0.6063808373590982 0.5952380952380952 0.5857683982683983 0.5754440961337512 0.5959432048681541 0.577106227106227 0.577106227106227 0.6057347670250897 0.6211993243243243];
y10 = [ 0.0 0.0 0.1185897435897436 0.1185897435897436 0.27533577533577536 0.3324786324786325 0.40714285714285714 0.45714285714285713 0.48502673796791446 0.48502673796791446 0.5416666666666667 0.5416666666666667 0.5629911883781853 0.5445701357466064 0.5603174603174603 0.5436507936507936 0.5618819776714513 0.5618819776714513 0.5353260869565217 0.5353260869565217 0.511204481792717 0.5569696969696969 0.5569696969696969 0.5555359971835945 0.5797525214001187 0.5703703703703704 0.5571428571428572 0.5923809523809525 0.5800656814449918 0.5588578088578089 0.5588578088578089 0.5794244454833515 0.6005938003220611 0.6086309523809523 0.5982142857142858 0.6057471264367816 0.5959432048681541 0.5963369963369963 0.5963369963369963 0.6218637992831542 0.6211993243243243];
y11 = [ 0.0 0.0 0.1810897435897436 0.1810897435897436 0.3308913308913309 0.38803418803418804 0.45714285714285713 0.4446428571428571 0.4128342245989305 0.4128342245989305 0.41666666666666663 0.41666666666666663 0.4729697547035009 0.46244343891402717 0.5095238095238095 0.5476190476190476 0.5639553429027113 0.5639553429027113 0.5793478260869566 0.5793478260869566 0.6176470588235294 0.6302020202020202 0.6302020202020202 0.6299067065657455 0.6170861937452325 0.625 0.6130952380952381 0.6204761904761905 0.6093924466338261 0.5867132867132867 0.5867132867132867 0.5842034180042595 0.6063808373590982 0.5952380952380952 0.5857683982683983 0.5754440961337512 0.5959432048681541 0.577106227106227 0.577106227106227 0.6057347670250897 0.6211993243243243];
y12 = [ 0.0 0.0 0.1810897435897436 0.1810897435897436 0.2039072039072039 0.2658119658119658 0.3404761904761905 0.39464285714285713 0.3673796791443851 0.3673796791443851 0.375 0.375 0.3818766372945939 0.4239819004524887 0.4103174603174603 0.44841269841269843 0.4972886762360446 0.4972886762360446 0.5418478260869566 0.5418478260869566 0.5703781512605042 0.5851515151515152 0.5851515151515152 0.5990142580531597 0.5861937452326468 0.575 0.5630952380952381 0.572857142857143 0.5617733990147784 0.5412587412587413 0.5412587412587413 0.5222066386161758 0.5443840579710144 0.5535714285714286 0.5441017316017316 0.5554440961337513 0.5759432048681542 0.577106227106227 0.577106227106227 0.6057347670250897 0.6211993243243243];
y13 = [ 0.0 0.0 0.1810897435897436 0.1810897435897436 0.27533577533577536 0.3324786324786325 0.35714285714285715 0.40714285714285714 0.4729055258467023 0.4729055258467023 0.5416666666666667 0.5416666666666667 0.5924029530840675 0.5739819004524886 0.5603174603174603 0.5436507936507936 0.5618819776714513 0.5618819776714513 0.5353260869565217 0.5353260869565217 0.511204481792717 0.5569696969696969 0.5569696969696969 0.5555359971835945 0.5797525214001187 0.5703703703703704 0.5571428571428572 0.5923809523809525 0.5800656814449918 0.5588578088578089 0.5588578088578089 0.5794244454833515 0.6005938003220611 0.6086309523809523 0.5982142857142858 0.6057471264367816 0.5959432048681541 0.5963369963369963 0.5963369963369963 0.6218637992831542 0.6211993243243243];
y14 = [ 0.0 0.0 0.1810897435897436 0.1810897435897436 0.29242979242979245 0.3495726495726496 0.37142857142857144 0.42142857142857143 0.42620320855614974 0.42620320855614974 0.4548611111111111 0.4548611111111111 0.48094784472493446 0.5151583710407239 0.5325396825396825 0.5158730158730158 0.5618819776714513 0.5618819776714513 0.5353260869565217 0.5353260869565217 0.5350140056022408 0.5119191919191919 0.5119191919191919 0.5509593381446929 0.5381388253241799 0.5541666666666666 0.5422619047619048 0.5328571428571429 0.5217733990147784 0.578088578088578 0.578088578088578 0.5576853150485689 0.5788546698872785 0.6086309523809523 0.5982142857142858 0.6057471264367816 0.5959432048681541 0.5963369963369963 0.5963369963369963 0.6218637992831542 0.6211993243243243];
y15 = [ 0.0 0.0 0.1810897435897436 0.1810897435897436 0.27533577533577536 0.3324786324786325 0.35714285714285715 0.40714285714285714 0.42620320855614974 0.42620320855614974 0.4305555555555556 0.4305555555555556 0.43450821624196234 0.4239819004524887 0.4380952380952381 0.47619047619047616 0.5236044657097289 0.5236044657097289 0.5668478260869565 0.5668478260869565 0.5647759103641457 0.5801010101010101 0.5801010101010101 0.5944375990142581 0.5816170861937451 0.5708333333333333 0.5589285714285714 0.569047619047619 0.5579638752052546 0.5604895104895105 0.5604895104895105 0.5407251571346943 0.562902576489533 0.5535714285714286 0.574404761904762 0.5857471264367817 0.5759432048681542 0.6223443223443224 0.6223443223443224 0.6218637992831542 0.6211993243243243];
y16 = [ 0.0 0.0 0.1810897435897436 0.1810897435897436 0.27533577533577536 0.3324786324786325 0.35714285714285715 0.40714285714285714 0.48502673796791446 0.48502673796791446 0.4548611111111111 0.4548611111111111 0.48094784472493446 0.5151583710407239 0.5325396825396825 0.5634920634920635 0.5355661881977671 0.5355661881977671 0.5353260869565217 0.5353260869565217 0.5350140056022408 0.5119191919191919 0.5119191919191919 0.5509593381446929 0.5381388253241799 0.5541666666666666 0.5422619047619048 0.5528571428571429 0.5417733990147784 0.578088578088578 0.578088578088578 0.5576853150485689 0.5788546698872785 0.6086309523809523 0.5982142857142858 0.6057471264367816 0.5959432048681541 0.5963369963369963 0.5963369963369963 0.6218637992831542 0.6211993243243243];
scrsz = get(0,'ScreenSize');
figure('Position',[1 scrsz(4)/3 scrsz(3)/2 scrsz(4)/3])
subplot(1,2,1)
plot(x0,y0,'o-','LineWidth',1,'Color',[0.5 0.5 0.5])
hold on
plot(x0,y1,'+g-','LineWidth',1)
plot(x0,y2,'*-','LineWidth',1,'Color',[0.5 0.5 0])
plot(x0,y3,'dc-','LineWidth',1,'Color',[0.2 0.4 0.6])
plot(x0,y4,'s-','LineWidth',1,'Color',[0.1 0.6 0.33])
plot(x0,y5,'^k-','LineWidth',1)
plot(x0,y6,'vb-','LineWidth',1)
plot(x0,y7,'>r-','LineWidth',1)
plot(x0,y8,'<-','LineWidth',1,'Color',[0.5 0.2 .8])
xlabel('CR')
ylabel('F-score')
axis([0 1 0 1])
legend('S_{SL}','S_{SL}+S_{AB}','S_{SL}+S_{CO}','S_{SL}+S_{ST}','S_{SL}+S_{AB}+S_{CO}','S_{SL}+S_{AB}+S_{ST}','S_{SL}+S_{ST}+S_{CO}','S_{SL}+S_{AB}+S_{ST}+S_{CO}','S_{SG}','Location','SouthEast')
grid on
set(gca,'XTick',0:0.1:1)
title('Without filtering criteria')
subplot(1,2,2)
plot(x0,y9,'o-','LineWidth',1,'Color',[0.5 0.5 0.5])
hold on
plot(x0,y10,'+g-','LineWidth',1)
plot(x0,y11,'*-','LineWidth',1,'Color',[0.5 0.5 0])
plot(x0,y12,'dc-','LineWidth',1,'Color',[0.2 0.4 0.6])
plot(x0,y13,'s-','LineWidth',1,'Color',[0.1 0.6 0.33])
plot(x0,y14,'^k-','LineWidth',1)
plot(x0,y15,'vb-','LineWidth',1)
plot(x0,y16,'>r-','LineWidth',1)
title('With filtering criteria')
xlabel('CR')
ylabel('F-score')
axis([0 1 0 1])
legend('S_{SL}+S_{SM}','S_{SL}+S_{AB}+S_{SM}','S_{SL}+S_{SM}+S_{CO}','S_{SL}+S_{SM}+S_{ST}','S_{SL}+S_{AB}+S_{SM}+S_{CO}','S_{SL}+S_{AB}+S_{SM}+S_{ST}','S_{SL}+S_{SM}+S_{ST}+S_{CO}','S_{SL}+S_{AB}+S_{SM}+S_{ST}+S_{CO}','Location','SouthEast')
grid on
set(gca,'XTick',0:0.1:1)
hFig = figure(1);
set(hFig, 'Position', [100 100 1500 500])
